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

GenerateOrdering

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

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

    Binds an input expression to a given input schema

    Binds an input expression to a given input schema

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

    Canonicalizes an input expression.

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

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

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

    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
  11. def create(ordering: Seq[SortOrder]): BaseOrdering

    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
  12. def create(schema: StructType): BaseOrdering

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

  13. def declareAddedFunctions(ctx: CodeGenContext): String

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

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

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

    Definition Classes
    AnyRef → Any
  17. val exprType: String

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

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

    Generates the code for ordering based on the given order.

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

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

    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.

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

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

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

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

    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
  23. val genericMutableRowType: String

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

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

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

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

    Definition Classes
    Any
  28. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  29. def log: Logger

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

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

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  36. def logName: String

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  41. val mutableRowType: String

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

    Definition Classes
    AnyRef
  43. def newCodeGenContext(): CodeGenContext

    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
  44. final def notify(): Unit

    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  47. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped