Package io.trino.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 classSplitSource.SplitBatch
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()CatalogNamegetCatalogName()com.google.common.util.concurrent.ListenableFuture<SplitSource.SplitBatch>getNextBatch(ConnectorPartitionHandle partitionHandle, Lifespan lifespan, int maxSize)booleanisFinished()
-
-
-
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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
isFinished
boolean isFinished()
-
-