Class RecordUpdate

java.lang.Object
org.teamapps.universaldb.index.versioning.RecordUpdate

public class RecordUpdate
extends java.lang.Object
  • Constructor Details

    • RecordUpdate

      public RecordUpdate​(ResolvedTransactionRecord transactionRecord, int userId, long timestamp, long transactionId)
    • RecordUpdate

      public RecordUpdate​(byte[] bytes) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • createUpdate

      public static RecordUpdate createUpdate​(ResolvedTransaction transaction, ResolvedTransactionRecord record)
    • getBytes

      public byte[] getBytes() throws java.io.IOException
      Throws:
      java.io.IOException
    • getPreviousPosition

      public long getPreviousPosition()
    • setPreviousPosition

      public void setPreviousPosition​(long previousPosition)
    • getTransactionRecord

      public ResolvedTransactionRecord getTransactionRecord()
    • getUserId

      public int getUserId()
    • getTimestamp

      public long getTimestamp()
    • getTransactionId

      public long getTransactionId()
    • getRecordType

      public ResolvedTransactionRecordType getRecordType()
    • getRecordValues

      public java.util.List<ResolvedTransactionRecordValue> getRecordValues()
    • getValue

      public ResolvedTransactionRecordValue getValue​(int columnId)
    • getTableId

      public int getTableId()
    • getRecordId

      public int getRecordId()