c

io.delta.hive

IndexPredicateAnalyzer

class IndexPredicateAnalyzer extends AnyRef

Copy from Hive org.apache.hadoop.hive.ql.index.IndexPredicateAnalyzer IndexPredicateAnalyzer decomposes predicates, separating the parts which can be satisfied by an index from the parts which cannot. Currently, it only supports pure conjunctions over binary expressions comparing a column reference with a constant value. It is assumed that all column aliases encountered refer to the same table.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndexPredicateAnalyzer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IndexPredicateAnalyzer()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addComparisonOp(columnName: String, udfs: <repeated...>[String]): Unit

    add allowed functions per column

  5. def addComparisonOp(udfName: String): Unit

    Registers a comparison operator as one which can be satisfied by an index search.

    Registers a comparison operator as one which can be satisfied by an index search. Unless this is called, analyzePredicate will never find any indexable conditions.

    udfName

    name of comparison operator as returned by either GenericUDFBridge#getUdfName (for simple UDF's) or udf.getClass().getName() (for generic UDF's).

  6. def allowColumnName(columnName: String): Unit

    Adds a column name to the set of column names allowed.

    Adds a column name to the set of column names allowed.

    columnName

    name of column to be allowed

  7. def analyzePredicate(predicate: ExprNodeDesc, searchConditions: List[IndexSearchCondition]): ExprNodeDesc

    Analyzes a predicate.

    Analyzes a predicate.

    predicate

    predicate to be analyzed

    searchConditions

    receives conditions produced by analysis

    returns

    residual predicate which could not be translated to searchConditions

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearAllowedColumnNames(): Unit

    Clears the set of column names allowed in comparisons.

    Clears the set of column names allowed in comparisons. (Initially, all column names are allowed.)

  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def translateOriginalConditions(searchConditions: List[IndexSearchCondition]): ExprNodeGenericFuncDesc

    Translates original conditions back to ExprNodeDesc form (as a left-deep conjunction).

    Translates original conditions back to ExprNodeDesc form (as a left-deep conjunction).

    searchConditions

    (typically produced by analyzePredicate)

    returns

    ExprNodeGenericFuncDesc form of search conditions

  23. def translateSearchConditions(searchConditions: List[IndexSearchCondition]): ExprNodeGenericFuncDesc

    Translates search conditions back to ExprNodeDesc form (as a left-deep conjunction).

    Translates search conditions back to ExprNodeDesc form (as a left-deep conjunction).

    searchConditions

    (typically produced by analyzePredicate)

    returns

    ExprNodeGenericFuncDesc form of search conditions

  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped