public class OrcBatchPageSource extends Object implements ConnectorPageSource
NOT_BLOCKED| Constructor and Description |
|---|
OrcBatchPageSource(OrcBatchRecordReader recordReader,
OrcDataSource orcDataSource,
List<HiveColumnHandle> columns,
TypeManager typeManager,
OrcAggregatedMemoryContext systemMemoryContext,
FileFormatDataSourceStats stats,
RuntimeStats runtimeStats,
List<Boolean> isRowNumberList,
byte[] rowIDPartitionComponent,
String rowGroupId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
closeWithSuppression(Throwable throwable) |
long |
getCompletedBytes() |
long |
getCompletedPositions() |
Page |
getNextPage() |
long |
getReadTimeNanos() |
RuntimeStats |
getRuntimeStats() |
long |
getSystemMemoryUsage() |
boolean |
isFinished() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisBlockedpublic OrcBatchPageSource(OrcBatchRecordReader recordReader, OrcDataSource orcDataSource, List<HiveColumnHandle> columns, TypeManager typeManager, OrcAggregatedMemoryContext systemMemoryContext, FileFormatDataSourceStats stats, RuntimeStats runtimeStats, List<Boolean> isRowNumberList, byte[] rowIDPartitionComponent, String rowGroupId)
columns - an ordered list of the fields to readisRowNumberList - list of indices of columns. If true, then the column then the column
at the same position in columns is a row number. If false, it isn't.
This should have the same length as columns.
#throws IllegalArgumentException if columns and isRowNumberList do not have the same sizepublic RuntimeStats getRuntimeStats()
getRuntimeStats in interface ConnectorPageSourcepublic long getCompletedBytes()
getCompletedBytes in interface ConnectorPageSourcepublic long getCompletedPositions()
getCompletedPositions in interface ConnectorPageSourcepublic long getReadTimeNanos()
getReadTimeNanos in interface ConnectorPageSourcepublic boolean isFinished()
isFinished in interface ConnectorPageSourcepublic Page getNextPage()
getNextPage in interface ConnectorPageSourcepublic void close()
close in interface ConnectorPageSourceclose in interface Closeableclose in interface AutoCloseablepublic long getSystemMemoryUsage()
getSystemMemoryUsage in interface ConnectorPageSourceprotected void closeWithSuppression(Throwable throwable)
Copyright © 2012–2024. All rights reserved.