Class LayerCacheUtils
- java.lang.Object
-
- org.apache.iotdb.db.mpp.transformation.dag.util.LayerCacheUtils
-
public class LayerCacheUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancachePoint(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, LayerPointReader source, ElasticSerializableTVList target)static intcachePoints(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, LayerPointReader source, ElasticSerializableTVList target, int pointNumber)static booleancacheRow(IUDFInputDataSet source, ElasticSerializableRowRecordList target)static intcacheRows(IUDFInputDataSet source, ElasticSerializableRowRecordList target, int rowsNumber)static YieldableStateyieldPoint(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, LayerPointReader source, ElasticSerializableTVList target)static YieldableStateyieldPoints(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, LayerPointReader source, ElasticSerializableTVList target, int pointNumber)static YieldableStateyieldRow(IUDFInputDataSet source, ElasticSerializableRowRecordList target)static YieldableStateyieldRows(IUDFInputDataSet source, ElasticSerializableRowRecordList target, int rowsNumber)
-
-
-
Method Detail
-
yieldPoints
public static YieldableState yieldPoints(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, LayerPointReader source, ElasticSerializableTVList target, int pointNumber) throws QueryProcessException, java.io.IOException
- Throws:
QueryProcessExceptionjava.io.IOException
-
yieldPoint
public static YieldableState yieldPoint(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, LayerPointReader source, ElasticSerializableTVList target) throws java.io.IOException, QueryProcessException
- Throws:
java.io.IOExceptionQueryProcessException
-
yieldRows
public static YieldableState yieldRows(IUDFInputDataSet source, ElasticSerializableRowRecordList target, int rowsNumber) throws QueryProcessException, java.io.IOException
- Returns:
- number of actually collected, which may be less than or equals to rowsNumber
- Throws:
QueryProcessExceptionjava.io.IOException
-
yieldRow
public static YieldableState yieldRow(IUDFInputDataSet source, ElasticSerializableRowRecordList target) throws java.io.IOException, QueryProcessException
- Throws:
java.io.IOExceptionQueryProcessException
-
cachePoints
public static int cachePoints(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, LayerPointReader source, ElasticSerializableTVList target, int pointNumber) throws QueryProcessException, java.io.IOException- Returns:
- number of actually collected, which may be less than or equals to pointNumber
- Throws:
QueryProcessExceptionjava.io.IOException
-
cachePoint
public static boolean cachePoint(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType, LayerPointReader source, ElasticSerializableTVList target) throws java.io.IOException, QueryProcessException- Throws:
java.io.IOExceptionQueryProcessException
-
cacheRows
public static int cacheRows(IUDFInputDataSet source, ElasticSerializableRowRecordList target, int rowsNumber) throws QueryProcessException, java.io.IOException
- Returns:
- number of actually collected, which may be less than or equals to rowsNumber
- Throws:
QueryProcessExceptionjava.io.IOException
-
cacheRow
public static boolean cacheRow(IUDFInputDataSet source, ElasticSerializableRowRecordList target) throws java.io.IOException, QueryProcessException
- Throws:
java.io.IOExceptionQueryProcessException
-
-