org.basex.index
Class IndexEntry

java.lang.Object
  extended by org.basex.index.IndexEntry

public final class IndexEntry
extends java.lang.Object

This class provides a single index entry.

Author:
BaseX Team 2005-12, BSD License, Dimitar Popov

Field Summary
 byte[] key
          Entry key.
 long pointer
          Pointer to the id list for the key.
 int size
          Number of index hits for the key.
 
Constructor Summary
IndexEntry(byte[] k, int s, long p)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public final byte[] key
Entry key.


size

public int size
Number of index hits for the key.


pointer

public long pointer
Pointer to the id list for the key.

Constructor Detail

IndexEntry

public IndexEntry(byte[] k,
                  int s,
                  long p)
Constructor.

Parameters:
k - key
s - number of hits
p - pointer to the id list