Class LocalExecutionPlanContext
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.planner.LocalExecutionPlanContext
-
public class LocalExecutionPlanContext extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LocalExecutionPlanContext(FragmentInstanceContext instanceContext)LocalExecutionPlanContext(TypeProvider typeProvider, FragmentInstanceContext instanceContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCachedLastValue(org.apache.iotdb.tsfile.read.TimeValuePair timeValuePair, java.lang.String fullPath)voidaddPath(org.apache.iotdb.commons.path.PartialPath path)voidaddSourceOperator(DataSourceOperator sourceOperator)java.util.Set<java.lang.String>getAllSensors(java.lang.String deviceId, java.lang.String sensorId)java.util.List<org.apache.iotdb.tsfile.utils.Pair<org.apache.iotdb.tsfile.read.TimeValuePair,org.apache.iotdb.tsfile.utils.Binary>>getCachedLastValueAndPathList()FragmentInstanceContextgetInstanceContext()org.apache.iotdb.tsfile.read.filter.basic.FiltergetLastQueryTimeFilter()intgetNextOperatorId()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()ISinkHandlegetSinkHandle()java.util.List<DataSourceOperator>getSourceOperators()RuleBasedTimeSliceAllocatorgetTimeSliceAllocator()TypeProvidergetTypeProvider()booleanisNeedUpdateLastCache()voidsetLastQueryTimeFilter(org.apache.iotdb.tsfile.read.filter.basic.Filter lastQueryTimeFilter)voidsetNeedUpdateLastCache(boolean needUpdateLastCache)voidsetSinkHandle(ISinkHandle sinkHandle)
-
-
-
Constructor Detail
-
LocalExecutionPlanContext
public LocalExecutionPlanContext(TypeProvider typeProvider, FragmentInstanceContext instanceContext)
-
LocalExecutionPlanContext
public LocalExecutionPlanContext(FragmentInstanceContext instanceContext)
-
-
Method Detail
-
getNextOperatorId
public int getNextOperatorId()
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
-
getAllSensors
public java.util.Set<java.lang.String> getAllSensors(java.lang.String deviceId, java.lang.String sensorId)
-
getSourceOperators
public java.util.List<DataSourceOperator> getSourceOperators()
-
addPath
public void addPath(org.apache.iotdb.commons.path.PartialPath path)
-
addSourceOperator
public void addSourceOperator(DataSourceOperator sourceOperator)
-
setLastQueryTimeFilter
public void setLastQueryTimeFilter(org.apache.iotdb.tsfile.read.filter.basic.Filter lastQueryTimeFilter)
-
setNeedUpdateLastCache
public void setNeedUpdateLastCache(boolean needUpdateLastCache)
-
addCachedLastValue
public void addCachedLastValue(org.apache.iotdb.tsfile.read.TimeValuePair timeValuePair, java.lang.String fullPath)
-
getCachedLastValueAndPathList
public java.util.List<org.apache.iotdb.tsfile.utils.Pair<org.apache.iotdb.tsfile.read.TimeValuePair,org.apache.iotdb.tsfile.utils.Binary>> getCachedLastValueAndPathList()
-
getSinkHandle
public ISinkHandle getSinkHandle()
-
setSinkHandle
public void setSinkHandle(ISinkHandle sinkHandle)
-
getTypeProvider
public TypeProvider getTypeProvider()
-
getTimeSliceAllocator
public RuleBasedTimeSliceAllocator getTimeSliceAllocator()
-
getInstanceContext
public FragmentInstanceContext getInstanceContext()
-
getLastQueryTimeFilter
public org.apache.iotdb.tsfile.read.filter.basic.Filter getLastQueryTimeFilter()
-
isNeedUpdateLastCache
public boolean isNeedUpdateLastCache()
-
-