Class FrameBasedIndexedTable

    • Method Detail

      • version

        public String version()
        Description copied from interface: IndexedTable
        Returns the version of this table, used to compare against when loading a new version of the table
        Specified by:
        version in interface IndexedTable
      • rowSignature

        public RowSignature rowSignature()
        Description copied from interface: IndexedTable
        Returns the signature of this table, which includes all key columns (as well as other columns that can be selected, but are not keys).
        Specified by:
        rowSignature in interface IndexedTable
      • numRows

        public int numRows()
        Description copied from interface: IndexedTable
        Returns the number of rows in this table. It must not change over time, since it is used for things like algorithm selection and reporting of cardinality metadata.
        Specified by:
        numRows in interface IndexedTable
      • isCacheable

        public boolean isCacheable()
        Description copied from interface: IndexedTable
        Returns whether this indexed table can be cached for the join operations
        Specified by:
        isCacheable in interface IndexedTable
      • acquireReferences

        public Optional<Closeable> acquireReferences()
        Description copied from interface: ReferenceCountedObject
        This method is expected to increment a reference count and provide a Closeable that decrements the reference count when closed. This is likely just a wrapper around ReferenceCountingCloseableObject.incrementReferenceAndDecrementOnceCloseable(), but may also include any other associated references which should be incremented when this method is called, and decremented/released by the closeable. IMPORTANT NOTE: to fulfill the contract of this method, implementors must return a closeable to indicate that the reference can be acquired, even if there is nothing to close. Implementors should avoid allowing this method or the Closeable it creates to throw exceptions. For callers: if this method returns non-empty, IT MUST BE CLOSED, else reference counts can potentially leak.
        Specified by:
        acquireReferences in interface ReferenceCountedObject