@PublicEvolving public class MutableRecordAndPosition<E> extends RecordAndPosition<E>
RecordAndPosition.
This mutable object is useful in cases where only once instance of a RecordAndPosition
is needed at a time, like for the result values of the BulkFormat.RecordIterator.
NO_OFFSET| 构造器和说明 |
|---|
MutableRecordAndPosition() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
set(E record,
long offset,
long recordSkipCount)
Updates the record and position in this object.
|
void |
setNext(E record)
Sets the next record of a sequence.
|
void |
setPosition(long offset,
long recordSkipCount)
Sets the position without setting a record.
|
getOffset, getRecord, getRecordSkipCount, toStringpublic void set(E record, long offset, long recordSkipCount)
public void setPosition(long offset,
long recordSkipCount)
public void setNext(E record)
recordSkipCount by one.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.