Class LocalSchemaPartitionTable


  • public class LocalSchemaPartitionTable
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId> deleteStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)  
      static LocalSchemaPartitionTable getInstance()  
      java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId> getInvolvedSchemaRegionIds​(org.apache.iotdb.commons.path.PartialPath storageGroup, org.apache.iotdb.commons.path.PartialPath pathPattern, boolean isPrefixMatch)  
      org.apache.iotdb.commons.consensus.SchemaRegionId getSchemaRegionId​(org.apache.iotdb.commons.path.PartialPath storageGroup, org.apache.iotdb.commons.path.PartialPath path)  
      java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId> getSchemaRegionIdsByStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)  
      void init​(java.util.Map<org.apache.iotdb.commons.path.PartialPath,​java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId>> recoveredLocalSchemaRegionInfo)  
      java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId> setStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)  
      • Methods inherited from class java.lang.Object

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

      • init

        public void init​(java.util.Map<org.apache.iotdb.commons.path.PartialPath,​java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId>> recoveredLocalSchemaRegionInfo)
                  throws org.apache.iotdb.commons.exception.MetadataException
        Throws:
        org.apache.iotdb.commons.exception.MetadataException
      • clear

        public void clear()
      • getSchemaRegionId

        public org.apache.iotdb.commons.consensus.SchemaRegionId getSchemaRegionId​(org.apache.iotdb.commons.path.PartialPath storageGroup,
                                                                                   org.apache.iotdb.commons.path.PartialPath path)
      • getInvolvedSchemaRegionIds

        public java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId> getInvolvedSchemaRegionIds​(org.apache.iotdb.commons.path.PartialPath storageGroup,
                                                                                                            org.apache.iotdb.commons.path.PartialPath pathPattern,
                                                                                                            boolean isPrefixMatch)
      • getSchemaRegionIdsByStorageGroup

        public java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId> getSchemaRegionIdsByStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)
      • setStorageGroup

        public java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId> setStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)
      • deleteStorageGroup

        public java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId> deleteStorageGroup​(org.apache.iotdb.commons.path.PartialPath storageGroup)