Class LocalSchemaPartitionTable
- java.lang.Object
-
- org.apache.iotdb.db.localconfignode.LocalSchemaPartitionTable
-
public class LocalSchemaPartitionTable extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()java.util.List<org.apache.iotdb.commons.consensus.SchemaRegionId>deleteStorageGroup(org.apache.iotdb.commons.path.PartialPath storageGroup)static LocalSchemaPartitionTablegetInstance()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.SchemaRegionIdgetSchemaRegionId(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)voidinit(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)
-
-
-
Method Detail
-
getInstance
public static LocalSchemaPartitionTable getInstance()
-
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)
-
-