类 Utils


  • public class Utils
    extends java.lang.Object
    Utils to convert between thrift format and TsFile format.
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static java.util.List<org.apache.iotdb.tsfile.read.common.RowRecord> convertRowRecords​(org.apache.iotdb.service.rpc.thrift.TSQueryDataSet tsQueryDataSet)
      convert row records.
      static IoTDBConnectionParams parseUrl​(java.lang.String url, java.util.Properties info)
      Parse JDBC connection URL The only supported format of the URL is: jdbc:iotdb://localhost:6667/.
      static void verifySuccess​(org.apache.iotdb.service.rpc.thrift.TS_Status status)
      verify success.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • verifySuccess

        public static void verifySuccess​(org.apache.iotdb.service.rpc.thrift.TS_Status status)
                                  throws IoTDBSQLException
        verify success.
        参数:
        status - -status
        抛出:
        IoTDBSQLException
      • convertRowRecords

        public static java.util.List<org.apache.iotdb.tsfile.read.common.RowRecord> convertRowRecords​(org.apache.iotdb.service.rpc.thrift.TSQueryDataSet tsQueryDataSet)
        convert row records.
        参数:
        tsQueryDataSet - -query data set
        返回:
        -list of row record