THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
// 插入一个 Tablet void insertTablet(Tablet tablet) // 插入多个 Tablet void insertTablets(Map<String, Tablet> tablet) // 对齐的时间序列通过 measurementSchema 构建 Tablet List<IMeasurementSchema> schemaList = new ArrayList<>(); schemaList.add(new measurementSchema(new String[] {"s1", "s2"}, new TSDataType[] {TSDataType.INT64, TSDataType.INT32})); Tablet tablet = new Tablet("root.sg1.d1.v1", schemaList); |
...