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

Packages that use ReadableBuffer
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.retrieval Provides the query evaluation capabilities for Minion. 
com.sun.labs.minion.util.buffer Provides interfaces and classes for dealing with readable and writeable buffers of data. 
 

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

Fields in com.sun.labs.minion.classification declared as ReadableBuffer
protected  ReadableBuffer ClassifierDiskPartition.msdOff
          A buffer containing the offsets for the model specific data for each of our classifiers.
 

Methods in com.sun.labs.minion.classification with parameters of type ReadableBuffer
 void Feature.decode(ReadableBuffer b)
          Decodes the information in this feature from the given buffer.
 void WeightedFeature.decode(ReadableBuffer b)
          Decodes the information in this feature from the given buffer.
 void FeatureEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decodes the postings information associated with this entry.
protected  Postings ClusterEntry.getPostings(ReadableBuffer input)
          Gets a set of postings useful at query time.
protected  Postings FeatureEntry.getPostings(ReadableBuffer input)
          Reads the postings for this class, returning a set of postings useful at query time.
 

Constructors in com.sun.labs.minion.classification with parameters of type ReadableBuffer
ClusterPostings(ReadableBuffer b)
          Creates a set of postings suitable for use during querying.
FeaturePostings(ReadableBuffer ino, ReadableBuffer info)
          Creates a set of postings suitable for querying time.
 

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

Fields in com.sun.labs.minion.indexer.dictionary declared as ReadableBuffer
protected  ReadableBuffer BasicField.dtvData
          A buffer containing the actual dtv data at query time.
protected  ReadableBuffer BasicField.dtvOffsets
          A buffer containing the dtv offsets at query time.
protected  ReadableBuffer DiskDictionary.entryInfo
          The information for the entries.
protected  ReadableBuffer DiskDictionary.entryInfoOffsets
          The offsets for the entry information.
protected  ReadableBuffer DiskDictionary.idToPosn
          The map from entry IDs to positions in the dictionary.
protected  ReadableBuffer DiskDictionary.nameOffsets
          The offsets of the names of the uncompressed entries.
protected  ReadableBuffer DiskDictionary.names
          The entry names.
 

Methods in com.sun.labs.minion.indexer.dictionary with parameters of type ReadableBuffer
 java.lang.Object DateNameHandler.decodeName(java.lang.Object prev, ReadableBuffer b)
          Decodes the name of an entry, given a buffer of encoded names and the name of the previous entry in the dictionary.
 java.lang.Object DoubleNameHandler.decodeName(java.lang.Object prev, ReadableBuffer b)
          Decodes the double name of an entry, given a buffer of encoded names and the name of the previous entry in the dictionary.
 java.lang.Object LongNameHandler.decodeName(java.lang.Object prev, ReadableBuffer b)
          Decodes the long name of an entry, given a buffer of encoded names and the name of the previous entry in the dictionary.
 java.lang.Object NameDecoder.decodeName(java.lang.Object prev, ReadableBuffer b)
          Decodes the name of an entry, given a buffer of encoded names and the name of the previous entry in the dictionary.
 java.lang.Object StringNameHandler.decodeName(java.lang.Object prev, ReadableBuffer b)
          Decodes the name of an entry, given a buffer of encoded names and the name of the previous entry in the dictionary.
 

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

Methods in com.sun.labs.minion.indexer.entry with parameters of type ReadableBuffer
 void CasedDFOEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decodes the postings information associated with this entry.
 void CasedEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decodes the postings information associated with this entry.
 void CasedIDEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decodes the postings information associated with this entry.
 void DFOEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decodes the postings information associated with this entry.
 void DocKeyEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decodes the postings information associated with this entry.
 void MPCasedDFOEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decodes the postings information associated with this entry.
 void QueryEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decodes the postings information associated with this entry.
 void SinglePostingsEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decodes the postings information associated with this entry.
 void TermStatsEntry.decodePostingsInfo(ReadableBuffer b, int pos)
           
protected  Postings DFOEntry.getPostings(ReadableBuffer input)
          Reads the postings for this class, returning a set of postings useful at query time.
protected  Postings DocKeyEntry.getPostings(ReadableBuffer input)
          Gets a set of postings useful at query time.
protected  Postings FieldedDocKeyEntry.getPostings(ReadableBuffer input)
          Gets a set of postings useful at query time.
protected  Postings IDEntry.getPostings(ReadableBuffer input)
          Reads the postings for this class, returning a set of postings useful at query time.
protected  Postings IDFreqEntry.getPostings(ReadableBuffer input)
          Reads the postings for this class, returning a set of postings useful at query time.
protected  Postings IDWEntry.getPostings(ReadableBuffer input)
          Reads the postings for this class, returning a set of postings useful at query time.
protected abstract  Postings SinglePostingsEntry.getPostings(ReadableBuffer input)
          Reads the postings for this class, returning a set of postings useful at query time.
 

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

Fields in com.sun.labs.minion.indexer.partition declared as ReadableBuffer
protected  ReadableBuffer[] DocumentVectorLengths.fieldLens
          Buffers containing vector lengths for the vectored fields.
protected  ReadableBuffer[] PartitionManager.Merger.preMaps
          The deletion bitmaps for the partitions at startup.
protected  ReadableBuffer DocumentVectorLengths.vecLens
          A buffer containing the vector lengths for the whole document.
 

Methods in com.sun.labs.minion.indexer.partition that return ReadableBuffer
 ReadableBuffer DiskPartition.getDeletedDocumentsMap()
          Gets the map of deleted documents for this partition.
 ReadableBuffer DelMap.getDelMap()
          Gets the current deletion map.
protected  ReadableBuffer DelMap.syncGetMap()
          A helper that atomically syncs the deletion map and returns the buffer.
 

Methods in com.sun.labs.minion.indexer.partition with parameters of type ReadableBuffer
protected  int[] DiskPartition.getDocIDMap(ReadableBuffer del)
          Returns a map from the document IDs in this partition to IDs in a partition that has no deleted documents.
 

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

Fields in com.sun.labs.minion.indexer.postings declared as ReadableBuffer
protected  ReadableBuffer DFOPostings.DFOIterator.rdfo
          Our postings as a readable buffer.
protected  ReadableBuffer DFOPostings.DFOIterator.rfnp
           
protected  ReadableBuffer IDPostings.IDIterator.rp
          A readable buffer for the postings.
 

Methods in com.sun.labs.minion.indexer.postings with parameters of type ReadableBuffer
protected  void DFOPostings.init(ReadableBuffer b1, ReadableBuffer b2)
           
protected  void IDPostings.skip(ReadableBuffer b)
          Skips a set of postings from another postings entry.
 

Constructors in com.sun.labs.minion.indexer.postings with parameters of type ReadableBuffer
DFOPostings(ReadableBuffer input)
          Makes a postings entry that is useful during querying.
DFOPostings(ReadableBuffer input, int offset, int size, int fnpSize)
          Makes a postings entry that is useful during querying.
DFOPostings(ReadableBuffer b1, ReadableBuffer b2)
           
DocumentVectorPostings(ReadableBuffer b)
          Creates a set of postings suitable for use during querying.
FieldedDocumentVectorPostings(ReadableBuffer b)
          Creates a set of fielded document vector postings from a buffer.
IDFreqPostings(ReadableBuffer b)
          Makes a postings entry that is useful during querying.
IDFreqPostings(ReadableBuffer b, int offset, int size)
          Makes a postings entry that is useful during querying.
IDPostings(ReadableBuffer b)
          Makes a postings entry that is useful during querying.
IDPostings(ReadableBuffer b, int offset, int size)
          Makes a postings entry that is useful during querying.
IDWPostings(ReadableBuffer b)
           
 

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

Classes in com.sun.labs.minion.indexer.postings.io that implement ReadableBuffer
 class FileBackedPostingsInput
          A postings input that extends a file backed buffer.
 

Methods in com.sun.labs.minion.indexer.postings.io that return ReadableBuffer
 ReadableBuffer ChannelPostingsInput.read(long offset, int size)
          Reads postings from the channel.
 ReadableBuffer FileBackedPostingsInput.read(long offset, int size)
          Reads a set of postings, returning them in a buffer suitable for decoding.
 ReadableBuffer FilePostingsInput.read(long offset, int size)
          Returns a set of postings that are backed by the file on disk, so that minimal memory is used.
 ReadableBuffer PostingsInput.read(long offset, int size)
          Reads a set of postings, returning them in a buffer suitable for decoding.
 ReadableBuffer StreamPostingsInput.read(long offset, int size)
          Returns a buffer constructed from our internal buffer.
 

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

Methods in com.sun.labs.minion.lextax with parameters of type ReadableBuffer
 void ConceptEntry.decodePostingsInfo(ReadableBuffer b, int pos)
          Decode a ConceptEntry from the buffer.
 

Uses of ReadableBuffer in com.sun.labs.minion.retrieval
 

Methods in com.sun.labs.minion.retrieval with parameters of type ReadableBuffer
 void ArrayGroup.removeDeleted(ReadableBuffer del)
          Removes deleted documents from the results set, modifying the set in the process.
 void ScoredGroup.removeDeleted(ReadableBuffer del)
          Removes deleted documents from the results set, modifying the set in the process.
 

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

Classes in com.sun.labs.minion.util.buffer that implement ReadableBuffer
 class ArrayBuffer
          A buffer class for reading and writing that is backed by a growable array of bytes.
 class ChannelReadableBuffer
          A readable buffer that's backed by a channel and an in-memory buffer.
 class FileReadableBuffer
          A buffer that can be used to read data from a file, keeping minimal amounts of data in memory.
 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.
 class StdReadableImpl
          A class that implements the decoding routines in ReadableBuffer so that readable only buffer implementations can share it.
 

Methods in com.sun.labs.minion.util.buffer that return ReadableBuffer
 ReadableBuffer ArrayBuffer.duplicate()
          Duplicates this buffer, so that it can be used safely by other readers.
 ReadableBuffer ChannelReadableBuffer.duplicate()
          Duplicates this buffer, so that it can be used safely by other readers.
 ReadableBuffer FileReadableBuffer.duplicate()
          Duplicates this buffer, so that it can be used safely by other readers.
 ReadableBuffer NIOBuffer.duplicate()
          Duplicates this buffer, so that it can be used safely by other readers.
 ReadableBuffer ReadableBuffer.duplicate()
          Duplicates this buffer, so that it can be used safely by other readers.
 ReadableBuffer ArrayBuffer.getReadableBuffer()
          Gets a readable buffer from this writeable one.
 ReadableBuffer FileWriteableBuffer.getReadableBuffer()
          Gets a readable buffer from this writeable one.
 ReadableBuffer NIOBuffer.getReadableBuffer()
          Gets a readable buffer from this writeable one.
 ReadableBuffer WriteableBuffer.getReadableBuffer()
          Gets a readable buffer from this writeable one.
 ReadableBuffer ArrayBuffer.slice(int p, int s)
          Slices this buffer so that a sub-buffer can be used.
 ReadableBuffer ChannelReadableBuffer.slice(int p, int s)
          Slices this buffer so that a sub-buffer can be used.
 ReadableBuffer FileReadableBuffer.slice(int p, int s)
          Slices this buffer so that a sub-buffer can be used.
 ReadableBuffer NIOBuffer.slice(int p, int l)
          Slices this buffer so that a sub-buffer can be used.
 ReadableBuffer ReadableBuffer.slice(int p, int s)
          Slices this buffer so that a sub-buffer can be used.
 

Methods in com.sun.labs.minion.util.buffer with parameters of type ReadableBuffer
 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 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.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.