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()
  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 finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getCassandraScan(plan: LogicalPlan): Option[CassandraScan]
  13. 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.

  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. 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.

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

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

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

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

  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  21. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. 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

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

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

  40. def validJoinType(cassandraSide: BuildSide, joinType: JoinType): Boolean
  41. 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.

  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 Serializable

Inherited from Serializable

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped