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.
- Alphabetic
- By Inheritance
- ReplacementRule
- DataFromReplacementRule
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
abstract
val
confKeyPart: String
- Attributes
- protected
-
abstract
val
operationName: String
- Definition Classes
- DataFromReplacementRule
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
checks: Option[TypeChecks[_]]
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def confHelp(asTable: Boolean = false, sparkSQLFunctions: Option[String] = None): Unit
-
def
confKey: String
- Definition Classes
- ReplacementRule → DataFromReplacementRule
-
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
-
var
desc: String
- Attributes
- protected
- def description: String
-
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.
-
def
disabledMsg: Option[String]
- Definition Classes
- ReplacementRule → DataFromReplacementRule
-
var
doWrap: (INPUT, RapidsConf, Option[RapidsMeta[_, _, _]], DataFromReplacementRule) ⇒ WRAP_TYPE
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
getChecks: Option[TypeChecks[_]]
- Definition Classes
- ReplacementRule → DataFromReplacementRule
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getClassFor: Class[_]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
def
incompatDoc: Option[String]
- Definition Classes
- ReplacementRule → DataFromReplacementRule
- final def invisible(): ReplacementRule.this.type
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isVisible: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notes(): Option[String]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- final val tag: ClassTag[INPUT]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- final def wrap(op: BASE, conf: RapidsConf, parent: Option[RapidsMeta[_, _, _]], r: DataFromReplacementRule): WRAP_TYPE
-
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.