Class UnorderedPrimaryKeyDistinctVisitor


  • public class UnorderedPrimaryKeyDistinctVisitor
    extends RecordQueryPlannerSubstitutionVisitor
    This class moves the index fetch up from the index scan to after a distinct operation has been applied to the records. UnorderedPrimaryKeyDistinct | | RecordQueryPlanWithIndex (Index Lookup) || || V UnorderedPrimaryKeyDistinct (Index Lookup) | | RecordQueryPlanWithIndex (Covering Index)