Class DirectAttributeFamilyDescriptor

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

    public class DirectAttributeFamilyDescriptor
    extends java.lang.Object
    implements java.io.Serializable
    Attribute descriptor with associated accessors.
    See Also:
    Serialized Form
    • Method Detail

      • 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
      • getWriter

        public java.util.Optional<AttributeWriterBase> getWriter()
        Retrieve writer for this family. Empty if this family is not writable.
        Returns:
        optional AttributeWriterBase of this family
      • getCommitLogReader

        public java.util.Optional<CommitLogReader> getCommitLogReader()
        Retrieve a commit log reader of this family. Empty if this attribute family is not a commit log.
        Returns:
        optional CommitLogReader of this family
      • getBatchReader

        public java.util.Optional<BatchLogReader> getBatchReader()
        Retrieve batch reader of this family.
        Returns:
        optional BatchLogReader of this family
      • getRandomAccessReader

        public java.util.Optional<RandomAccessReader> getRandomAccessReader()
        Retrieve a random access reader. Empty if this attribute family is not a random access.
        Returns:
        optional RandomAccessReader of this family
      • getCachedView

        public java.util.Optional<CachedView> getCachedView()
        Retrieve cached view. Empty if the attribute family cannot create cached view.
        Returns:
        optional CachedView of this family
      • 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