Class AttributeFamilyDescriptor

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AttributeFamilyProxyDescriptor

    @Evolving
    public class AttributeFamilyDescriptor
    extends java.lang.Object
    implements java.io.Serializable
    A family of attributes with the same storage.
    See Also:
    Serialized Form
    • Field Detail

      • CFG_REPLICATION_CONSUMER_NAME_GENERATOR

        public static final java.lang.String CFG_REPLICATION_CONSUMER_NAME_GENERATOR
        See Also:
        Constant Field Values
    • Method Detail

      • getCfg

        public java.util.Map<java.lang.String,​java.lang.Object> getCfg()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getSource

        public java.util.Optional<java.lang.String> getSource()
        Retrieve optional name of source attribute family, if this is replica. The source might not be explicitly specified (in which case this method returns Optional.empty() and the source is determined automatically.
        Returns:
        optional specified source family
      • isProxy

        public boolean isProxy()
        Check if this proxied family.
        Returns:
        true if proxied family