Class RecordUpdate
java.lang.Object
org.teamapps.universaldb.index.versioning.RecordUpdate
public class RecordUpdate
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description RecordUpdate(byte[] bytes)RecordUpdate(ResolvedTransactionRecord transactionRecord, int userId, long timestamp, long transactionId) -
Method Summary
Modifier and Type Method Description static RecordUpdatecreateUpdate(ResolvedTransaction transaction, ResolvedTransactionRecord record)byte[]getBytes()longgetPreviousPosition()intgetRecordId()ResolvedTransactionRecordTypegetRecordType()java.util.List<ResolvedTransactionRecordValue>getRecordValues()intgetTableId()longgetTimestamp()longgetTransactionId()ResolvedTransactionRecordgetTransactionRecord()intgetUserId()ResolvedTransactionRecordValuegetValue(int columnId)voidsetPreviousPosition(long previousPosition)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
getUserId
public int getUserId() -
getTimestamp
public long getTimestamp() -
getTransactionId
public long getTransactionId() -
getRecordType
-
getRecordValues
-
getValue
-
getTableId
public int getTableId() -
getRecordId
public int getRecordId()
-