public class CountQueryPageSource extends Object implements ConnectorPageSource
NOT_BLOCKED| Constructor and Description |
|---|
CountQueryPageSource(ElasticsearchClient client,
ConnectorSession session,
ElasticsearchTableHandle table,
ElasticsearchSplit split) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getCompletedBytes() |
long |
getCompletedPositions() |
Page |
getNextPage() |
long |
getReadTimeNanos() |
long |
getSystemMemoryUsage() |
boolean |
isFinished() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRuntimeStats, isBlockedpublic CountQueryPageSource(ElasticsearchClient client, ConnectorSession session, ElasticsearchTableHandle table, ElasticsearchSplit split)
public boolean isFinished()
isFinished in interface ConnectorPageSourcepublic Page getNextPage()
getNextPage in interface ConnectorPageSourcepublic long getReadTimeNanos()
getReadTimeNanos in interface ConnectorPageSourcepublic long getCompletedBytes()
getCompletedBytes in interface ConnectorPageSourcepublic long getCompletedPositions()
getCompletedPositions in interface ConnectorPageSourcepublic long getSystemMemoryUsage()
getSystemMemoryUsage in interface ConnectorPageSourcepublic void close()
close in interface ConnectorPageSourceclose in interface Closeableclose in interface AutoCloseableCopyright © 2012–2023. All rights reserved.