Interface DatabaseRecord<T extends FieldEnum>

All Known Implementing Classes:
ArchivedClassTypeInfoRecord, ArchivedGnuVtableRecord, ClassTypeInfoRecord, VtableRecord

public interface DatabaseRecord<T extends FieldEnum>
  • Method Details

    • getSchema

      Schema getSchema()
    • copy

      DatabaseRecord<T> copy()
    • getBinaryData

      byte[] getBinaryData​(T type)
    • getBooleanValue

      boolean getBooleanValue​(T type)
    • getByteValue

      byte getByteValue​(T type)
    • getColumnCount

      int getColumnCount()
    • getFieldValue

      Field getFieldValue​(T type)
    • getIntValue

      int getIntValue​(T type)
    • getKey

      long getKey()
    • getKeyField

      Field getKeyField()
    • getLongValue

      long getLongValue​(T type)
    • getShortValue

      short getShortValue​(T type)
    • getStringValue

      String getStringValue​(T type)
    • getLongArray

      long[] getLongArray​(T type)
    • getIntArray

      int[] getIntArray​(T type)
    • hasSameSchema

      boolean hasSameSchema​(DBRecord other)
    • hasSameSchema

      boolean hasSameSchema​(Schema schema)
    • isDirty

      boolean isDirty()
    • length

      int length()
    • read

      void read​(Buffer buf, int offset) throws IOException
      Throws:
      IOException
    • setBinaryData

      void setBinaryData​(T type, byte[] bytes)
    • setBooleanValue

      void setBooleanValue​(T type, boolean value)
    • setByteValue

      void setByteValue​(T type, byte value)
    • setFieldValue

      void setFieldValue​(T type, Field field)
    • setIntValue

      void setIntValue​(T type, int value)
    • setLongValue

      void setLongValue​(T type, long value)
    • setShortValue

      void setShortValue​(T type, short value)
    • setStringValue

      void setStringValue​(T type, String value)
    • setLongArray

      void setLongArray​(T type, long[] values)
    • setIntArray

      void setIntArray​(T type, int[] values)
    • setKey

      void setKey​(long key)
    • setKey

      void setKey​(Field key)
    • write

      void write​(Buffer buf, int offset) throws IOException
      Throws:
      IOException
    • getRecord

      DBRecord getRecord()