Package org.apache.iotdb
Class DataMigrationExample
java.lang.Object
org.apache.iotdb.DataMigrationExample
Migrate all data belongs to a path from one IoTDB to another IoTDB Each thread migrate one
series, the concurrent thread can be configured by CONCURRENCY
This example is migrating all timeseries from a local IoTDB with 6667 port to a local IoTDB with 6668 port
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DataMigrationExample
public DataMigrationExample()
-
-
Method Details
-
main
public static void main(String[] args) throws org.apache.iotdb.rpc.IoTDBConnectionException, org.apache.iotdb.rpc.StatementExecutionException, ExecutionException, InterruptedException - Throws:
org.apache.iotdb.rpc.IoTDBConnectionExceptionorg.apache.iotdb.rpc.StatementExecutionExceptionExecutionExceptionInterruptedException
-