Package io.trino.split
Class SplitSource.SplitBatch
- java.lang.Object
-
- io.trino.split.SplitSource.SplitBatch
-
- Enclosing interface:
- SplitSource
public static class SplitSource.SplitBatch extends Object
-
-
Constructor Summary
Constructors Constructor Description SplitBatch(List<Split> splits, boolean lastBatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Split>getSplits()booleanisLastBatch()Returns true if all splits for the requested driver group have been returned.
-
-
-
Method Detail
-
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.
-
-