Uses of Interface
com.sun.labs.minion.util.buffer.WriteableBuffer

Packages that use WriteableBuffer
com.sun.labs.minion.classification Provides the automatic document classification functionality in Minion. 
com.sun.labs.minion.indexer.dictionary Provides the classes that implement the dictionaries used by the indexer and the retrieval engine. 
com.sun.labs.minion.indexer.entry Provides the interfaces and implemenations for the entries used during indexing and querying. 
com.sun.labs.minion.indexer.partition Provides the classes that implement the partitions of the indexer. 
com.sun.labs.minion.indexer.postings Provides the classes that implement the different types of postings used by the search engine. 
com.sun.labs.minion.indexer.postings.io Provides interfaces and implementations for the writing and reading of postings information. 
com.sun.labs.minion.lextax   
com.sun.labs.minion.util.buffer Provides interfaces and classes for dealing with readable and writeable buffers of data. 
 

Uses of WriteableBuffer in com.sun.labs.minion.classification
 

Methods in com.sun.labs.minion.classification that return WriteableBuffer
 WriteableBuffer[] FeaturePostings.getBuffers()
          Gets a number of Buffers whose contents represent the postings.
 

Methods in com.sun.labs.minion.classification with parameters of type WriteableBuffer
 void Feature.encode(WriteableBuffer b)
          Encodes the information in this feature onto the given buffer.
 void WeightedFeature.encode(WriteableBuffer b)
          Encodes the information in this feature onto the given buffer.
 void FeatureEntry.encodePostingsInfo(WriteableBuffer b)
          Encodes any information associated with the postings onto the given buffer.
 

Uses of WriteableBuffer in com.sun.labs.minion.indexer.dictionary
 

Fields in com.sun.labs.minion.indexer.dictionary declared as WriteableBuffer
protected  WriteableBuffer DictionaryWriter.info
          A buffer to hold term information.
protected  WriteableBuffer DictionaryWriter.infoOffsets
          A buffer to hold term information offsets.
protected  WriteableBuffer DictionaryWriter.nameOffsets
          A buffer to hold the offsets of the uncompressed names in the merged dictionary.
protected  WriteableBuffer DictionaryWriter.names
          A buffer to hold names.
 

Methods in com.sun.labs.minion.indexer.dictionary with parameters of type WriteableBuffer
 void DateNameHandler.encodeName(java.lang.Object prev, java.lang.Object curr, WriteableBuffer b)
          Encodes the name of an entry, given the name of the previous entry in the dictionary.
 void DoubleNameHandler.encodeName(java.lang.Object prev, java.lang.Object curr, WriteableBuffer b)
          Encodes the double name of an entry, given the name of the previous entry in the dictionary.
 void LongNameHandler.encodeName(java.lang.Object prev, java.lang.Object curr, WriteableBuffer b)
          Encodes the long name of an entry, given the name of the previous entry in the dictionary.
 void NameEncoder.encodeName(java.lang.Object prev, java.lang.Object curr, WriteableBuffer b)
          Encodes the name of an entry, given the name of the previous entry in the dictionary.
 void StringNameHandler.encodeName(java.lang.Object prev, java.lang.Object curr, WriteableBuffer b)
          Encodes the name of an entry, given the name of the previous entry in the dictionary.
 

Uses of WriteableBuffer in com.sun.labs.minion.indexer.entry
 

Methods in com.sun.labs.minion.indexer.entry with parameters of type WriteableBuffer
 void CasedDFOEntry.encodePostingsInfo(WriteableBuffer b)
          Encodes any information associated with the postings onto the given buffer.
 void CasedEntry.encodePostingsInfo(WriteableBuffer b)
          Encodes any information associated with the postings onto the given buffer.
 void DFOEntry.encodePostingsInfo(WriteableBuffer b)
          Encodes any information associated with the postings onto the given buffer.
 void DocKeyEntry.encodePostingsInfo(WriteableBuffer b)
          Encodes any information associated with the postings onto the given buffer.
 void IndexEntry.encodePostingsInfo(WriteableBuffer b)
          Encodes any information associated with the postings onto the given buffer.
 void MPCasedDFOEntry.encodePostingsInfo(WriteableBuffer b)
          Encodes any information associated with the postings onto the given buffer.
 void SinglePostingsEntry.encodePostingsInfo(WriteableBuffer b)
          Encodes any information associated with the postings onto the given buffer.
 void TermStatsEntry.encodePostingsInfo(WriteableBuffer b)
           
 

Uses of WriteableBuffer in com.sun.labs.minion.indexer.partition
 

Methods in com.sun.labs.minion.indexer.partition with parameters of type WriteableBuffer
static void DelMap.write(java.io.File f, WriteableBuffer m)
           
 

Uses of WriteableBuffer in com.sun.labs.minion.indexer.postings
 

Fields in com.sun.labs.minion.indexer.postings declared as WriteableBuffer
protected  WriteableBuffer[] DFOPostings.fposn
          The field position information.
 

Methods in com.sun.labs.minion.indexer.postings that return WriteableBuffer
 WriteableBuffer[] DFOPostings.getBuffers()
          Gets a ByteBuffer whose contents represent the postings.
 WriteableBuffer[] FieldedDocumentVectorPostings.getBuffers()
          Gets the buffers for these postings, which includes all of the buffers for the fields as well as the buffer for the complete document and a set of offsets into the buffers.
 WriteableBuffer[] IDPostings.getBuffers()
          Gets a number of WriteableBuffers whose contents represent the postings.
 WriteableBuffer[] Postings.getBuffers()
          Gets a number of Buffers whose contents represent the postings.
 

Uses of WriteableBuffer in com.sun.labs.minion.indexer.postings.io
 

Methods in com.sun.labs.minion.indexer.postings.io with parameters of type WriteableBuffer
 int ChannelPostingsOutput.write(WriteableBuffer b)
          Writes a set of postings to the channel (possibly buffering them).
 int PostingsOutput.write(WriteableBuffer b)
          Writes out the given buffer of postings.
 int StreamPostingsOutput.write(WriteableBuffer b)
          Writes out the given buffer of postings.
 long ChannelPostingsOutput.write(WriteableBuffer[] b)
          Writes a set of postings encoded onto a buffer to the channel (possibly buffering them).
 long PostingsOutput.write(WriteableBuffer[] b)
          Writes a set of postings encoded onto a number of buffers.
 long StreamPostingsOutput.write(WriteableBuffer[] b)
          Writes a set of postings encoded onto a number of buffers.
 long ChannelPostingsOutput.write(WriteableBuffer[] b, int offset, int length)
          Writes a subsequence of a set of postings encoded onto a buffer to the channel (possibly buffering them).
 long PostingsOutput.write(WriteableBuffer[] b, int offset, int length)
          Writes a subsequence of a set of postings encoded onto a number of buffers to the output.
 long StreamPostingsOutput.write(WriteableBuffer[] b, int offset, int length)
          Writes a subsequence of a set of postings encoded onto a number of buffers to the output.
 

Uses of WriteableBuffer in com.sun.labs.minion.lextax
 

Methods in com.sun.labs.minion.lextax with parameters of type WriteableBuffer
 void ConceptEntry.encodePostingsInfo(WriteableBuffer b)
           
 

Uses of WriteableBuffer in com.sun.labs.minion.util.buffer
 

Classes in com.sun.labs.minion.util.buffer that implement WriteableBuffer
 class ArrayBuffer
          A buffer class for reading and writing that is backed by a growable array of bytes.
 class FileWriteableBuffer
          A class for a writeable buffer that encodes data directly to a file, utilizing an in-memory buffer.
 class NIOBuffer
          A buffer that uses java.nio buffers as the backing store.
 class StdBufferImpl
          A abstract class that implements most of the WriteableBuffer and ReadableBuffer interfaces in terms of the two implemented interfaces' get and put methods.
 

Methods in com.sun.labs.minion.util.buffer that return WriteableBuffer
 WriteableBuffer FileWriteableBuffer.append(ReadableBuffer b)
          Appends a readable buffer onto this buffer.
 WriteableBuffer StdBufferImpl.append(ReadableBuffer b)
          Appends a readable buffer onto this buffer.
 WriteableBuffer WriteableBuffer.append(ReadableBuffer b)
          Appends a readable buffer onto this buffer.
 WriteableBuffer ArrayBuffer.append(ReadableBuffer b, int n)
          Appends a given number of bytes from a readable buffer onto this buffer.
 WriteableBuffer FileWriteableBuffer.append(ReadableBuffer b, int n)
          Appends a given number of bytes from a readable buffer onto this buffer.
 WriteableBuffer NIOBuffer.append(ReadableBuffer b, int n)
          Appends a given number of bytes from a readable buffer onto this buffer.
 WriteableBuffer StdBufferImpl.append(ReadableBuffer b, int n)
          Appends a given number of bytes from a readable buffer onto this buffer.
 WriteableBuffer WriteableBuffer.append(ReadableBuffer b, int n)
          Appends a given number of bytes from a readable buffer onto this buffer.
 WriteableBuffer FileWriteableBuffer.byteEncode(int pos, long n, int nBytes)
          Encodes a positive long directly, using a given number of bytes, starting at the given position in the units.
 WriteableBuffer StdBufferImpl.byteEncode(int pos, long n, int nBytes)
          Encodes a positive long directly, using a given number of bytes, starting at the given position in the units.
 WriteableBuffer WriteableBuffer.byteEncode(int pos, long n, int nBytes)
          Encodes a positive long directly, using a given number of bytes, starting at the given position in the buffer.
 WriteableBuffer FileWriteableBuffer.byteEncode(long n, int nBytes)
          Encodes a positive long onto a writeable in a given number of bytes.
 WriteableBuffer StdBufferImpl.byteEncode(long n, int nBytes)
          Encodes a positive long onto a writeable in a given number of bytes.
 WriteableBuffer WriteableBuffer.byteEncode(long n, int nBytes)
          Encodes a long directly, using a given number of bytes.
 WriteableBuffer ArrayBuffer.capacity(int n)
          Sets the capacity of the buffer to the given amount.
 WriteableBuffer FileWriteableBuffer.capacity(int n)
          Sets the capacity of this buffer to the given amount.
 WriteableBuffer NIOBuffer.capacity(int n)
          Sets the capacity of the buffer to the given amount.
 WriteableBuffer WriteableBuffer.capacity(int n)
          Sets the capacity of the buffer to the given amount.
 WriteableBuffer FileWriteableBuffer.clear()
          Clears the buffer.
 WriteableBuffer StdBufferImpl.clear()
          Clears the buffer.
 WriteableBuffer WriteableBuffer.clear()
          Clears out the buffer.
 WriteableBuffer FileWriteableBuffer.encode(java.lang.CharSequence s)
          Encodes a character sequence onto the buffer.
 WriteableBuffer StdBufferImpl.encode(java.lang.CharSequence s)
          Encodes a character sequence onto the buffer.
 WriteableBuffer WriteableBuffer.encode(java.lang.CharSequence s)
          Encodes a character sequence onto this buffer.
 WriteableBuffer FileWriteableBuffer.encode(float f)
          Encodes a floating point value in 4 bytes.
 WriteableBuffer StdBufferImpl.encode(float f)
          Encodes a floating point value in 4 bytes.
 WriteableBuffer WriteableBuffer.encode(float f)
          Encodes a floating point value in 4 bytes.
 WriteableBuffer ArrayBuffer.or(ReadableBuffer b)
          Computes the logical OR of this buffer and another.
 WriteableBuffer FileWriteableBuffer.or(ReadableBuffer b)
          Computes the logical OR of this buffer and another.
 WriteableBuffer NIOBuffer.or(ReadableBuffer b)
          Computes the logical OR of this buffer and another.
 WriteableBuffer WriteableBuffer.or(ReadableBuffer b)
          Computes the logical OR of this buffer and another.
 WriteableBuffer ArrayBuffer.put(byte b)
          Puts a single byte onto this buffer.
 WriteableBuffer FileWriteableBuffer.put(byte b)
          Puts a single byte onto this buffer.
 WriteableBuffer NIOBuffer.put(byte b)
          Puts a single byte onto this buffer.
 WriteableBuffer WriteableBuffer.put(byte b)
          Puts a single byte onto this buffer.
 WriteableBuffer ArrayBuffer.put(byte[] b, int o, int n)
          Puts a number of bytes onto this buffer.
 WriteableBuffer ArrayBuffer.put(int p, byte b)
          Puts a single byte onto this buffer at the given position.
 WriteableBuffer FileWriteableBuffer.put(int p, byte b)
          Puts a single byte onto this buffer at the given position.
 WriteableBuffer NIOBuffer.put(int p, byte b)
          Puts a single byte onto this buffer at the given position.
 WriteableBuffer WriteableBuffer.put(int p, byte b)
          Puts a single byte onto this buffer at the given position.
 WriteableBuffer FileWriteableBuffer.set(int bitIndex)
          Sets the given bit to 1 in the given buffer.
 WriteableBuffer StdBufferImpl.set(int bitIndex)
          Sets the given bit to 1 in the given buffer.
 WriteableBuffer WriteableBuffer.set(int bitIndex)
          Sets the given bit to 1.
 WriteableBuffer ArrayBuffer.xor(ReadableBuffer b)
          Computes the logical XOR of this buffer and another.
 WriteableBuffer FileWriteableBuffer.xor(ReadableBuffer b)
          Computes the logical XOR of this buffer and another.
 WriteableBuffer NIOBuffer.xor(ReadableBuffer b)
          Computes the logical XOR of this buffer and another.
 WriteableBuffer WriteableBuffer.xor(ReadableBuffer b)
          Computes the logical XOR of this buffer and another.