Interface BuiltInMetadata.Selectivity

    • Method Detail

      • getSelectivity

        java.lang.Double getSelectivity​(RexNode predicate)
        Estimates the percentage of an expression's output rows which satisfy a given predicate. Returns null to indicate that no reliable estimate can be produced.
        predicate - predicate whose selectivity is to be estimated against rel's output
        estimated selectivity (between 0.0 and 1.0), or null if no reliable estimate can be determined