Interface IUDFInputDataSet
-
- All Known Implementing Classes:
MultiInputColumnIntermediateLayer,RawQueryDataSetWithValueFilter,TsBlockInputDataSet,UDFInputDataSet,UDFRawQueryInputDataSetWithoutValueFilter
public interface IUDFInputDataSetThe input data set interface for a UDFPlan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default YieldableStatecanYieldNextRowInObjects()Whether the data set has next row.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.
-
-
-
Method Detail
-
getDataTypes
java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> getDataTypes()
returns the input data types, except the timestamp column(the last column).
-
hasNextRowInObjects
boolean hasNextRowInObjects() throws java.io.IOExceptionWhether the data set has next row.- Throws:
java.io.IOException
-
canYieldNextRowInObjects
default YieldableState canYieldNextRowInObjects() throws java.io.IOException
Whether the data set has next row.- Throws:
java.io.IOException
-
nextRowInObjects
java.lang.Object[] nextRowInObjects() throws java.io.IOExceptionGet the next row for UDFPlan input.The last element in the row is the timestamp.
- Throws:
java.io.IOException
-
-