Packages

c

com.nvidia.spark.rapids

ReplacementRule

abstract class ReplacementRule[INPUT <: BASE, BASE, WRAP_TYPE <: RapidsMeta[INPUT, BASE, _]] extends DataFromReplacementRule

Base class for all ReplacementRules

INPUT

the exact type of the class we are wrapping.

BASE

the generic base class for this type of stage, i.e. SparkPlan, Expression, etc.

WRAP_TYPE

base class that should be returned by doWrap.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplacementRule
  2. DataFromReplacementRule
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReplacementRule(doWrap: (INPUT, RapidsConf, Option[RapidsMeta[_, _, _]], DataFromReplacementRule) ⇒ WRAP_TYPE, desc: String, checks: Option[TypeChecks[_]], tag: ClassTag[INPUT])

    doWrap

    wraps a part of the plan in a RapidsMeta for further processing.

    desc

    a description of what this part of the plan does.

    tag

    metadata used to determine what INPUT is at runtime.

Abstract Value Members

  1. abstract val confKeyPart: String
    Attributes
    protected
  2. abstract val operationName: String
    Definition Classes
    DataFromReplacementRule

Concrete 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. val checks: Option[TypeChecks[_]]
    Attributes
    protected
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def confHelp(asTable: Boolean = false, sparkSQLFunctions: Option[String] = None): Unit
  8. def confKey: String
  9. final def desc(str: String): ReplacementRule.this.type

    Set a description of what the operation does.

    Set a description of what the operation does.

    str

    the description.

    returns

    this for chaining

  10. var desc: String
    Attributes
    protected
  11. def description: String
  12. final def disabledByDefault(str: String): ReplacementRule.this.type

    Mark this expression as disabled by default.

    Mark this expression as disabled by default.

    str

    a description of why it is disabled by default.

    returns

    this for chaining.

  13. def disabledMsg: Option[String]
  14. var doWrap: (INPUT, RapidsConf, Option[RapidsMeta[_, _, _]], DataFromReplacementRule) ⇒ WRAP_TYPE
    Attributes
    protected
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def getChecks: Option[TypeChecks[_]]
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getClassFor: Class[_]
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def incompat(str: String): ReplacementRule.this.type

    Mark this expression as incompatible with the original Spark version

    Mark this expression as incompatible with the original Spark version

    str

    a description of how it is incompatible.

    returns

    this for chaining.

  23. def incompatDoc: Option[String]
  24. final def invisible(): ReplacementRule.this.type
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isVisible: Boolean
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def notes(): Option[String]
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. final val tag: ClassTag[INPUT]
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wrap(op: BASE, conf: RapidsConf, parent: Option[RapidsMeta[_, _, _]], r: DataFromReplacementRule): WRAP_TYPE
  38. final def wrap(func: (INPUT, RapidsConf, Option[RapidsMeta[_, _, _]], DataFromReplacementRule) ⇒ WRAP_TYPE): ReplacementRule.this.type

    Provide a function that will wrap a spark type in a RapidsMeta instance that is used for conversion to a GPU version.

    Provide a function that will wrap a spark type in a RapidsMeta instance that is used for conversion to a GPU version.

    func

    the function

    returns

    this for chaining.

Inherited from DataFromReplacementRule

Inherited from AnyRef

Inherited from Any

Ungrouped