Class 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)  
      ClusterSchemaTree fetchSchema​(PathPatternTree patternTree)  
      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)  
      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)  
      org.apache.iotdb.tsfile.utils.Pair<Template,​java.util.List<org.apache.iotdb.commons.path.PartialPath>> getAllPathsSetTemplate​(java.lang.String templateName)  
      void invalidAllCache()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FakeSchemaFetcherImpl

        public FakeSchemaFetcherImpl()
    • Method Detail

      • 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:
        fetchSchemaWithAutoCreate in interface ISchemaFetcher
      • 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:
        fetchSchemaListWithAutoCreate in interface ISchemaFetcher
      • 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:
        checkTemplateSetInfo in interface ISchemaFetcher
      • checkAllRelatedTemplate

        public java.util.Map<java.lang.Integer,​Template> checkAllRelatedTemplate​(org.apache.iotdb.commons.path.PartialPath pathPattern)
        Specified by:
        checkAllRelatedTemplate in interface ISchemaFetcher
      • 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:
        getAllPathsSetTemplate in interface ISchemaFetcher