Package io.prestosql.split
Class SplitSource.SplitBatch
- java.lang.Object
-
- io.prestosql.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()
boolean
isLastBatch()
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.prestosql.spi.connector.ConnectorPartitionHandle, io.prestosql.execution.Lifespan, int)
form the complete set of splits in the requested driver group.
-
-