class DatasetFunctions[K] extends Serializable
Provides Cassandra-specific methods on org.apache.spark.sql.DataFrame
- Alphabetic
- By Inheritance
- DatasetFunctions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DatasetFunctions(dataset: Dataset[K])(implicit arg0: Encoder[K])
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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def directJoin(directJoinSetting: DirectJoinSetting = AlwaysOn): Dataset[K]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val sparkContext: SparkContext
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )
Deprecated Value Members
-
def
createCassandraTable(keyspaceName: String, tableName: String, partitionKeyColumns: Option[Seq[String]] = None, clusteringKeyColumns: Option[Seq[String]] = None)(implicit connector: CassandraConnector = CassandraConnector(sparkContext)): Unit
Creates a C* table based on the Dataset Struct provided.
Creates a C* table based on the Dataset Struct provided. Optionally takes in a list of partition columns or clustering columns names. When absent the first column will be used as the partition key and there will be no clustering keys.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Use DatasourceV2 Catalog Api
-
def
createCassandraTableEx(keyspaceName: String, tableName: String, partitionKeyColumns: Seq[String], clusteringKeyColumns: Seq[(String, SortingOrder)], ifNotExists: Boolean = false, tableOptions: Map[String, String] = Map())(implicit connector: CassandraConnector = CassandraConnector(sparkContext)): Unit
Creates a C* table based on the Dataset Struct provided.
Creates a C* table based on the Dataset Struct provided. Takes in a list of partition columns, clustering columns names, and optionally, the table options.
- Annotations
- @deprecated
- Deprecated
(Since version 3.0.0) Use DatasourceV2 Catalog Api
-
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.