java.lang.Object
org.apache.jena.tdb1.base.record.Record

public final class Record extends Object
A record is pair of key and value. It may be all key, in which case value is null.
  • Field Details

    • NO_REC

      public static final Record NO_REC
  • Constructor Details

    • Record

      public Record(byte[] key, byte[] value)
  • Method Details

    • getKey

      public byte[] getKey()
    • getValue

      public byte[] getValue()
    • hasSeparateValue

      public boolean hasSeparateValue()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class 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 String str(byte[] b)
    • compareByKey

      public static int compareByKey(Record record1, Record record2)
    • compareByKeyValue

      public static int compareByKeyValue(Record record1, Record record2)