Package

org.apache.spark.sql.catalyst

expressions

Permalink

package expressions

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

Type Members

  1. case class DynamicFoldableExpression(expr: Expression) extends Expression with DynamicReplacableConstant with Product with Serializable

    Permalink

    Wrap any ParamLiteral expression with this so that we can generate literal initialization code within the .init() method of the generated class.

    Wrap any ParamLiteral expression with this so that we can generate literal initialization code within the .init() method of the generated class.

    We try to locate first foldable expression in a query tree such that all its child is foldable but parent isn't. That way we locate the exact point where an expression is safe to evalute once instead of evaluating every row.

    Expressions like select c from tab where case col2 when 1 then col3 else 'y' end = 22 like queries doesn't converts literal evaluation into init method.

    expr

    minimal expression tree that can be evaluated only once and turn into a constant.

  2. trait DynamicReplacableConstant extends AnyRef

    Permalink
  3. case class LiteralValue(value: Any, dataType: DataType, position: Int)(converter: (Any) ⇒ Any = createToScalaConverter(dataType)) extends KryoSerializable with Product with Serializable

    Permalink
  4. class ParamLiteral extends Literal with DynamicReplacableConstant

    Permalink

Value Members

  1. val EmptyRow: InternalRow

    Permalink
  2. object ParamLiteral extends Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped