Class MultiInputColumnIntermediateLayer
- java.lang.Object
-
- org.apache.iotdb.db.mpp.transformation.dag.intermediate.IntermediateLayer
-
- org.apache.iotdb.db.mpp.transformation.dag.intermediate.MultiInputColumnIntermediateLayer
-
- All Implemented Interfaces:
IUDFInputDataSet
public class MultiInputColumnIntermediateLayer extends IntermediateLayer implements IUDFInputDataSet
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.mpp.transformation.dag.intermediate.IntermediateLayer
CACHE_BLOCK_SIZE, expression, memoryBudgetInMB, queryId
-
-
Constructor Summary
Constructors Constructor Description MultiInputColumnIntermediateLayer(Expression expression, long queryId, float memoryBudgetInMB, java.util.List<LayerPointReader> parentLayerPointReaders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YieldableStatecanYieldNextRowInObjects()Whether the data set has next row.LayerPointReaderconstructPointReader()LayerRowReaderconstructRowReader()protected LayerRowWindowReaderconstructRowSessionTimeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SessionTimeWindowAccessStrategy strategy, float memoryBudgetInMB)protected LayerRowWindowReaderconstructRowSlidingSizeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SlidingSizeWindowAccessStrategy strategy, float memoryBudgetInMB)protected LayerRowWindowReaderconstructRowSlidingTimeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SlidingTimeWindowAccessStrategy strategy, float memoryBudgetInMB)protected LayerRowWindowReaderconstructRowStateWindowReader(org.apache.iotdb.udf.api.customizer.strategy.StateWindowAccessStrategy strategy, float memoryBudgetInMB)java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType>getDataTypes()returns the input data types, except the timestamp column(the last column).booleanhasNextRowInObjects()Whether the data set has next row.java.lang.Object[]nextRowInObjects()Get the next row for UDFPlan input.-
Methods inherited from class org.apache.iotdb.db.mpp.transformation.dag.intermediate.IntermediateLayer
constructRowWindowReader, toString
-
-
-
-
Constructor Detail
-
MultiInputColumnIntermediateLayer
public MultiInputColumnIntermediateLayer(Expression expression, long queryId, float memoryBudgetInMB, java.util.List<LayerPointReader> parentLayerPointReaders)
-
-
Method Detail
-
getDataTypes
public java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> getDataTypes()
Description copied from interface:IUDFInputDataSetreturns the input data types, except the timestamp column(the last column).- Specified by:
getDataTypesin interfaceIUDFInputDataSet
-
hasNextRowInObjects
public boolean hasNextRowInObjects() throws java.io.IOExceptionDescription copied from interface:IUDFInputDataSetWhether the data set has next row.- Specified by:
hasNextRowInObjectsin interfaceIUDFInputDataSet- Throws:
java.io.IOException
-
canYieldNextRowInObjects
public YieldableState canYieldNextRowInObjects() throws java.io.IOException
Description copied from interface:IUDFInputDataSetWhether the data set has next row.- Specified by:
canYieldNextRowInObjectsin interfaceIUDFInputDataSet- Throws:
java.io.IOException
-
nextRowInObjects
public java.lang.Object[] nextRowInObjects()
Description copied from interface:IUDFInputDataSetGet the next row for UDFPlan input.The last element in the row is the timestamp.
- Specified by:
nextRowInObjectsin interfaceIUDFInputDataSet
-
constructPointReader
public LayerPointReader constructPointReader()
- Specified by:
constructPointReaderin classIntermediateLayer
-
constructRowReader
public LayerRowReader constructRowReader()
- Specified by:
constructRowReaderin classIntermediateLayer
-
constructRowSlidingSizeWindowReader
protected LayerRowWindowReader constructRowSlidingSizeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SlidingSizeWindowAccessStrategy strategy, float memoryBudgetInMB) throws QueryProcessException
- Specified by:
constructRowSlidingSizeWindowReaderin classIntermediateLayer- Throws:
QueryProcessException
-
constructRowSlidingTimeWindowReader
protected LayerRowWindowReader constructRowSlidingTimeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SlidingTimeWindowAccessStrategy strategy, float memoryBudgetInMB) throws QueryProcessException
- Specified by:
constructRowSlidingTimeWindowReaderin classIntermediateLayer- Throws:
QueryProcessException
-
constructRowSessionTimeWindowReader
protected LayerRowWindowReader constructRowSessionTimeWindowReader(org.apache.iotdb.udf.api.customizer.strategy.SessionTimeWindowAccessStrategy strategy, float memoryBudgetInMB) throws QueryProcessException
- Specified by:
constructRowSessionTimeWindowReaderin classIntermediateLayer- Throws:
QueryProcessException
-
constructRowStateWindowReader
protected LayerRowWindowReader constructRowStateWindowReader(org.apache.iotdb.udf.api.customizer.strategy.StateWindowAccessStrategy strategy, float memoryBudgetInMB)
- Specified by:
constructRowStateWindowReaderin classIntermediateLayer
-
-