类 TSDBResultSetBlockData
- java.lang.Object
-
- com.taosdata.jdbc.TSDBResultSetBlockData
-
public class TSDBResultSetBlockData extends Object
-
-
字段概要
字段 修饰符和类型 字段 说明 protected booleanwasNull
-
构造器概要
构造器 构造器 说明 TSDBResultSetBlockData()TSDBResultSetBlockData(List<ColumnMetaData> colMeta, int timestampPrecision)TSDBResultSetBlockData(List<ColumnMetaData> colMeta, int numOfCols, int timestampPrecision)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclear()booleanforward()Objectget(int col)booleangetBoolean(int col)byte[]getBytes(int col)doublegetDouble(int col)intgetInt(int col)longgetLong(int col)intgetNumOfCols()intgetNumOfRows()StringgetString(int col)The original type may not be a string type, but will be converted to by calling this methodTimestampgetTimestamp(int col)booleanhasMore()voidreset()voidsetByteArray(byte[] value)voidsetNumOfCols(int numOfCols)voidsetNumOfRows(int numOfRows)
-
-
-
构造器详细资料
-
TSDBResultSetBlockData
public TSDBResultSetBlockData(List<ColumnMetaData> colMeta, int numOfCols, int timestampPrecision)
-
TSDBResultSetBlockData
public TSDBResultSetBlockData(List<ColumnMetaData> colMeta, int timestampPrecision)
-
TSDBResultSetBlockData
public TSDBResultSetBlockData()
-
-
方法详细资料
-
clear
public void clear()
-
getNumOfRows
public int getNumOfRows()
-
setNumOfRows
public void setNumOfRows(int numOfRows)
-
getNumOfCols
public int getNumOfCols()
-
setNumOfCols
public void setNumOfCols(int numOfCols)
-
hasMore
public boolean hasMore()
-
forward
public boolean forward()
-
reset
public void reset()
-
setByteArray
public void setByteArray(byte[] value)
-
getString
public String getString(int col) throws SQLException
The original type may not be a string type, but will be converted to by calling this method- 抛出:
SQLException
-
getBytes
public byte[] getBytes(int col) throws SQLException- 抛出:
SQLException
-
getInt
public int getInt(int col) throws SQLException- 抛出:
SQLException
-
getBoolean
public boolean getBoolean(int col) throws SQLException- 抛出:
SQLException
-
getLong
public long getLong(int col) throws SQLException- 抛出:
SQLException
-
getTimestamp
public Timestamp getTimestamp(int col) throws SQLException
- 抛出:
SQLException
-
getDouble
public double getDouble(int col) throws SQLException- 抛出:
SQLException
-
get
public Object get(int col)
-
-