Class StandalonePartitionFetcher
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.analyze.StandalonePartitionFetcher
-
- All Implemented Interfaces:
IPartitionFetcher
public class StandalonePartitionFetcher extends java.lang.Object implements IPartitionFetcher
-
-
Constructor Summary
Constructors Constructor Description StandalonePartitionFetcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.iotdb.commons.partition.DataPartitiongetDataPartition(java.util.List<org.apache.iotdb.commons.partition.DataPartitionQueryParam> dataPartitionQueryParams)org.apache.iotdb.commons.partition.DataPartitiongetDataPartition(java.util.Map<java.lang.String,java.util.List<org.apache.iotdb.commons.partition.DataPartitionQueryParam>> sgNameToQueryParamsMap)static StandalonePartitionFetchergetInstance()org.apache.iotdb.commons.partition.DataPartitiongetOrCreateDataPartition(java.util.List<org.apache.iotdb.commons.partition.DataPartitionQueryParam> dataPartitionQueryParams)org.apache.iotdb.commons.partition.DataPartitiongetOrCreateDataPartition(java.util.Map<java.lang.String,java.util.List<org.apache.iotdb.commons.partition.DataPartitionQueryParam>> sgNameToQueryParamsMap)org.apache.iotdb.commons.partition.SchemaPartitiongetOrCreateSchemaPartition(PathPatternTree patternTree)org.apache.iotdb.commons.partition.SchemaNodeManagementPartitiongetSchemaNodeManagementPartitionWithLevel(PathPatternTree patternTree, java.lang.Integer level)org.apache.iotdb.commons.partition.SchemaPartitiongetSchemaPartition(PathPatternTree patternTree)voidinvalidAllCache()booleanupdateRegionCache(org.apache.iotdb.mpp.rpc.thrift.TRegionRouteReq req)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.db.mpp.plan.analyze.IPartitionFetcher
getSchemaNodeManagementPartition
-
-
-
-
Method Detail
-
getInstance
public static StandalonePartitionFetcher getInstance()
-
getSchemaPartition
public org.apache.iotdb.commons.partition.SchemaPartition getSchemaPartition(PathPatternTree patternTree)
- Specified by:
getSchemaPartitionin interfaceIPartitionFetcher
-
getOrCreateSchemaPartition
public org.apache.iotdb.commons.partition.SchemaPartition getOrCreateSchemaPartition(PathPatternTree patternTree)
- Specified by:
getOrCreateSchemaPartitionin interfaceIPartitionFetcher
-
getSchemaNodeManagementPartitionWithLevel
public org.apache.iotdb.commons.partition.SchemaNodeManagementPartition getSchemaNodeManagementPartitionWithLevel(PathPatternTree patternTree, java.lang.Integer level)
- Specified by:
getSchemaNodeManagementPartitionWithLevelin interfaceIPartitionFetcher
-
getDataPartition
public org.apache.iotdb.commons.partition.DataPartition getDataPartition(java.util.Map<java.lang.String,java.util.List<org.apache.iotdb.commons.partition.DataPartitionQueryParam>> sgNameToQueryParamsMap)
- Specified by:
getDataPartitionin interfaceIPartitionFetcher
-
getDataPartition
public org.apache.iotdb.commons.partition.DataPartition getDataPartition(java.util.List<org.apache.iotdb.commons.partition.DataPartitionQueryParam> dataPartitionQueryParams)
- Specified by:
getDataPartitionin interfaceIPartitionFetcher
-
getOrCreateDataPartition
public org.apache.iotdb.commons.partition.DataPartition getOrCreateDataPartition(java.util.Map<java.lang.String,java.util.List<org.apache.iotdb.commons.partition.DataPartitionQueryParam>> sgNameToQueryParamsMap)
- Specified by:
getOrCreateDataPartitionin interfaceIPartitionFetcher
-
getOrCreateDataPartition
public org.apache.iotdb.commons.partition.DataPartition getOrCreateDataPartition(java.util.List<org.apache.iotdb.commons.partition.DataPartitionQueryParam> dataPartitionQueryParams)
- Specified by:
getOrCreateDataPartitionin interfaceIPartitionFetcher
-
updateRegionCache
public boolean updateRegionCache(org.apache.iotdb.mpp.rpc.thrift.TRegionRouteReq req)
- Specified by:
updateRegionCachein interfaceIPartitionFetcher
-
invalidAllCache
public void invalidAllCache()
- Specified by:
invalidAllCachein interfaceIPartitionFetcher
-
-