Class FakeSchemaFetcherImpl
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.analyze.FakeSchemaFetcherImpl
-
- All Implemented Interfaces:
ISchemaFetcher
public class FakeSchemaFetcherImpl extends java.lang.Object implements ISchemaFetcher
-
-
Constructor Summary
Constructors Constructor Description FakeSchemaFetcherImpl()
-
Method Summary
All Methods Instance Methods Concrete 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)ClusterSchemaTreefetchSchema(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
public ClusterSchemaTree fetchSchema(PathPatternTree patternTree)
- Specified by:
fetchSchemain interfaceISchemaFetcher
-
fetchSchemaWithAutoCreate
public 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)
- Specified by:
fetchSchemaWithAutoCreatein interfaceISchemaFetcher
-
fetchSchemaListWithAutoCreate
public 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)
- Specified by:
fetchSchemaListWithAutoCreatein interfaceISchemaFetcher
-
checkTemplateSetInfo
public org.apache.iotdb.tsfile.utils.Pair<Template,org.apache.iotdb.commons.path.PartialPath> checkTemplateSetInfo(org.apache.iotdb.commons.path.PartialPath path)
- Specified by:
checkTemplateSetInfoin interfaceISchemaFetcher
-
checkAllRelatedTemplate
public java.util.Map<java.lang.Integer,Template> checkAllRelatedTemplate(org.apache.iotdb.commons.path.PartialPath pathPattern)
- Specified by:
checkAllRelatedTemplatein interfaceISchemaFetcher
-
getAllPathsSetTemplate
public org.apache.iotdb.tsfile.utils.Pair<Template,java.util.List<org.apache.iotdb.commons.path.PartialPath>> getAllPathsSetTemplate(java.lang.String templateName)
- Specified by:
getAllPathsSetTemplatein interfaceISchemaFetcher
-
invalidAllCache
public void invalidAllCache()
- Specified by:
invalidAllCachein interfaceISchemaFetcher
-
-