Package io.trino.split
Class SplitSource.SplitBatch
java.lang.Object
io.trino.split.SplitSource.SplitBatch
- Enclosing interface:
- SplitSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if all splits for the requested driver group have been returned.
-
Constructor Details
-
SplitBatch
-
-
Method Details
-
getSplits
-
isLastBatch
public boolean isLastBatch()Returns true if all splits for the requested driver group have been returned. In other hands, splits returned from this and all previous invocations ofSplitSource.getNextBatch(io.trino.spi.connector.ConnectorPartitionHandle, io.trino.execution.Lifespan, int)form the complete set of splits in the requested driver group.
-