Package com.taosdata.jdbc
Class TSDBResultSetRowData
- java.lang.Object
-
- com.taosdata.jdbc.TSDBResultSetRowData
-
public class TSDBResultSetRowData extends Object
-
-
Constructor Summary
Constructors Constructor Description TSDBResultSetRowData()TSDBResultSetRowData(int colSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Objectget(int col)booleangetBoolean(int col, int srcType)intgetColSize()ArrayList<Object>getData()doublegetDouble(int col, int srcType)floatgetFloat(int col, int srcType)intgetInt(int col, int srcType)longgetLong(int col, int srcType)StringgetString(int col, int srcType)The original type may not be a string type, but will be converted to by calling this methodTimestampgetTimestamp(int col)voidsetBoolean(int col, boolean value)voidsetByte(int col, byte value)voidsetByteArray(int col, byte[] value)voidsetColSize(int colSize)voidsetData(ArrayList<Object> data)voidsetDouble(int col, double value)voidsetFloat(int col, float value)voidsetInt(int col, int value)voidsetLong(int col, long value)voidsetShort(int col, short value)voidsetString(int col, String value)voidsetTimestamp(int col, long ts)booleanwasNull(int col)
-
-
-
Method Detail
-
clear
public void clear()
-
wasNull
public boolean wasNull(int col)
-
setBoolean
public void setBoolean(int col, boolean value)
-
getBoolean
public boolean getBoolean(int col, int srcType) throws SQLException- Throws:
SQLException
-
setByte
public void setByte(int col, byte value)
-
setShort
public void setShort(int col, short value)
-
setInt
public void setInt(int col, int value)
-
getInt
public int getInt(int col, int srcType) throws SQLException- Throws:
SQLException
-
setLong
public void setLong(int col, long value)
-
getLong
public long getLong(int col, int srcType) throws SQLException- Throws:
SQLException
-
setFloat
public void setFloat(int col, float value)
-
getFloat
public float getFloat(int col, int srcType) throws SQLException- Throws:
SQLException
-
setDouble
public void setDouble(int col, double value)
-
getDouble
public double getDouble(int col, int srcType) throws SQLException- Throws:
SQLException
-
setString
public void setString(int col, String value)
-
setByteArray
public void setByteArray(int col, byte[] value)
-
getString
public String getString(int col, int srcType) throws SQLException
The original type may not be a string type, but will be converted to by calling this method- Parameters:
col- column index- Returns:
- Throws:
SQLException
-
setTimestamp
public void setTimestamp(int col, long ts)
-
getTimestamp
public Timestamp getTimestamp(int col)
-
get
public Object get(int col)
-
getColSize
public int getColSize()
-
setColSize
public void setColSize(int colSize)
-
-