public class ApplyDeletionVectorReader extends Object implements RecordReader<InternalRow>
RecordReader which apply DeletionVector to filter record.RecordReader.RecordIterator<T>| Constructor and Description |
|---|
ApplyDeletionVectorReader(RecordReader<InternalRow> reader,
DeletionVector deletionVector) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader and should release all resources.
|
DeletionVector |
deletionVector() |
RecordReader.RecordIterator<InternalRow> |
readBatch()
Reads one batch.
|
RecordReader<InternalRow> |
reader() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilter, forEachRemaining, forEachRemainingWithPosition, toCloseableIterator, transformpublic ApplyDeletionVectorReader(RecordReader<InternalRow> reader, DeletionVector deletionVector)
public RecordReader<InternalRow> reader()
public DeletionVector deletionVector()
@Nullable public RecordReader.RecordIterator<InternalRow> readBatch() throws IOException
RecordReaderThe returned iterator object and any contained objects may be held onto by the source for some time, so it should not be immediately reused by the reader.
readBatch in interface RecordReader<InternalRow>IOExceptionpublic void close()
throws IOException
RecordReaderclose in interface Closeableclose in interface AutoCloseableclose in interface RecordReader<InternalRow>IOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.