Interface RecordQueryPlanWithChildren

    • Method Detail

      • hasRecordScan

        default boolean hasRecordScan()
        Description copied from interface: QueryPlan
        Indicates whether this plan (or one of its components) scans at least a subset of the record range directly rather than going through a secondary index. A plan may only scan over a subset of all records. Someone might not use any secondary indexes explicitly, but they might make use of the primary key index. For example, if they had a compound primary key, and they issued a query for all records that had some value for the first element of their primary key, the planner will produce a plan which scans over a subset of all records.
        Specified by:
        hasRecordScan in interface QueryPlan<FDBQueriedRecord<Message>>
        Returns:
        true if this plan (or one of its components) scans at least a subset of the records directly
      • hasFullRecordScan

        default boolean hasFullRecordScan()
        Description copied from interface: QueryPlan
        Indicates whether this plan (or one of its components) must perform a scan over all records in the store directly rather than going through a secondary index. See hasRecordScan for the comparison between two methods.
        Specified by:
        hasFullRecordScan in interface QueryPlan<FDBQueriedRecord<Message>>
        Returns:
        true if this plan (or one of its components) must perform a scan over all records in the store directly
      • hasIndexScan

        default boolean hasIndexScan​(@Nonnull
                                     String indexName)
        Description copied from interface: QueryPlan
        Indicates whether this plan scans the given index.
        Specified by:
        hasIndexScan in interface QueryPlan<FDBQueriedRecord<Message>>
        Parameters:
        indexName - the name of the index to check for
        Returns:
        true if this plan (or one of its children) scans the given index
      • hasLoadBykeys

        default boolean hasLoadBykeys()
        Description copied from interface: QueryPlan
        Indicates whether this plan (or one of its components) loads records by their primary key.
        Specified by:
        hasLoadBykeys in interface QueryPlan<FDBQueriedRecord<Message>>
        Returns:
        true if this plan (or one of its components) loads records by their primary key