com.taosdata.jdbc

## 类 TSDBResultSetRowData

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

    public class TSDBResultSetRowData
    extends Object

### 构造器概要

构造器
构造器和说明
`TSDBResultSetRowData(int colSize)`

### 方法概要

所有方法 实例方法 具体方法
`void` `clear()`
`boolean` `getBoolean(int col, int nativeType)`
`double` `getDouble(int col, int nativeType)`
`float` `getFloat(int col, int nativeType)`
`int` `getInt(int col, int nativeType)`
`long` `getLong(int col, int nativeType)`
`Object` `getObject(int col)`
`String` `getString(int col, int nativeType)`
`Timestamp` `getTimestamp(int col, int nativeType)`
`void` `setBoolean(int col, boolean value)` !!!
`void` `setBooleanValue(int col, boolean value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`void` `setByte(int col, byte value)` !!!
`void` `setByteArray(int col, byte[] value)` !!!
`void` `setByteArrayValue(int colIndex, byte[] value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`void` `setByteValue(int colIndex, byte value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`void` `setDouble(int col, double value)` !!!
`void` `setDoubleValue(int colIndex, double value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`void` `setFloat(int col, float value)` !!!
`void` `setFloatValue(int colIndex, float value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`void` `setInt(int col, int value)` !!!
`void` `setIntValue(int colIndex, int value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`void` `setLong(int col, long value)` !!!
`void` `setLongValue(int colIndex, long value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`void` `setShort(int col, short value)` !!!
`void` `setShortValue(int colIndex, short value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`void` `setString(int col, String value)` !!!
`void` `setStringValue(int colIndex, String value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`void` `setTimestamp(int col, long ts)` this implementation is used for TDengine old version
`void` `setTimestamp(int col, long ts, int precision)` !!!
`void` `setTimestampValue(int colIndex, long value)` $$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api
`boolean` `wasNull(int col)`

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

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

### 构造器详细资料

#### TSDBResultSetRowData

    public TSDBResultSetRowData(int colSize)

### 方法详细资料

#### clear

    public void clear()

#### wasNull

    public boolean wasNull(int col)

#### setBooleanValue

    public void setBooleanValue(int col,
                                boolean value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setBoolean

    public void setBoolean(int col,
                           boolean value)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

#### getBoolean

    public boolean getBoolean(int col,
                              int nativeType)
                       throws SQLException

抛出:
  `SQLException`

#### setByteValue

    public void setByteValue(int colIndex,
                             byte value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setByte

    public void setByte(int col,
                        byte value)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

#### setShortValue

    public void setShortValue(int colIndex,
                              short value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setShort

    public void setShort(int col,
                         short value)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

#### setIntValue

    public void setIntValue(int colIndex,
                            int value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setInt

    public void setInt(int col,
                       int value)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

#### getInt

    public int getInt(int col,
                      int nativeType)
               throws SQLException

抛出:
  `SQLException`

#### setLongValue

    public void setLongValue(int colIndex,
                             long value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setLong

    public void setLong(int col,
                        long value)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

#### getLong

    public long getLong(int col,
                        int nativeType)
                 throws SQLException

抛出:
  `SQLException`

#### setFloatValue

    public void setFloatValue(int colIndex,
                              float value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setFloat

    public void setFloat(int col,
                         float value)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

#### getFloat

    public float getFloat(int col,
                          int nativeType)

#### setDoubleValue

    public void setDoubleValue(int colIndex,
                               double value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setDouble

    public void setDouble(int col,
                          double value)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

#### getDouble

    public double getDouble(int col,
                            int nativeType)

#### setStringValue

    public void setStringValue(int colIndex,
                               String value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setString

    public void setString(int col,
                          String value)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

#### setByteArrayValue

    public void setByteArrayValue(int colIndex,
                                  byte[] value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setByteArray

    public void setByteArray(int col,
                             byte[] value)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

#### getString

    public String getString(int col,
                            int nativeType)

#### setTimestampValue

    public void setTimestampValue(int colIndex,
                                  long value)

$$$ this method is invoked by databaseMetaDataResultSet and so on which use a index start from 1 in JDBC api

#### setTimestamp

    public void setTimestamp(int col,
                             long ts,
                             int precision)

!!! this method is invoked by JNI method and the index start from 0 in C implementations

参数:
  `precision` - 0 : ms, 1 : us, 2 : ns

#### setTimestamp

    public void setTimestamp(int col,
                             long ts)

this implementation is used for TDengine old version

#### getTimestamp

    public Timestamp getTimestamp(int col,
                                  int nativeType)

#### getObject

    public Object getObject(int col)