public static class IndexData.Entry extends Object implements Comparable<IndexData.Entry>
Modifier and Type | Method and Description |
---|---|
protected IndexData.Entry |
asNodeEntry(Integer subPageNumber)
Returns a copy of this entry as a node Entry with the given
subPageNumber.
|
int |
compareTo(IndexData.Entry other) |
protected org.apache.commons.lang.builder.ToStringBuilder |
entryBytesToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder sb) |
boolean |
equals(Object o) |
boolean |
equalsEntryBytes(IndexData.Entry o) |
protected byte[] |
getEntryBytes() |
RowIdImpl |
getRowId() |
Integer |
getSubPageNumber() |
IndexData.EntryType |
getType() |
int |
hashCode() |
boolean |
isLeafEntry() |
boolean |
isValid() |
protected int |
size()
Size of this entry in the db.
|
String |
toString() |
protected void |
write(ByteBuffer buffer,
byte[] prefix)
Write this entry into a buffer
|
public RowIdImpl getRowId()
public IndexData.EntryType getType()
public Integer getSubPageNumber()
public boolean isLeafEntry()
public boolean isValid()
protected final byte[] getEntryBytes()
protected int size()
protected void write(ByteBuffer buffer, byte[] prefix) throws IOException
IOException
protected final org.apache.commons.lang.builder.ToStringBuilder entryBytesToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder sb)
public boolean equalsEntryBytes(IndexData.Entry o)
true
iff the entryBytes are equal between this
Entry and the given Entrypublic int compareTo(IndexData.Entry other)
compareTo
in interface Comparable<IndexData.Entry>
protected IndexData.Entry asNodeEntry(Integer subPageNumber)
Copyright © 2005–2018. All rights reserved.