Interface VeniceRecordIterator
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
VeniceAvroFileIterator
,VeniceVsonFileIterator
public interface VeniceRecordIterator extends java.io.Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getCurrentKey()
Return the current key.byte[]
getCurrentValue()
Return the current value.boolean
next()
Proceed to next record, returns false if there is no more records.
-
-
-
Method Detail
-
next
boolean next()
Proceed to next record, returns false if there is no more records.
-
getCurrentKey
byte[] getCurrentKey()
Return the current key. This method should return same value until `next` is called.
-
getCurrentValue
byte[] getCurrentValue()
Return the current value. This method should return same value until `next` is called.
-
-