Package org.apache.iotdb.session
Class SessionDataSet.DataIterator
- java.lang.Object
-
- org.apache.iotdb.session.SessionDataSet.DataIterator
-
- Enclosing class:
- SessionDataSet
public class SessionDataSet.DataIterator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DataIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intfindColumn(java.lang.String columnName)booleangetBoolean(int columnIndex)booleangetBoolean(java.lang.String columnName)doublegetDouble(int columnIndex)doublegetDouble(java.lang.String columnName)floatgetFloat(int columnIndex)floatgetFloat(java.lang.String columnName)intgetInt(int columnIndex)intgetInt(java.lang.String columnName)longgetLong(int columnIndex)longgetLong(java.lang.String columnName)java.lang.ObjectgetObject(int columnIndex)java.lang.ObjectgetObject(java.lang.String columnName)java.lang.StringgetString(int columnIndex)java.lang.StringgetString(java.lang.String columnName)java.sql.TimestampgetTimestamp(int columnIndex)java.sql.TimestampgetTimestamp(java.lang.String columnName)booleanisNull(int columnIndex)booleanisNull(java.lang.String columnName)booleannext()
-
-
-
Method Detail
-
next
public boolean next() throws org.apache.iotdb.rpc.StatementExecutionException, org.apache.iotdb.rpc.IoTDBConnectionException- Throws:
org.apache.iotdb.rpc.StatementExecutionExceptionorg.apache.iotdb.rpc.IoTDBConnectionException
-
isNull
public boolean isNull(int columnIndex) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
isNull
public boolean isNull(java.lang.String columnName) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getBoolean
public boolean getBoolean(int columnIndex) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getBoolean
public boolean getBoolean(java.lang.String columnName) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getDouble
public double getDouble(int columnIndex) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getDouble
public double getDouble(java.lang.String columnName) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getFloat
public float getFloat(int columnIndex) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getFloat
public float getFloat(java.lang.String columnName) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getInt
public int getInt(int columnIndex) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getInt
public int getInt(java.lang.String columnName) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getLong
public long getLong(int columnIndex) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getLong
public long getLong(java.lang.String columnName) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getObject
public java.lang.Object getObject(int columnIndex) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getObject
public java.lang.Object getObject(java.lang.String columnName) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getString
public java.lang.String getString(int columnIndex) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getString
public java.lang.String getString(java.lang.String columnName) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws org.apache.iotdb.rpc.StatementExecutionException- Throws:
org.apache.iotdb.rpc.StatementExecutionException
-
findColumn
public int findColumn(java.lang.String columnName)
-
-