|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.facet.index.CategoryListPayloadStream
public class CategoryListPayloadStream
Accumulates category IDs for a single document, for writing in byte array form, for example, to a Lucene Payload.
Constructor Summary | |
---|---|
CategoryListPayloadStream(IntEncoder encoder)
Creates a Payload stream using the specified encoder. |
Method Summary | |
---|---|
void |
appendIntToStream(int intValue)
Appends an integer to the stream. |
byte[] |
convertStreamToByteArray()
Returns the streamed bytes so far accumulated, as an array of bytes. |
void |
reset()
Resets this stream to begin building a new payload. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CategoryListPayloadStream(IntEncoder encoder)
Method Detail |
---|
public void appendIntToStream(int intValue) throws IOException
IOException
public byte[] convertStreamToByteArray()
public void reset() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |