In java client, what function is create timeseries after set schema template?
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
For example, I create a schema template:
`
Template template = new Template("treeTemplate_1", true);
TemplateNode iNodeGPSX = new MeasurementNode("x", TSDataType.FLOAT, TSEncoding.RLE, CompressionType.SNAPPY);
template.addToTemplate(iNodeGPSX);
session.createSchemaTemplate(template);
`
then set it in a prefix:
`
session.setSchemaTemplate("treeTemplate_java", "root.java.unaligned");
`
the next step in shell, the next code is [(reference)](https://iotdb.apache.org/UserGuide/Master/Operate-Metadata/Template.html#create-schema-template)
`
create timeseries of schema template on root.java.unaligned
`
but in java client, I don't know what function like this?
Contributor guide
Research direction
Start with the Java client API used by the Template example and compare it with the shell command in the linked Template documentation. Identify the Java function that creates timeseries from the schema template on root.java.unaligned, then document that function and its usage alongside the existing example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, databases
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100