|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bsvrz.ars.ars.persistence.index.IndexEntryMonotone
public class IndexEntryMonotone
Repräsentiert einen Eintrag im monotonen Index. Dieser besteht aus Datenindex-Minimum, Datenindex-Maximum, Archivzeit-Minimum, Archivzeit-Maximum, Datenzeit-Minimum, Datenzeit-Maximum und der Container-ID, auf die sich die Min/Max-Werte beziehen.
| Field Summary | |
|---|---|
private static int |
AT_MAX_POS
|
private static int |
AT_MIN_POS
|
private static int |
CID_POS
|
private static int |
DI_MAX_POS
|
private static int |
DI_MIN_POS
|
private static int |
DT_MAX_POS
|
private static int |
DT_MIN_POS
|
static int |
ENTRY_LEN
|
| Constructor Summary | |
|---|---|
IndexEntryMonotone()
|
|
| Method Summary | |
|---|---|
static long |
get(ATimeMonotoneIndex.Key entrVal,
boolean min,
byte[] buf,
int pos)
Liefert das Maximum des spezifizierten Indexart des Eintrags an der angegebenen Stelle. |
static long |
getATimeMax(byte[] buf,
int pos)
Liefert das Archivzeit-Maximum des Eintrags an der angegebenen Stelle. |
static long |
getATimeMin(byte[] buf,
int pos)
Liefert das Archivzeit-Minimum des Eintrags an der angegebenen Stelle. |
static long |
getCID(byte[] buf,
int pos)
Liefert die Container-ID des Eintrags an der angegebenen Stelle. |
static long |
getDIdxMax(byte[] buf,
int pos)
Liefert das Datenindex-Maximum des Eintrags an der angegebenen Stelle. |
static long |
getDIdxMin(byte[] buf,
int pos)
Liefert das Datenindex-Minimum des Eintrags an der angegebenen Stelle. |
static long |
getDTimeMax(byte[] buf,
int pos)
Liefert das Archivzeit-Maximum des Eintrags an der angegebenen Stelle. |
static long |
getDTimeMin(byte[] buf,
int pos)
Liefert das Archivzeit-Minimum des Eintrags an der angegebenen Stelle. |
static void |
setEntry(byte[] buf,
int pos,
long dIMin,
long dIMax,
long aTMin,
long aTMax,
long dTMin,
long dTMax,
long cID)
Setzt einen Eintrag entsprechend der uebergebenen Werte an der angegebenen Stelle im angegebenen Feld. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int DI_MIN_POS
private static final int DI_MAX_POS
private static final int AT_MIN_POS
private static final int AT_MAX_POS
private static final int DT_MIN_POS
private static final int DT_MAX_POS
private static final int CID_POS
public static final int ENTRY_LEN
| Constructor Detail |
|---|
public IndexEntryMonotone()
| Method Detail |
|---|
public static void setEntry(byte[] buf,
int pos,
long dIMin,
long dIMax,
long aTMin,
long aTMax,
long dTMin,
long dTMax,
long cID)
buf - Speicherbereich des Indexpos - Position des Neueintrags in BytesdIMin - Datenindex-MinimumdIMax - Datenindex-MaximumaTMin - Archivzeit-MinimumaTMax - Archivzeit-MaximumdTMin - Datenzeit-MinimumdTMax - Datenzeit-MaximumcID - Container-ID
public static long getDIdxMin(byte[] buf,
int pos)
buf - Speicherbereich des Indexpos - Position des Eintrags in Eintraegen gezaehlt
public static long getDIdxMax(byte[] buf,
int pos)
buf - Speicherbereich des Indexpos - Position des Eintrags in Eintraegen gezaehlt
public static long getATimeMin(byte[] buf,
int pos)
buf - Speicherbereich des Indexpos - Position des Eintrags in Eintraegen gezaehlt
public static long getATimeMax(byte[] buf,
int pos)
buf - Speicherbereich des Indexpos - Position des Eintrags in Eintraegen gezaehlt
public static long getDTimeMin(byte[] buf,
int pos)
buf - Speicherbereich des Indexpos - Position des Eintrags in Eintraegen gezaehlt
public static long getDTimeMax(byte[] buf,
int pos)
buf - Speicherbereich des Indexpos - Position des Eintrags in Eintraegen gezaehlt
public static long get(ATimeMonotoneIndex.Key entrVal,
boolean min,
byte[] buf,
int pos)
entrVal - Indexart (Datenindex oder Archivzeit)buf - Speicherbereich des Indexpos - Position des Eintrags in Eintraegen gezaehlt
public static long getCID(byte[] buf,
int pos)
buf - Speicherbereich des Indexpos - Position des Eintrags in Bytes
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||