public class RecordPageSource extends Object implements ConnectorPageSource
NOT_BLOCKED| Constructor and Description |
|---|
RecordPageSource(List<Type> types,
RecordCursor cursor) |
RecordPageSource(RecordSet recordSet) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Immediately finishes this page source.
|
long |
getCompletedBytes()
Gets the number of input bytes processed by this page source so far.
|
long |
getCompletedPositions()
Gets the number of input rows processed by this page source so far.
|
RecordCursor |
getCursor() |
Page |
getNextPage()
Gets the next page of data.
|
long |
getReadTimeNanos()
Gets the wall time this page source spent reading data from the input.
|
long |
getSystemMemoryUsage()
Get the total memory that needs to be reserved in the general memory pool.
|
boolean |
isFinished()
Will this page source product more pages?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRuntimeStats, isBlockedpublic RecordPageSource(RecordSet recordSet)
public RecordPageSource(List<Type> types, RecordCursor cursor)
public RecordCursor getCursor()
public long getCompletedBytes()
ConnectorPageSourcegetCompletedBytes in interface ConnectorPageSourcepublic long getCompletedPositions()
ConnectorPageSourcegetCompletedPositions in interface ConnectorPageSourcepublic long getReadTimeNanos()
ConnectorPageSourcegetReadTimeNanos in interface ConnectorPageSourcepublic long getSystemMemoryUsage()
ConnectorPageSourcegetSystemMemoryUsage in interface ConnectorPageSourcepublic void close()
ConnectorPageSourceclose in interface ConnectorPageSourceclose in interface Closeableclose in interface AutoCloseablepublic boolean isFinished()
ConnectorPageSourceisFinished in interface ConnectorPageSourcepublic Page getNextPage()
ConnectorPageSourcegetNextPage in interface ConnectorPageSourceCopyright © 2012–2022. All rights reserved.