Packages

o

com.sparkutils.quality.impl

GenerateDecoderOpEncoderProjection

object GenerateDecoderOpEncoderProjection extends CodeGenerator[Seq[Expression], DecoderOpEncoderProjection[_, _]]

CODE is based on MutableProjection and generates a transformation between two encoders over a middle operation. The generated class itself can create new instances directly, unlike Spark projections that need to go through the codegen source generation cycle, only the compilation is cached.

If the expression tree contains stateful expressions with codegenfallback the code must be regenerated against a fresh tree.

Linear Supertypes
CodeGenerator[Seq[Expression], DecoderOpEncoderProjection[_, _]], Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenerateDecoderOpEncoderProjection
  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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bind(in: Seq[Expression], inputSchema: Seq[Attribute]): Seq[Expression]
    Attributes
    protected
    Definition Classes
    GenerateDecoderOpEncoderProjection → CodeGenerator
  6. def canonicalize(in: Seq[Expression]): Seq[Expression]
    Attributes
    protected
    Definition Classes
    GenerateDecoderOpEncoderProjection → CodeGenerator
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def create(expressions: Seq[Expression]): DecoderOpEncoderProjection[_, _]
    Attributes
    protected
    Definition Classes
    GenerateDecoderOpEncoderProjection → CodeGenerator
  9. def debug(row: InternalRow): Unit
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def generate[I, O](expressions: Seq[Expression], useSubexprElimination: Boolean, toSize: Int)(implicit arg0: Encoder[I], arg1: Encoder[O]): DecoderOpEncoderProjection[I, O]
  14. def generate(expressions: Seq[Expression]): DecoderOpEncoderProjection[_, _]
    Definition Classes
    CodeGenerator
  15. def generate(expressions: Seq[Expression], inputSchema: Seq[Attribute]): DecoderOpEncoderProjection[_, _]
    Definition Classes
    CodeGenerator
  16. val genericMutableRowType: String
    Attributes
    protected
    Definition Classes
    CodeGenerator
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  20. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  23. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  24. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  31. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def newCodeGenContext(): CodegenContext
    Definition Classes
    CodeGenerator
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def projections(ctx: CodegenContext, expressions: Seq[Expression], mutableRow: String, useSubexprElimination: Boolean = false): Seq[(ExprCode, String, String)]
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from CodeGenerator[Seq[Expression], DecoderOpEncoderProjection[_, _]]

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped