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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.mom4j.ostore.Index
      extended byorg.mom4j.ostore.DataIndex
          extended byorg.mom4j.ostore.LongIndex

public final class LongIndex
extends DataIndex


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

Constructor Detail

LongIndex

LongIndex(java.lang.String name)
Method Detail

checkIndexEntry

void checkIndexEntry(IndexEntry entry)
               throws InvalidIndexEntryException
Overrides:
checkIndexEntry in class Index

readIndexValue

java.lang.Object readIndexValue()
                          throws java.io.IOException
Specified by:
readIndexValue in class Index

writeIndexValue

void writeIndexValue(IndexEntry entry)
               throws java.io.IOException
Specified by:
writeIndexValue in class Index

getIndexEntrySize

int getIndexEntrySize()
Specified by:
getIndexEntrySize in class Index