Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

com.healthmarketscience.jackcess
Class IndexData.Entry

java.lang.Object
  extended by com.healthmarketscience.jackcess.IndexData.Entry
All Implemented Interfaces:
java.lang.Comparable<IndexData.Entry>
Enclosing class:
IndexData

public static class IndexData.Entry
extends java.lang.Object
implements java.lang.Comparable<IndexData.Entry>

A single leaf entry in an index (points to a single row)


Method Summary
protected  IndexData.Entry asNodeEntry(java.lang.Integer subPageNumber)
          Returns a copy of this entry as a node Entry with the given subPageNumber.
 int compareTo(IndexData.Entry other)
           
protected  java.lang.String entryBytesToString()
           
 boolean equals(java.lang.Object o)
           
 boolean equalsEntryBytes(IndexData.Entry o)
           
protected  byte[] getEntryBytes()
           
 RowId getRowId()
           
 java.lang.Integer getSubPageNumber()
           
 IndexData.EntryType getType()
           
 int hashCode()
           
 boolean isLeafEntry()
           
 boolean isValid()
           
protected  int size()
          Size of this entry in the db.
 java.lang.String toString()
           
protected  void write(java.nio.ByteBuffer buffer, byte[] prefix)
          Write this entry into a buffer
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getRowId

public RowId getRowId()

getType

public IndexData.EntryType getType()

getSubPageNumber

public java.lang.Integer getSubPageNumber()

isLeafEntry

public boolean isLeafEntry()

isValid

public boolean isValid()

getEntryBytes

protected final byte[] getEntryBytes()

size

protected int size()
Size of this entry in the db.


write

protected void write(java.nio.ByteBuffer buffer,
                     byte[] prefix)
              throws java.io.IOException
Write this entry into a buffer

Throws:
java.io.IOException

entryBytesToString

protected final java.lang.String entryBytesToString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

equalsEntryBytes

public boolean equalsEntryBytes(IndexData.Entry o)
Returns:
true iff the entryBytes are equal between this Entry and the given Entry

compareTo

public int compareTo(IndexData.Entry other)
Specified by:
compareTo in interface java.lang.Comparable<IndexData.Entry>

asNodeEntry

protected IndexData.Entry asNodeEntry(java.lang.Integer subPageNumber)
Returns a copy of this entry as a node Entry with the given subPageNumber.


Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013