Class CoreTransactionGetResult

java.lang.Object
com.couchbase.client.core.transaction.CoreTransactionGetResult

@Internal public class CoreTransactionGetResult extends Object
Represents a value fetched from Couchbase, along with additional transactional metadata.
  • Constructor Details

    • CoreTransactionGetResult

      @Internal public CoreTransactionGetResult(String id, @Nullable byte[] content, int userFlags, long cas, CollectionIdentifier collection, @Nullable TransactionLinks links, Optional<DocumentMetadata> documentMetadata, Optional<com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonNode> txnMeta, Optional<String> crc32OfGet)
      Note that it's intentionally obfuscated here as to whether both content and userFlags come from the document's current body, or staged in the transactional metadata. The MAV read resolution has been performed by this point.
      Parameters:
      content - will be nullable for tombstones, and some niche cases like REMOVE to REPLACE on same doc
  • Method Details