abstract class DeltaSourceBuilderBase[T, SELF] extends AnyRef
The base class for io.delta.flink.source.DeltaSource builder.
This builder carries a SELF type to make it convenient to extend this for subclasses, using the following pattern.
public class SubBuilder extends DeltaSourceBuilderBase> {
...
}
That way, all return values from builder method defined here are typed to the sub-class type and support fluent chaining.
We don't make the publicly visible builder generic with a SELF type, because it leads to generic signatures that can look complicated and confusing.
- Alphabetic
- By Inheritance
- DeltaSourceBuilderBase
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
DeltaSourceBuilderBase(tablePath: Path, hadoopConfiguration: Configuration, snapshotSupplierFactory: SnapshotSupplierFactory)
- Attributes
- protected[builder]
Abstract Value Members
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
columnNames(columnNames: List[String]): SELF
Sets a
Listof column names that should be read from Delta table. -
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] )
-
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.
-
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]
-
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): SELF
Sets a configuration option.
-
def
option(optionName: String, optionValue: Int): SELF
Sets a configuration option.
-
def
option(optionName: String, optionValue: Boolean): SELF
Sets a configuration option.
-
def
option(optionName: String, optionValue: String): SELF
Sets a configuration option.
-
def
prepareInapplicableOptionMessage(usedOptions: Collection[String], applicableOptions: Collection[String]): String
- Attributes
- protected[builder]
-
def
prepareOptionExclusionMessage(mutualExclusiveOptions: <repeated...>[String]): String
- Attributes
- protected[builder]
-
def
self(): SELF
- Attributes
- protected[builder]
- Annotations
- @SuppressWarnings()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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]
-
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.
-
def
validateMandatoryOptions(): Validator
- Attributes
- protected[builder]
-
def
validateOptionalParameters(): Validator
- Attributes
- protected[builder]
-
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()