[core] Add a reset() method to the ByteIterator abstract and implementations
for each of the children. This lets us re-use byte iterators if we need to access the values again (when applicable).
Showing
- core/src/main/java/com/yahoo/ycsb/ByteArrayByteIterator.java 8 additions, 0 deletionscore/src/main/java/com/yahoo/ycsb/ByteArrayByteIterator.java
- core/src/main/java/com/yahoo/ycsb/ByteIterator.java 9 additions, 0 deletionscore/src/main/java/com/yahoo/ycsb/ByteIterator.java
- core/src/main/java/com/yahoo/ycsb/InputStreamByteIterator.java 19 additions, 0 deletions...src/main/java/com/yahoo/ycsb/InputStreamByteIterator.java
- core/src/main/java/com/yahoo/ycsb/RandomByteIterator.java 6 additions, 0 deletionscore/src/main/java/com/yahoo/ycsb/RandomByteIterator.java
- core/src/main/java/com/yahoo/ycsb/StringByteIterator.java 5 additions, 0 deletionscore/src/main/java/com/yahoo/ycsb/StringByteIterator.java
Loading
Please register or sign in to comment