Class IntermediateLayer
- java.lang.Object
-
- org.apache.iotdb.db.mpp.transformation.dag.intermediate.IntermediateLayer
-
- Direct Known Subclasses:
ConstantIntermediateLayer,MultiInputColumnIntermediateLayer,SingleInputColumnMultiReferenceIntermediateLayer,SingleInputColumnSingleReferenceIntermediateLayer
public abstract class IntermediateLayer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static intCACHE_BLOCK_SIZEprotected Expressionexpressionprotected floatmemoryBudgetInMBprotected longqueryId
-
Constructor Summary
Constructors Modifier Constructor Description protectedIntermediateLayer(Expression expression, long queryId, float memoryBudgetInMB)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract LayerPointReaderconstructPointReader()abstract LayerRowReaderconstructRowReader()protected abstract LayerRowWindowReaderconstructRowSessionTimeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SessionTimeWindowAccessStrategy strategy, float memoryBudgetInMB)protected abstract LayerRowWindowReaderconstructRowSlidingSizeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SlidingSizeWindowAccessStrategy strategy, float memoryBudgetInMB)protected abstract LayerRowWindowReaderconstructRowSlidingTimeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SlidingTimeWindowAccessStrategy strategy, float memoryBudgetInMB)protected abstract LayerRowWindowReaderconstructRowStateWindowReader(org.apache.iotdb.udf.api.customizer.strategy.StateWindowAccessStrategy strategy, float memoryBudgetInMB)LayerRowWindowReaderconstructRowWindowReader(org.apache.iotdb.udf.api.customizer.strategy.AccessStrategy strategy, float memoryBudgetInMB)java.lang.StringtoString()
-
-
-
Field Detail
-
CACHE_BLOCK_SIZE
protected static final int CACHE_BLOCK_SIZE
- See Also:
- Constant Field Values
-
expression
protected final Expression expression
-
queryId
protected final long queryId
-
memoryBudgetInMB
protected final float memoryBudgetInMB
-
-
Constructor Detail
-
IntermediateLayer
protected IntermediateLayer(Expression expression, long queryId, float memoryBudgetInMB)
-
-
Method Detail
-
constructPointReader
public abstract LayerPointReader constructPointReader()
-
constructRowReader
public abstract LayerRowReader constructRowReader()
-
constructRowWindowReader
public final LayerRowWindowReader constructRowWindowReader(org.apache.iotdb.udf.api.customizer.strategy.AccessStrategy strategy, float memoryBudgetInMB) throws QueryProcessException, java.io.IOException
- Throws:
QueryProcessExceptionjava.io.IOException
-
constructRowSlidingSizeWindowReader
protected abstract LayerRowWindowReader constructRowSlidingSizeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SlidingSizeWindowAccessStrategy strategy, float memoryBudgetInMB) throws QueryProcessException
- Throws:
QueryProcessException
-
constructRowSlidingTimeWindowReader
protected abstract LayerRowWindowReader constructRowSlidingTimeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SlidingTimeWindowAccessStrategy strategy, float memoryBudgetInMB) throws QueryProcessException, java.io.IOException
- Throws:
QueryProcessExceptionjava.io.IOException
-
constructRowSessionTimeWindowReader
protected abstract LayerRowWindowReader constructRowSessionTimeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SessionTimeWindowAccessStrategy strategy, float memoryBudgetInMB) throws QueryProcessException, java.io.IOException
- Throws:
QueryProcessExceptionjava.io.IOException
-
constructRowStateWindowReader
protected abstract LayerRowWindowReader constructRowStateWindowReader(org.apache.iotdb.udf.api.customizer.strategy.StateWindowAccessStrategy strategy, float memoryBudgetInMB) throws QueryProcessException, java.io.IOException
- Throws:
QueryProcessExceptionjava.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-