Class DbTransaction

java.lang.Object
org.teamapps.protocol.message.Message
org.teamapps.cluster.model.cluster.DbTransaction

public class DbTransaction
extends org.teamapps.protocol.message.Message
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.util.function.Function<byte[],​DbTransaction> DECODER_FUNCTION  
    static int ROOT_FIELD_ID  

    Fields inherited from class org.teamapps.protocol.message.Message

    ENCODER
  • Constructor Summary

    Constructors
    Constructor Description
    DbTransaction()  
    DbTransaction​(byte[] bytes)  
    DbTransaction​(byte[] bytes, org.teamapps.protocol.file.FileProvider fileProvider)  
    DbTransaction​(java.io.DataInputStream dis)  
    DbTransaction​(java.io.DataInputStream dis, org.teamapps.protocol.file.FileProvider fileProvider)  
    DbTransaction​(java.nio.ByteBuffer buf)  
  • Method Summary

    Modifier and Type Method Description
    byte[] getBytes()  
    static org.teamapps.protocol.message.MessageDecoder<DbTransaction> getMessageDecoder()  
    DbTransaction setBytes​(byte[] value)  

    Methods inherited from class org.teamapps.protocol.message.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, setPropertyValue, setSingleReference, setValue, toBytes, toBytes, toString, write, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • DECODER_FUNCTION

      public static final java.util.function.Function<byte[],​DbTransaction> 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, org.teamapps.protocol.file.FileProvider fileProvider) throws java.io.IOException
      Throws:
      java.io.IOException
    • DbTransaction

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

      public DbTransaction​(byte[] bytes, org.teamapps.protocol.file.FileProvider fileProvider) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • getMessageDecoder

      public static org.teamapps.protocol.message.MessageDecoder<DbTransaction> getMessageDecoder()
    • getBytes

      public byte[] getBytes()
    • setBytes

      public DbTransaction setBytes​(byte[] value)