Class IoTDBJDBCResultSet

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.sql.ResultSet, java.sql.Wrapper

    public class IoTDBJDBCResultSet
    extends AbstractIoTDBJDBCResultSet
    • Constructor Detail

      • IoTDBJDBCResultSet

        public IoTDBJDBCResultSet​(java.sql.Statement statement,
                                  java.util.List<java.lang.String> columnNameList,
                                  java.util.List<java.lang.String> columnTypeList,
                                  java.util.Map<java.lang.String,​java.lang.Integer> columnNameIndex,
                                  boolean ignoreTimeStamp,
                                  org.apache.iotdb.service.rpc.thrift.TSIService.Iface client,
                                  java.lang.String sql,
                                  long queryId,
                                  long sessionId,
                                  org.apache.iotdb.service.rpc.thrift.TSQueryDataSet dataset,
                                  long timeout)
                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
    • Method Detail

      • getLong

        public long getLong​(java.lang.String columnName)
                     throws java.sql.SQLException
        Specified by:
        getLong in interface java.sql.ResultSet
        Specified by:
        getLong in class AbstractIoTDBJDBCResultSet
        Throws:
        java.sql.SQLException
      • fetchResults

        protected boolean fetchResults()
                                throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • hasCachedResults

        protected boolean hasCachedResults()
      • constructOneRow

        protected void constructOneRow()
      • checkRecord

        protected void checkRecord()
                            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getValueByName

        protected java.lang.String getValueByName​(java.lang.String columnName)
                                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getObjectByName

        protected java.lang.Object getObjectByName​(java.lang.String columnName)
                                            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • isIgnoreTimeStamp

        public boolean isIgnoreTimeStamp()