case class CassandraWriteBuilder(session: SparkSession, tableDef: TableDef, catalogName: String, options: CaseInsensitiveStringMap, inputSchema: StructType) extends WriteBuilder with SupportsTruncate with Product with Serializable
- Alphabetic
- By Inheritance
- CassandraWriteBuilder
- Serializable
- Serializable
- Product
- Equals
- SupportsTruncate
- WriteBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CassandraWriteBuilder(session: SparkSession, tableDef: TableDef, catalogName: String, options: CaseInsensitiveStringMap, inputSchema: StructType)
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
buildForBatch(): BatchWrite
- Definition Classes
- CassandraWriteBuilder → WriteBuilder
-
def
buildForStreaming(): StreamingWrite
- Definition Classes
- CassandraWriteBuilder → WriteBuilder
- val catalogName: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val inputSchema: StructType
-
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 options: CaseInsensitiveStringMap
- val session: SparkSession
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tableDef: TableDef
-
def
truncate(): WriteBuilder
With Cassandra we cannot actually do this before commit since we are writing constantly, our best option is to truncate now.
With Cassandra we cannot actually do this before commit since we are writing constantly, our best option is to truncate now. Since we have no notion of rollbacks this is probably the best we can do.
- Definition Classes
- CassandraWriteBuilder → SupportsTruncate
-
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
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.