Interface ISchemaFetcher
-
- All Known Implementing Classes:
ClusterSchemaFetcher,FakeSchemaFetcherImpl,StandaloneSchemaFetcher
public interface ISchemaFetcherThis interface is used to fetch the metadata information required in execution plan generating.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.Integer,Template>checkAllRelatedTemplate(org.apache.iotdb.commons.path.PartialPath pathPattern)org.apache.iotdb.tsfile.utils.Pair<Template,org.apache.iotdb.commons.path.PartialPath>checkTemplateSetInfo(org.apache.iotdb.commons.path.PartialPath path)ISchemaTreefetchSchema(PathPatternTree patternTree)ISchemaTreefetchSchemaListWithAutoCreate(java.util.List<org.apache.iotdb.commons.path.PartialPath> devicePath, java.util.List<java.lang.String[]> measurements, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[]> tsDataTypes, java.util.List<java.lang.Boolean> aligned)ISchemaTreefetchSchemaWithAutoCreate(org.apache.iotdb.commons.path.PartialPath devicePath, java.lang.String[] measurements, java.util.function.Function<java.lang.Integer,org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> getDataType, boolean aligned)org.apache.iotdb.tsfile.utils.Pair<Template,java.util.List<org.apache.iotdb.commons.path.PartialPath>>getAllPathsSetTemplate(java.lang.String templateName)voidinvalidAllCache()
-
-
-
Method Detail
-
fetchSchema
ISchemaTree fetchSchema(PathPatternTree patternTree)
-
fetchSchemaWithAutoCreate
ISchemaTree fetchSchemaWithAutoCreate(org.apache.iotdb.commons.path.PartialPath devicePath, java.lang.String[] measurements, java.util.function.Function<java.lang.Integer,org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> getDataType, boolean aligned)
-
fetchSchemaListWithAutoCreate
ISchemaTree fetchSchemaListWithAutoCreate(java.util.List<org.apache.iotdb.commons.path.PartialPath> devicePath, java.util.List<java.lang.String[]> measurements, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[]> tsDataTypes, java.util.List<java.lang.Boolean> aligned)
-
checkTemplateSetInfo
org.apache.iotdb.tsfile.utils.Pair<Template,org.apache.iotdb.commons.path.PartialPath> checkTemplateSetInfo(org.apache.iotdb.commons.path.PartialPath path)
-
checkAllRelatedTemplate
java.util.Map<java.lang.Integer,Template> checkAllRelatedTemplate(org.apache.iotdb.commons.path.PartialPath pathPattern)
-
getAllPathsSetTemplate
org.apache.iotdb.tsfile.utils.Pair<Template,java.util.List<org.apache.iotdb.commons.path.PartialPath>> getAllPathsSetTemplate(java.lang.String templateName)
-
invalidAllCache
void invalidAllCache()
-
-