Packages

object CassandraDirectJoinStrategy extends Logging with Serializable

Linear Supertypes
Serializable, Serializable, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CassandraDirectJoinStrategy
  2. Serializable
  3. Serializable
  4. Logging
  5. AnyRef
  6. 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. def aliasMap(aliases: Seq[NamedExpression]): Map[String, ExprId]

    Map Source Cassandra Column Names to ExpressionIds referring to them

  5. def allPartitionKeysAreJoined(plan: LogicalPlan, joinKeys: Seq[Expression]): Boolean

    Every partition key column must be a join key

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def containsSafePlans(plan: LogicalPlan): Boolean

    Checks whether a logical plan contains only Filters, Aliases and CassandraSource Relations

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def getCassandraScan(plan: LogicalPlan): Option[CassandraScan]
  12. def getCassandraTable(plan: LogicalPlan): Option[CassandraTable]

    Checks whether there is only a single leaf to this plan and that the leaf is a CassandraTable.

    Checks whether there is only a single leaf to this plan and that the leaf is a CassandraTable. If it is returns that table.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def getDSV2CassandraRelation(plan: LogicalPlan): Option[DataSourceV2ScanRelation]

    Checks whether there is only a single leaf to this plan and that the leaf is a DSV2 Relation Reading from a C* table.

    Checks whether there is only a single leaf to this plan and that the leaf is a DSV2 Relation Reading from a C* table. If it is returns that table.

  15. def getScanExec(plan: SparkPlan): Option[BatchScanExec]

    Returns the single DataSourceScanExec for the branch if there is one and it scans Cassandra

  16. def hasCassandraChild[T <: QueryPlan[T]](plan: T): Boolean

    Checks whether a query plan has either a logical or physical node pulling data from cassandra

  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  20. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  21. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. def reorderPlan(plan: SparkPlan, directJoin: CassandraDirectJoinExec): SparkPlan

    Given our target Cassandra based branch, we remove the node which draws data from cassandra (DataSourceScanExec) and replace it with the passed directJoin plan instead.

    Given our target Cassandra based branch, we remove the node which draws data from cassandra (DataSourceScanExec) and replace it with the passed directJoin plan instead.

    INPUT :

    //directJoin: DirectJoinPlan// DirectJoin <-- GetKeyOperations

    //plan: Optimized CassandraScanBranch/ OtherOperations <-- CassandraScan

    OUTPUT:

    OtherOperations <-- DirectJoin <-- GetKeyOperations

    The output of (plan) is not changed, but its children should be changed.

    This should only be called on optimized Physical Plans

  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def validJoinBranch(plan: LogicalPlan, keys: Seq[Expression]): Boolean

    Checks whether the Plan contains only acceptable logical nodes and all partition keys are joined

  39. def validJoinType(cassandraSide: BuildSide, joinType: JoinType): Boolean
  40. val validJoins: Map[BuildSide, Seq[JoinType]]

    Currently we will only support Inner, LeftOuter and RightOuter joins Depending on the side of the CassandraTarget different joins are allowed.

  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped