类 Utils
- java.lang.Object
-
- org.apache.iotdb.jdbc.Utils
-
public class Utils extends java.lang.ObjectUtils 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 IoTDBConnectionParamsparseUrl(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 voidverifySuccess(org.apache.iotdb.service.rpc.thrift.TS_Status status)verify success.
-
-
-
方法详细资料
-
parseUrl
public static IoTDBConnectionParams parseUrl(java.lang.String url, java.util.Properties info) throws IoTDBURLException
Parse JDBC connection URL The only supported format of the URL is: jdbc:iotdb://localhost:6667/.
-
verifySuccess
public static void verifySuccess(org.apache.iotdb.service.rpc.thrift.TS_Status status) throws IoTDBSQLExceptionverify 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
-
-