36 Payload(ByteArray data, int32_t offset, int32_t length);
54 void setData(ByteArray data);
57 void setData(ByteArray data, int32_t offset, int32_t length);
69 uint8_t byteAt(int32_t index);
72 ByteArray toByteArray();
77 void copyTo(ByteArray target, int32_t targetOffset);
83 virtual int32_t hashCode();
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
int32_t _length
the length of the payload data
Definition: Payload.h:50
A Payload is metadata that can be stored together with each occurrence of a term. This metadata is st...
Definition: Payload.h:21
Base class for all Lucene classes.
Definition: LuceneObject.h:31
int32_t offset
the offset within the byte array
Definition: Payload.h:47
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12