public class BufferingSplitSource extends Object implements SplitSource
SplitSource.SplitBatch| Constructor and Description |
|---|
BufferingSplitSource(SplitSource source,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CatalogName |
getCatalogName() |
com.google.common.util.concurrent.ListenableFuture<SplitSource.SplitBatch> |
getNextBatch(ConnectorPartitionHandle partitionHandle,
Lifespan lifespan,
int maxSize) |
boolean |
isFinished() |
public BufferingSplitSource(SplitSource source, int bufferSize)
public CatalogName getCatalogName()
getCatalogName in interface SplitSourcepublic com.google.common.util.concurrent.ListenableFuture<SplitSource.SplitBatch> getNextBatch(ConnectorPartitionHandle partitionHandle, Lifespan lifespan, int maxSize)
getNextBatch in interface SplitSourcepublic void close()
close in interface SplitSourceclose in interface Closeableclose in interface AutoCloseablepublic boolean isFinished()
isFinished in interface SplitSourceCopyright © 2012–2019. All rights reserved.