Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mom4j.ostore
Class DataIndex  view DataIndex download DataIndex.java

java.lang.Object
  extended byorg.mom4j.ostore.Index
      extended byorg.mom4j.ostore.DataIndex
Direct Known Subclasses:
BooleanIndex, IntIndex, LongIndex, StringIndex

public abstract class DataIndex
extends Index


Field Summary
protected  java.util.ArrayList entries
           
 
Fields inherited from class org.mom4j.ostore.Index
file, firstEntryPtr, HEADER_LENGTH, lastEntryPtr, MAX_NAME_LENGTH, name, type
 
Constructor Summary
protected DataIndex(java.lang.String name, IndexType type)
           
 
Method Summary
(package private)  void addEntry(IndexEntry entry)
           
(package private)  java.util.Collection getMatches(IndexQuery query)
           
(package private)  java.util.Collection removeIndexEntries(java.lang.Long objectId)
           
 
Methods inherited from class org.mom4j.ostore.Index
add, add, checkIndexEntry, create, getIndexEntrySize, getName, getType, read, readIndexValue, remove, setRandomAccessFile, toString, writeHeader, writeIndexValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

entries

protected java.util.ArrayList entries
Constructor Detail

DataIndex

protected DataIndex(java.lang.String name,
                    IndexType type)
Method Detail

addEntry

void addEntry(IndexEntry entry)
Specified by:
addEntry in class Index

removeIndexEntries

java.util.Collection removeIndexEntries(java.lang.Long objectId)
Specified by:
removeIndexEntries in class Index

getMatches

java.util.Collection getMatches(IndexQuery query)
Specified by:
getMatches in class Index