Package io.trino.split
Class SampledSplitSource
java.lang.Object
io.trino.split.SampledSplitSource
- All Implemented Interfaces:
SplitSource,Closeable,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.split.SplitSource
SplitSource.SplitBatch -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()com.google.common.util.concurrent.ListenableFuture<SplitSource.SplitBatch> getNextBatch(int maxSize) boolean
-
Constructor Details
-
SampledSplitSource
-
-
Method Details
-
getCatalogHandle
- Specified by:
getCatalogHandlein interfaceSplitSource
-
getNextBatch
public com.google.common.util.concurrent.ListenableFuture<SplitSource.SplitBatch> getNextBatch(int maxSize) - Specified by:
getNextBatchin interfaceSplitSource
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceSplitSource
-
isFinished
public boolean isFinished()- Specified by:
isFinishedin interfaceSplitSource
-
getTableExecuteSplitsInfo
- Specified by:
getTableExecuteSplitsInfoin interfaceSplitSource
-