public static interface SortedBytesMergeUtils.BytesRefConsumer
BytesRef
instance
should be stored at.void consume(BytesRef ref, int ord, long offset) throws IOException
BytesRef
. The provided BytesRef
instances are strictly increasing with respect to the used
Comparator
used for mergingref
- the BytesRef
to consumeord
- the ordinal of the given BytesRef
in the merge targetoffset
- the byte offset of the given BytesRef
in the merge
targetIOException
- if an IOException
occursCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.