Class DbTransaction
java.lang.Object
org.teamapps.cluster.dto.Message
org.teamapps.cluster.model.cluster.DbTransaction
public class DbTransaction extends Message
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Function<byte[],DbTransaction>DECODER_FUNCTIONstatic intROOT_FIELD_ID -
Constructor Summary
Constructors Constructor Description DbTransaction()DbTransaction(byte[] bytes)DbTransaction(byte[] bytes, FileProvider fileProvider)DbTransaction(java.io.DataInputStream dis)DbTransaction(java.io.DataInputStream dis, FileProvider fileProvider)DbTransaction(java.nio.ByteBuffer buf) -
Method Summary
Modifier and Type Method Description byte[]getBytes()static MessageDecoder<DbTransaction>getMessageDecoder()DbTransactionsetBytes(byte[] value)Methods inherited from class org.teamapps.cluster.dto.Message
addMessage, addMultiReference, explain, getBitSetValue, getBitSetValue, getBitSetValue, getBooleanValue, getBooleanValue, getBooleanValue, getByteArrayValue, getByteArrayValue, getByteArrayValue, getByteValue, getByteValue, getByteValue, getDoubleArrayValue, getDoubleArrayValue, getDoubleArrayValue, getDoubleValue, getDoubleValue, getDoubleValue, getField, getFieldId, getFileValue, getFileValue, getFloatArrayValue, getFloatArrayValue, getFloatArrayValue, getFloatValue, getFloatValue, getFloatValue, getIntArrayValue, getIntArrayValue, getIntArrayValue, getIntValue, getIntValue, getIntValue, getLongArrayValue, getLongArrayValue, getLongArrayValue, getLongValue, getLongValue, getLongValue, getMessageByFieldId, getMessageByFieldName, getMessageFieldId, getMessageList, getMessageList, getMessageObject, getMessageObject, getMessageObjectValue, getMessageObjectValue, getMessageObjectValue, getMessageValue, getStringArrayValue, getStringArrayValue, getStringArrayValue, getStringValue, getStringValue, getStringValue, isMultiReference, isObject, isObjectOrMultiReference, isObjectReference, isSingleReference, setPropertyValue, setSingleReference, setValue, toBytes, toBytes, toString, write, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
DECODER_FUNCTION
-
ROOT_FIELD_ID
public static final int ROOT_FIELD_ID- See Also:
- Constant Field Values
-
-
Constructor Details
-
DbTransaction
public DbTransaction() -
DbTransaction
public DbTransaction(java.nio.ByteBuffer buf) -
DbTransaction
public DbTransaction(java.io.DataInputStream dis) throws java.io.IOException- Throws:
java.io.IOException
-
DbTransaction
public DbTransaction(java.io.DataInputStream dis, FileProvider fileProvider) throws java.io.IOException- Throws:
java.io.IOException
-
DbTransaction
public DbTransaction(byte[] bytes) throws java.io.IOException- Throws:
java.io.IOException
-
DbTransaction
- Throws:
java.io.IOException
-
-
Method Details
-
getMessageDecoder
-
getBytes
public byte[] getBytes() -
setBytes
-