Class FDBQueriedRecord<M extends Message>

  • Type Parameters:
    M - type used to represent stored records
    All Implemented Interfaces:
    FDBRecord<M>

    @API(MAINTAINED)
    public abstract class FDBQueriedRecord<M extends Message>
    extends Object
    implements FDBRecord<M>
    A record returned by a query and therefore possibly associated with a particular entry in some index.
    • Constructor Detail

      • FDBQueriedRecord

        public FDBQueriedRecord()
    • Method Detail

      • getStoredRecord

        @Nullable
        public abstract FDBStoredRecord<M> getStoredRecord()
        Get the stored record, if any, that produced this query result record. null if this query result record was assembled without loading the whole record, for example, from a covering index.
        Returns:
        the stored record form of this record
      • getIndex

        @Nullable
        public abstract Index getIndex()
        Get the index, if any, that produced this query result record. null if this query result record was gotten by some other means than an index scan.
        Returns:
        the index that was queried to produce this record
      • getIndexEntry

        @Nullable
        public abstract IndexEntry getIndexEntry()
        Get the index entry, if any, that produced this query result record. null if this query result record was gotten by direct lookup or scan and not an index.
        Returns:
        this record's index entry