Class CompositeBytesReference

    • Constructor Detail

      • CompositeBytesReference

        public CompositeBytesReference​(BytesReference... references)
    • Method Detail

      • get

        public byte get​(int index)
        Description copied from class: BytesReference
        Returns the byte at the specified index. Need to be between 0 and length.
        Specified by:
        get in class BytesReference
      • toBytesRef

        public org.apache.lucene.util.BytesRef toBytesRef()
        Description copied from class: BytesReference
        Converts to Lucene BytesRef.
        Specified by:
        toBytesRef in class BytesReference
      • iterator

        public org.apache.lucene.util.BytesRefIterator iterator()
        Description copied from class: BytesReference
        Returns a BytesRefIterator for this BytesReference. This method allows access to the internal pages of this reference without copying them. Use with care!
        Overrides:
        iterator in class BytesReference
        See Also:
        BytesRefIterator