Object

org.apache.spark.sql.catalyst.expressions.codegen

GenerateOrdering

Related Doc: package codegen

Permalink

object GenerateOrdering extends CodeGenerator[Seq[SortOrder], Ordering[InternalRow]] with Logging

Generates bytecode for an Ordering of rows for a given set of expressions.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenerateOrdering
  2. CodeGenerator
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bind(in: Seq[SortOrder], inputSchema: Seq[Attribute]): Seq[SortOrder]

    Permalink

    Binds an input expression to a given input schema

    Binds an input expression to a given input schema

    Attributes
    protected
    Definition Classes
    GenerateOrderingCodeGenerator
  6. def canonicalize(in: Seq[SortOrder]): Seq[SortOrder]

    Permalink

    Canonicalizes an input expression.

    Canonicalizes an input expression. Used to avoid double caching expressions that differ only cosmetically.

    Attributes
    protected
    Definition Classes
    GenerateOrderingCodeGenerator
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def compile(code: CodeAndComment): GeneratedClass

    Permalink

    Compile the Java source code into a Java class, using Janino.

    Compile the Java source code into a Java class, using Janino.

    Attributes
    protected
    Definition Classes
    CodeGenerator
  9. def create(ordering: Seq[SortOrder]): BaseOrdering

    Permalink

    Generates a class for a given input expression.

    Generates a class for a given input expression. Called when there is not cached code already available.

    Attributes
    protected
    Definition Classes
    GenerateOrderingCodeGenerator
  10. def create(schema: StructType): BaseOrdering

    Permalink

    Creates a code gen ordering for sorting this schema, in ascending order.

  11. def declareAddedFunctions(ctx: CodeGenContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  12. def declareMutableStates(ctx: CodeGenContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. val exprType: String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def genComparisons(ctx: CodeGenContext, ordering: Seq[SortOrder]): String

    Permalink

    Generates the code for ordering based on the given order.

  18. def genComparisons(ctx: CodeGenContext, schema: StructType): String

    Permalink

    Generates the code for comparing a struct type according to its natural ordering (i.e.

    Generates the code for comparing a struct type according to its natural ordering (i.e. ascending order by field 1, then field 2, ..., then field n.

  19. def generate(expressions: Seq[SortOrder]): Ordering[InternalRow]

    Permalink

    Generates the requested evaluator given already bound expression(s).

    Generates the requested evaluator given already bound expression(s).

    Definition Classes
    CodeGenerator
  20. def generate(expressions: Seq[SortOrder], inputSchema: Seq[Attribute]): Ordering[InternalRow]

    Permalink

    Generates the requested evaluator binding the given expression(s) to the inputSchema.

    Generates the requested evaluator binding the given expression(s) to the inputSchema.

    Definition Classes
    CodeGenerator
  21. val genericMutableRowType: String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def initMutableStates(ctx: CodeGenContext): String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  39. val mutableRowType: String

    Permalink
    Attributes
    protected
    Definition Classes
    CodeGenerator
  40. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. def newCodeGenContext(): CodeGenContext

    Permalink

    Create a new codegen context for expression evaluator, used to store those expressions that don't support codegen

    Create a new codegen context for expression evaluator, used to store those expressions that don't support codegen

    Definition Classes
    CodeGenerator
  42. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped