类 BlockResultSet
- java.lang.Object
-
- com.taosdata.jdbc.WrapperImpl
-
- com.taosdata.jdbc.AbstractResultSet
-
- com.taosdata.jdbc.ws.AbstractWSResultSet
-
- com.taosdata.jdbc.ws.BlockResultSet
-
- 所有已实现的接口:
AutoCloseable,ResultSet,Wrapper
public class BlockResultSet extends AbstractWSResultSet
-
-
字段概要
-
从类继承的字段 com.taosdata.jdbc.ws.AbstractWSResultSet
columnNames, factory, fieldLength, fields, isClosed, metaData, numOfRows, queryId, result, rowIndex, statement, transport
-
从类继承的字段 com.taosdata.jdbc.AbstractResultSet
timestampPrecision, wasNull
-
-
构造器概要
构造器 构造器 说明 BlockResultSet(Statement statement, Transport transport, RequestFactory factory, QueryResp response, String database)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanabsolute(int row)voidafterLast()voidbeforeFirst()List<List<Object>>fetchJsonData()intfindColumn(String columnLabel)booleanfirst()BigDecimalgetBigDecimal(int columnIndex)booleangetBoolean(int columnIndex)bytegetByte(int columnIndex)byte[]getBytes(int columnIndex)DategetDate(int columnIndex)doublegetDouble(int columnIndex)floatgetFloat(int columnIndex)intgetInt(int columnIndex)longgetLong(int columnIndex)StringgetNString(int columnIndex)ObjectgetObject(int columnIndex)intgetRow()shortgetShort(int columnIndex)StatementgetStatement()StringgetString(int columnIndex)TimegetTime(int columnIndex)TimestampgetTimestamp(int columnIndex)TimestampgetTimestamp(int columnIndex, Calendar cal)booleanisAfterLast()booleanisBeforeFirst()booleanisFirst()booleanisLast()booleanlast()ObjectparseValue(int columnIndex)booleanprevious()booleanrelative(int rows)-
从类继承的方法 com.taosdata.jdbc.ws.AbstractWSResultSet
close, getMetaData, isClosed, next, reset
-
从类继承的方法 com.taosdata.jdbc.AbstractResultSet
cancelRowUpdates, checkAvailability, clearWarnings, deleteRow, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDouble, getFetchDirection, getFetchSize, getFloat, getHoldability, getInt, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getShort, getSQLXML, getSQLXML, getString, getTime, getTime, getTime, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, moveToCurrentRow, moveToInsertRow, refreshRow, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, setTimestampPrecision, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
-
从类继承的方法 com.taosdata.jdbc.WrapperImpl
isWrapperFor, unwrap
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.sql.ResultSet
updateObject, updateObject, updateObject, updateObject
-
从接口继承的方法 java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
构造器详细资料
-
BlockResultSet
public BlockResultSet(Statement statement, Transport transport, RequestFactory factory, QueryResp response, String database) throws SQLException
- 抛出:
SQLException
-
-
方法详细资料
-
fetchJsonData
public List<List<Object>> fetchJsonData() throws ExecutionException, InterruptedException
-
parseValue
public Object parseValue(int columnIndex)
-
getString
public String getString(int columnIndex) throws SQLException
- 指定者:
getString在接口中ResultSet- 指定者:
getString在类中AbstractResultSet- 抛出:
SQLException
-
getBoolean
public boolean getBoolean(int columnIndex) throws SQLException- 指定者:
getBoolean在接口中ResultSet- 指定者:
getBoolean在类中AbstractResultSet- 抛出:
SQLException
-
getByte
public byte getByte(int columnIndex) throws SQLException- 指定者:
getByte在接口中ResultSet- 指定者:
getByte在类中AbstractResultSet- 抛出:
SQLException
-
getShort
public short getShort(int columnIndex) throws SQLException- 指定者:
getShort在接口中ResultSet- 指定者:
getShort在类中AbstractResultSet- 抛出:
SQLException
-
getInt
public int getInt(int columnIndex) throws SQLException- 指定者:
getInt在接口中ResultSet- 指定者:
getInt在类中AbstractResultSet- 抛出:
SQLException
-
getLong
public long getLong(int columnIndex) throws SQLException- 指定者:
getLong在接口中ResultSet- 指定者:
getLong在类中AbstractResultSet- 抛出:
SQLException
-
getFloat
public float getFloat(int columnIndex) throws SQLException- 指定者:
getFloat在接口中ResultSet- 指定者:
getFloat在类中AbstractResultSet- 抛出:
SQLException
-
getDouble
public double getDouble(int columnIndex) throws SQLException- 指定者:
getDouble在接口中ResultSet- 指定者:
getDouble在类中AbstractResultSet- 抛出:
SQLException
-
getBytes
public byte[] getBytes(int columnIndex) throws SQLException- 指定者:
getBytes在接口中ResultSet- 指定者:
getBytes在类中AbstractResultSet- 抛出:
SQLException
-
getDate
public Date getDate(int columnIndex) throws SQLException
- 指定者:
getDate在接口中ResultSet- 覆盖:
getDate在类中AbstractResultSet- 抛出:
SQLException
-
getTime
public Time getTime(int columnIndex) throws SQLException
- 指定者:
getTime在接口中ResultSet- 覆盖:
getTime在类中AbstractResultSet- 抛出:
SQLException
-
getTimestamp
public Timestamp getTimestamp(int columnIndex) throws SQLException
- 指定者:
getTimestamp在接口中ResultSet- 指定者:
getTimestamp在类中AbstractResultSet- 抛出:
SQLException
-
getObject
public Object getObject(int columnIndex) throws SQLException
- 指定者:
getObject在接口中ResultSet- 指定者:
getObject在类中AbstractResultSet- 抛出:
SQLException
-
findColumn
public int findColumn(String columnLabel) throws SQLException
- 指定者:
findColumn在接口中ResultSet- 指定者:
findColumn在类中AbstractResultSet- 抛出:
SQLException
-
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex) throws SQLException
- 指定者:
getBigDecimal在接口中ResultSet- 指定者:
getBigDecimal在类中AbstractResultSet- 抛出:
SQLException
-
isBeforeFirst
public boolean isBeforeFirst() throws SQLException- 指定者:
isBeforeFirst在接口中ResultSet- 指定者:
isBeforeFirst在类中AbstractResultSet- 抛出:
SQLException
-
isAfterLast
public boolean isAfterLast() throws SQLException- 指定者:
isAfterLast在接口中ResultSet- 指定者:
isAfterLast在类中AbstractResultSet- 抛出:
SQLException
-
isFirst
public boolean isFirst() throws SQLException- 指定者:
isFirst在接口中ResultSet- 指定者:
isFirst在类中AbstractResultSet- 抛出:
SQLException
-
isLast
public boolean isLast() throws SQLException- 指定者:
isLast在接口中ResultSet- 指定者:
isLast在类中AbstractResultSet- 抛出:
SQLException
-
beforeFirst
public void beforeFirst() throws SQLException- 指定者:
beforeFirst在接口中ResultSet- 指定者:
beforeFirst在类中AbstractResultSet- 抛出:
SQLException
-
afterLast
public void afterLast() throws SQLException- 指定者:
afterLast在接口中ResultSet- 指定者:
afterLast在类中AbstractResultSet- 抛出:
SQLException
-
first
public boolean first() throws SQLException- 指定者:
first在接口中ResultSet- 指定者:
first在类中AbstractResultSet- 抛出:
SQLException
-
last
public boolean last() throws SQLException- 指定者:
last在接口中ResultSet- 指定者:
last在类中AbstractResultSet- 抛出:
SQLException
-
getRow
public int getRow() throws SQLException- 指定者:
getRow在接口中ResultSet- 指定者:
getRow在类中AbstractResultSet- 抛出:
SQLException
-
absolute
public boolean absolute(int row) throws SQLException- 指定者:
absolute在接口中ResultSet- 指定者:
absolute在类中AbstractResultSet- 抛出:
SQLException
-
relative
public boolean relative(int rows) throws SQLException- 指定者:
relative在接口中ResultSet- 指定者:
relative在类中AbstractResultSet- 抛出:
SQLException
-
previous
public boolean previous() throws SQLException- 指定者:
previous在接口中ResultSet- 指定者:
previous在类中AbstractResultSet- 抛出:
SQLException
-
getNString
public String getNString(int columnIndex) throws SQLException
- 指定者:
getNString在接口中ResultSet- 指定者:
getNString在类中AbstractResultSet- 抛出:
SQLException
-
getStatement
public Statement getStatement() throws SQLException
- 指定者:
getStatement在接口中ResultSet- 指定者:
getStatement在类中AbstractResultSet- 抛出:
SQLException
-
getTimestamp
public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException
- 指定者:
getTimestamp在接口中ResultSet- 指定者:
getTimestamp在类中AbstractResultSet- 抛出:
SQLException
-
-