Package io.prestosql.split
Interface SplitSource
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
BufferingSplitSource
,ConnectorAwareSplitSource
,SampledSplitSource
public interface SplitSource extends Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SplitSource.SplitBatch
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
CatalogName
getCatalogName()
Optional<Integer>
getMinScheduleSplitBatchSize()
com.google.common.util.concurrent.ListenableFuture<SplitSource.SplitBatch>
getNextBatch(ConnectorPartitionHandle partitionHandle, Lifespan lifespan, int maxSize)
boolean
isFinished()
-
-
-
Method Detail
-
getCatalogName
CatalogName getCatalogName()
-
getNextBatch
com.google.common.util.concurrent.ListenableFuture<SplitSource.SplitBatch> getNextBatch(ConnectorPartitionHandle partitionHandle, Lifespan lifespan, int maxSize)
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
isFinished
boolean isFinished()
-
-