Package org.apache.jena.dboe.base.record
Class Record
- java.lang.Object
-
- org.apache.jena.dboe.base.record.Record
-
public final class Record extends java.lang.ObjectA record is pair of key and value. It may be all key, in which case value is null.
-
-
Constructor Summary
Constructors Constructor Description Record(byte[] key, byte[] value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intcompareByKey(Record record1, Record record2)static intcompareByKeyValue(Record record1, Record record2)booleanequals(java.lang.Object other)static booleanequals(Record record1, Record record2)Is (key, value) of record1 equal to (key,value) of record2byte[]getKey()byte[]getValue()inthashCode()booleanhasSeparateValue()static booleankeyEQ(Record record1, Record record2)Is the key of record1 == key of record2static booleankeyGE(Record record1, Record record2)Is the key of record1 >= key of record2static booleankeyGT(Record record1, Record record2)Is the key of record1 > key of record2static booleankeyLE(Record record1, Record record2)Is the key of record1 <= key of record2static booleankeyLT(Record record1, Record record2)Is the key of record1 < key of record2static booleankeyNE(Record record1, Record record2)Is the key of record1 != key of record2static java.lang.Stringstr(byte[] b)java.lang.StringtoString()
-
-
-
Field Detail
-
NO_REC
public static final Record NO_REC
-
-
Method Detail
-
getKey
public byte[] getKey()
-
getValue
public byte[] getValue()
-
hasSeparateValue
public boolean hasSeparateValue()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
keyEQ
public static boolean keyEQ(Record record1, Record record2)
Is the key of record1 == key of record2
-
keyNE
public static boolean keyNE(Record record1, Record record2)
Is the key of record1 != key of record2
-
keyLT
public static boolean keyLT(Record record1, Record record2)
Is the key of record1 < key of record2
-
keyLE
public static boolean keyLE(Record record1, Record record2)
Is the key of record1 <= key of record2
-
keyGE
public static boolean keyGE(Record record1, Record record2)
Is the key of record1 >= key of record2
-
keyGT
public static boolean keyGT(Record record1, Record record2)
Is the key of record1 > key of record2
-
equals
public static boolean equals(Record record1, Record record2)
Is (key, value) of record1 equal to (key,value) of record2
-
str
public static java.lang.String str(byte[] b)
-
-