com.taosdata.jdbc

## 类 TSDBResultSetBlockData

- java.lang.Object
- - com.taosdata.jdbc.TSDBResultSetBlockData

    public class TSDBResultSetBlockData
    extends Object

### 字段概要

字段
`boolean` `wasNull`

### 构造器概要

构造器
构造器和说明
`TSDBResultSetBlockData()`
`TSDBResultSetBlockData(List<ColumnMetaData> colMeta, int timestampPrecision)`
`TSDBResultSetBlockData(List<ColumnMetaData> colMeta, int numOfCols, int timestampPrecision)`

### 方法概要

所有方法 实例方法 具体方法
`void` `clear()`
`boolean` `forward()`
`Object` `get(int col)`
`boolean` `getBoolean(int col)`
`byte[]` `getBytes(int col)`
`double` `getDouble(int col)`
`int` `getInt(int col)`
`long` `getLong(int col)`
`int` `getNumOfCols()`
`int` `getNumOfRows()`
`String` `getString(int col)` The original type may not be a string type, but will be converted to by calling this method
`Timestamp` `getTimestamp(int col)`
`boolean` `hasMore()`
`void` `reset()`
`void` `setByteArray(byte[] value)`
`void` `setNumOfCols(int numOfCols)`
`void` `setNumOfRows(int numOfRows)`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 字段详细资料

#### wasNull

    public boolean wasNull

### 构造器详细资料

#### 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)