Interface Attributes

All Known Implementing Classes:
Append, Delete, Get, ImmutableScan, Increment, InternalScan, Mutation, OperationWithAttributes, Put, Query, Scan

@Public public interface Attributes
  • Method Details

    • setAttribute

      Attributes setAttribute(String name, byte[] value)
      Sets an attribute. In case value = null attribute is removed from the attributes map. Attribute names starting with _ indicate system attributes.
      Parameters:
      name - attribute name
      value - attribute value
    • getAttribute

      byte[] getAttribute(String name)
      Gets an attribute
      Parameters:
      name - attribute name
      Returns:
      attribute value if attribute is set, null otherwise
    • getAttributesMap

      Gets all attributes
      Returns:
      unmodifiable map of all attributes