class RowDataBoundedDeltaSourceBuilder extends BoundedDeltaSourceBuilder[RowData, RowDataBoundedDeltaSourceBuilder]
A builder class for DeltaSource for a stream of RowData where the created source
instance will operate in Bounded mode.
For most common use cases use DeltaSource#forBoundedRowData utility method to instantiate
the source. After instantiation of this builder you can either call RowDataBoundedDeltaSourceBuilder#build() method to get the instance of a DeltaSource or
configure additional options using builder's API.
- Alphabetic
- By Inheritance
- RowDataBoundedDeltaSourceBuilder
- BoundedDeltaSourceBuilder
- DeltaSourceBuilderBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
build[V <: DeltaSource[RowData]](): V
- Definition Classes
- DeltaSourceBuilderBase
Concrete 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
build(): DeltaSource[RowData]
Creates an instance of
DeltaSourcefor a stream ofRowData.Creates an instance of
DeltaSourcefor a stream ofRowData. Created source will work in Bounded mode, meaning it will read the content of the configured Delta snapshot at the fixed version, ignoring all changes done to this table after starting this source.This method can throw
DeltaSourceValidationExceptionin case of invalid arguments passed to Delta source builder.- returns
New
DeltaSourceinstance.
- Annotations
- @Override() @SuppressWarnings()
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
columnNames(columnNames: <repeated...>[String]): RowDataBoundedDeltaSourceBuilder
Specifies an array of column names that should be read from Delta table.
Specifies an array of column names that should be read from Delta table. If this method is not used, Source will read all columns from Delta table.
If provided List is null or contains null, empty or blank elements it will throw a
DeltaSourceValidationExceptionby builder after callingbuild()method.- columnNames
column names that should be read.
-
def
columnNames(columnNames: List[String]): RowDataBoundedDeltaSourceBuilder
Specifies a
Listof column names that should be read from Delta table.Specifies a
Listof column names that should be read from Delta table. If this method is not used, Source will read all columns from Delta table.If provided List is null or contains null, empty or blank elements it will throw a
DeltaSourceValidationExceptionby builder after callingbuild()method.- columnNames
column names that should be read.
- Definition Classes
- RowDataBoundedDeltaSourceBuilder → DeltaSourceBuilderBase
- Annotations
- @Override()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getApplicableOptions(): Collection[String]
- Attributes
- protected[builder]
- Definition Classes
- BoundedDeltaSourceBuilder → DeltaSourceBuilderBase
- Annotations
- @Override()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getSourceConfiguration(): DeltaConnectorConfiguration
- returns
A copy of
DeltaConnectorConfigurationused by builder. The changes made on returned copy do not change the state of builder's configuration.
- Definition Classes
- DeltaSourceBuilderBase
-
def
getSourceSchema(): SourceSchema
Extracts Delta table schema from DeltaLog
io.delta.standalone.actions.Metadataincluding column names and column types converted toorg.apache.flink.table.types.logical.LogicalType.Extracts Delta table schema from DeltaLog
io.delta.standalone.actions.Metadataincluding column names and column types converted toorg.apache.flink.table.types.logical.LogicalType.If
#userColumnNameswere defined, only those columns will be included in extracted schema.- returns
A
SourceSchemaincluding Delta table column names with their types that should be read from Delta table.
- Attributes
- protected[builder]
- Definition Classes
- DeltaSourceBuilderBase
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
option(optionName: String, optionValue: Long): RowDataBoundedDeltaSourceBuilder
Sets a configuration option.
Sets a configuration option.
- optionName
Option name to set.
- optionValue
Option long value to set.
- Definition Classes
- RowDataBoundedDeltaSourceBuilder → DeltaSourceBuilderBase
- Annotations
- @Override()
-
def
option(optionName: String, optionValue: Int): RowDataBoundedDeltaSourceBuilder
Sets a configuration option.
Sets a configuration option.
- optionName
Option name to set.
- optionValue
Option int value to set.
- Definition Classes
- RowDataBoundedDeltaSourceBuilder → DeltaSourceBuilderBase
- Annotations
- @Override()
-
def
option(optionName: String, optionValue: Boolean): RowDataBoundedDeltaSourceBuilder
Sets a configuration option.
Sets a configuration option.
- optionName
Option name to set.
- optionValue
Option boolean value to set.
- Definition Classes
- RowDataBoundedDeltaSourceBuilder → DeltaSourceBuilderBase
- Annotations
- @Override()
-
def
option(optionName: String, optionValue: String): RowDataBoundedDeltaSourceBuilder
Sets a configuration option.
Sets a configuration option.
- optionName
Option name to set.
- optionValue
Option
Stringvalue to set.
- Definition Classes
- RowDataBoundedDeltaSourceBuilder → DeltaSourceBuilderBase
- Annotations
- @Override()
-
def
prepareInapplicableOptionMessage(usedOptions: Collection[String], applicableOptions: Collection[String]): String
- Attributes
- protected[builder]
- Definition Classes
- DeltaSourceBuilderBase
-
def
prepareOptionExclusionMessage(mutualExclusiveOptions: <repeated...>[String]): String
- Attributes
- protected[builder]
- Definition Classes
- DeltaSourceBuilderBase
-
def
self(): RowDataBoundedDeltaSourceBuilder
- Attributes
- protected[builder]
- Definition Classes
- DeltaSourceBuilderBase
- Annotations
- @SuppressWarnings()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
timestampAsOf(snapshotTimestamp: String): RowDataBoundedDeltaSourceBuilder
Sets value of "timestampAsOf" option.
Sets value of "timestampAsOf" option. With this option we will load the latest table version that was generated at or before the given timestamp.
This option is mutually exclusive with
#versionAsOf(long)option.- snapshotTimestamp
The timestamp we should time travel to. Supported formats are:
- 2022-02-24
- 2022-02-24 04:55:00
- 2022-02-24 04:55:00.001
- 2022-02-24T04:55:00
- 2022-02-24T04:55:00.001
- 2022-02-24T04:55:00.001Z
- Definition Classes
- RowDataBoundedDeltaSourceBuilder → BoundedDeltaSourceBuilder
- Annotations
- @Override()
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validate(): Unit
Validate definition of Delta source builder including mandatory and optional options.
Validate definition of Delta source builder including mandatory and optional options.
- Attributes
- protected[builder]
- Definition Classes
- DeltaSourceBuilderBase
-
def
validateInapplicableOptions(): Validator
Validated builder options that were used but they might be not applicable for given builder type, for example using options from bounded mode like "versionAsOf" for continuous mode builder.
Validated builder options that were used but they might be not applicable for given builder type, for example using options from bounded mode like "versionAsOf" for continuous mode builder.
- returns
The
Validatorobject with all (if any) validation error messages.
- Attributes
- protected[builder]
- Definition Classes
- DeltaSourceBuilderBase
-
def
validateMandatoryOptions(): Validator
- Attributes
- protected[builder]
- Definition Classes
- DeltaSourceBuilderBase
-
def
validateOptionExclusions(): Validator
This method should implement any logic for validation of mutually exclusive options.
This method should implement any logic for validation of mutually exclusive options.
- returns
Validatorinstance with validation error message.
- Attributes
- protected[builder]
- Definition Classes
- BoundedDeltaSourceBuilder → DeltaSourceBuilderBase
- Annotations
- @Override()
-
def
validateOptionalParameters(): Validator
- Attributes
- protected[builder]
- Definition Classes
- DeltaSourceBuilderBase
-
def
versionAsOf(snapshotVersion: Long): RowDataBoundedDeltaSourceBuilder
Sets value of "versionAsOf" option.
Sets value of "versionAsOf" option. With this option we will load the given table version and read from it.
This option is mutually exclusive with
#timestampAsOf(String)option.- snapshotVersion
Delta table version to time travel to.
- Definition Classes
- RowDataBoundedDeltaSourceBuilder → BoundedDeltaSourceBuilder
- Annotations
- @Override()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()