trait V1Write extends Write
A logical write that should be executed using V1 InsertableRelation interface.
Tables that have TableCapability#V1_BATCH_WRITE
in the list of their capabilities
must build V1Write
.
- Annotations
- @Unstable()
- Source
- V1Write.java
- Since
3.2.0
- Alphabetic
- By Inheritance
- V1Write
- Write
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def toInsertableRelation(): InsertableRelation
Concrete Value Members
- def description(): String
Returns the description associated with this write.
Returns the description associated with this write.
- Definition Classes
- Write
- def supportedCustomMetrics(): Array[CustomMetric]
Returns an array of supported custom metrics with name and description.
Returns an array of supported custom metrics with name and description. By default it returns empty array.
- Definition Classes
- Write
- def toBatch(): BatchWrite
Returns a
BatchWrite
to write data to batch source.Returns a
BatchWrite
to write data to batch source. By default this method throws exception, data sources must overwrite this method to provide an implementation, if theTable
that creates this write returnsTableCapability#BATCH_WRITE
support in itsTable#capabilities()
.- Definition Classes
- Write
- def toStreaming(): StreamingWrite
Returns a
StreamingWrite
to write data to streaming source.Returns a
StreamingWrite
to write data to streaming source. By default this method throws exception, data sources must overwrite this method to provide an implementation, if theTable
that creates this write returnsTableCapability#STREAMING_WRITE
support in itsTable#capabilities()
.- Definition Classes
- Write