public static void main(String[] args)
      throws IoTDBConnectionException, StatementExecutionException {
    session = new Session("127.0.0.1", 6667, "root", "root");
    session.open(false);

    // set session fetchSize
    session.setFetchSize(10000);

    insertRecord(ROOT_SG1_D2, 0, 100);
    insertTabletWithAlignedTimeseriesMethod(0, 100);
    insertRecord(ROOT_SG1_D1, 0, 100);
    session.executeNonQueryStatement("flush");
    selectTest();

    session.close();
  }
This example shows how to insert and select Hybrid Timeseries by session Hybrid Timeseries
includes Aligned Timeseries and Normal Timeseries
example/session/src/main/java/org/apache/iotdb/HybridTimeseriesSessionExample.java