Object

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

GenerateUnsafeRowJoiner

Related Doc: package codegen

Permalink

object GenerateUnsafeRowJoiner extends CodeGenerator[(StructType, StructType), UnsafeRowJoiner]

A code generator for concatenating two UnsafeRows into a single UnsafeRow.

The high level algorithm is:

1. Concatenate the two bitsets together into a single one, taking padding into account. 2. Move fixed-length data. 3. Move variable-length data. 4. Update the offset position (i.e. the upper 32 bits in the fixed length part) for all variable-length data.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenerateUnsafeRowJoiner
  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: (StructType, StructType), inputSchema: Seq[Attribute]): (StructType, StructType)

    Permalink

    Binds an input expression to a given input schema

    Binds an input expression to a given input schema

    Attributes
    protected
    Definition Classes
    GenerateUnsafeRowJoinerCodeGenerator
  6. def canonicalize(in: (StructType, StructType)): (StructType, StructType)

    Permalink

    Canonicalizes an input expression.

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

    Attributes
    protected
    Definition Classes
    GenerateUnsafeRowJoinerCodeGenerator
  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(schema1: StructType, schema2: StructType): UnsafeRowJoiner

    Permalink
  10. def create(in: (StructType, StructType)): UnsafeRowJoiner

    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
    GenerateUnsafeRowJoinerCodeGenerator
  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 generate(expressions: (StructType, StructType)): UnsafeRowJoiner

    Permalink

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

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

    Definition Classes
    CodeGenerator
  18. def generate(expressions: (StructType, StructType), inputSchema: Seq[Attribute]): UnsafeRowJoiner

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  39. 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
  40. final def notify(): Unit

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

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

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

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

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

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

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

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped