Class UDTFDataSet
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
-
- org.apache.iotdb.db.query.dataset.UDTFDataSet
-
- Direct Known Subclasses:
UDTFAlignByTimeDataSet,UDTFNonAlignDataSet
public abstract class UDTFDataSet extends org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
-
-
Field Summary
Fields Modifier and Type Field Description protected QueryDataSetInputLayerqueryDataSetInputLayerprotected longqueryIdprotected LayerPointReader[]transformersprotected static floatUDF_COLLECTOR_MEMORY_BUDGET_IN_MBprotected static floatUDF_READER_MEMORY_BUDGET_IN_MBprotected static floatUDF_TRANSFORMER_MEMORY_BUDGET_IN_MBprotected UDTFPlanudtfPlan
-
Constructor Summary
Constructors Modifier Constructor Description protectedUDTFDataSet(QueryContext queryContext, UDTFPlan udtfPlan, java.util.List<org.apache.iotdb.commons.path.PartialPath> deduplicatedPaths, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> deduplicatedDataTypes, java.util.List<ManagedSeriesReader> readersOfSelectedSeries)execute without value filtersprotectedUDTFDataSet(QueryContext queryContext, UDTFPlan udtfPlan, java.util.List<org.apache.iotdb.commons.path.PartialPath> deduplicatedPaths, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> deduplicatedDataTypes, org.apache.iotdb.tsfile.read.query.timegenerator.TimeGenerator timestampGenerator, java.util.List<IReaderByTimestamp> readersOfSelectedSeries, java.util.List<java.util.List<java.lang.Integer>> readerToIndexList, java.util.List<java.lang.Boolean> cached)execute with value filtersUDTFDataSet(QueryContext queryContext, UDTFPlan udtfPlan, IUDFInputDataSet dataSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinalizeUDFs(long queryId)protected voidinitTransformers()-
Methods inherited from class org.apache.iotdb.tsfile.read.query.dataset.QueryDataSet
decreaseAlreadyReturnedRowNum, getColumnNum, getDataTypes, getEndPoint, getPaths, getRowLimit, getRowOffset, getWithoutNullColumnsIndex, hasLimit, hasNext, hasNextWithoutConstraint, initQueryDataSetFields, isWithoutAllNull, isWithoutAnyNull, next, nextWithoutConstraint, setColumnNum, setDataTypes, setEndPoint, setFetchSize, setRowLimit, setRowOffset, setWithoutAllNull, setWithoutAnyNull, setWithoutNullColumnsIndex, withoutNullFilter
-
-
-
-
Field Detail
-
UDF_READER_MEMORY_BUDGET_IN_MB
protected static final float UDF_READER_MEMORY_BUDGET_IN_MB
-
UDF_TRANSFORMER_MEMORY_BUDGET_IN_MB
protected static final float UDF_TRANSFORMER_MEMORY_BUDGET_IN_MB
-
UDF_COLLECTOR_MEMORY_BUDGET_IN_MB
protected static final float UDF_COLLECTOR_MEMORY_BUDGET_IN_MB
-
queryId
protected final long queryId
-
udtfPlan
protected final UDTFPlan udtfPlan
-
queryDataSetInputLayer
protected final QueryDataSetInputLayer queryDataSetInputLayer
-
transformers
protected LayerPointReader[] transformers
-
-
Constructor Detail
-
UDTFDataSet
protected UDTFDataSet(QueryContext queryContext, UDTFPlan udtfPlan, java.util.List<org.apache.iotdb.commons.path.PartialPath> deduplicatedPaths, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> deduplicatedDataTypes, org.apache.iotdb.tsfile.read.query.timegenerator.TimeGenerator timestampGenerator, java.util.List<IReaderByTimestamp> readersOfSelectedSeries, java.util.List<java.util.List<java.lang.Integer>> readerToIndexList, java.util.List<java.lang.Boolean> cached) throws QueryProcessException, java.io.IOException
execute with value filters- Throws:
QueryProcessExceptionjava.io.IOException
-
UDTFDataSet
protected UDTFDataSet(QueryContext queryContext, UDTFPlan udtfPlan, java.util.List<org.apache.iotdb.commons.path.PartialPath> deduplicatedPaths, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> deduplicatedDataTypes, java.util.List<ManagedSeriesReader> readersOfSelectedSeries) throws QueryProcessException, java.io.IOException, java.lang.InterruptedException
execute without value filters- Throws:
QueryProcessExceptionjava.io.IOExceptionjava.lang.InterruptedException
-
UDTFDataSet
public UDTFDataSet(QueryContext queryContext, UDTFPlan udtfPlan, IUDFInputDataSet dataSet) throws QueryProcessException, java.io.IOException
- Throws:
QueryProcessExceptionjava.io.IOException
-
-
Method Detail
-
initTransformers
protected void initTransformers() throws QueryProcessException, java.io.IOException- Throws:
QueryProcessExceptionjava.io.IOException
-
finalizeUDFs
public void finalizeUDFs(long queryId)
-
-