Packages

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

Linear Supertypes
Write, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. V1Write
  2. Write
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def toInsertableRelation(): InsertableRelation

Concrete Value Members

  1. def description(): String

    Returns the description associated with this write.

    Returns the description associated with this write.

    Definition Classes
    Write
  2. 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
  3. 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 the Table that creates this write returns TableCapability#BATCH_WRITE support in its Table#capabilities().

    Definition Classes
    Write
  4. 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 the Table that creates this write returns TableCapability#STREAMING_WRITE support in its Table#capabilities().

    Definition Classes
    Write