public static interface S3HudiDirectTarget.Builder extends SdkPojo, CopyableBuilder<S3HudiDirectTarget.Builder,S3HudiDirectTarget>
| Modifier and Type | Method and Description |
|---|---|
S3HudiDirectTarget.Builder |
additionalOptions(Map<String,String> additionalOptions)
Specifies additional connection options for the connector.
|
S3HudiDirectTarget.Builder |
compression(HudiTargetCompressionType compression)
Specifies how the data is compressed.
|
S3HudiDirectTarget.Builder |
compression(String compression)
Specifies how the data is compressed.
|
S3HudiDirectTarget.Builder |
format(String format)
Specifies the data output format for the target.
|
S3HudiDirectTarget.Builder |
format(TargetFormat format)
Specifies the data output format for the target.
|
S3HudiDirectTarget.Builder |
inputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
S3HudiDirectTarget.Builder |
inputs(String... inputs)
The nodes that are inputs to the data target.
|
S3HudiDirectTarget.Builder |
name(String name)
The name of the data target.
|
S3HudiDirectTarget.Builder |
partitionKeys(Collection<? extends Collection<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
|
S3HudiDirectTarget.Builder |
partitionKeys(Collection<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
|
S3HudiDirectTarget.Builder |
path(String path)
The Amazon S3 path of your Hudi data source to write to.
|
default S3HudiDirectTarget.Builder |
schemaChangePolicy(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy)
A policy that specifies update behavior for the crawler.
|
S3HudiDirectTarget.Builder |
schemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildS3HudiDirectTarget.Builder name(String name)
The name of the data target.
name - The name of the data target.S3HudiDirectTarget.Builder inputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs - The nodes that are inputs to the data target.S3HudiDirectTarget.Builder inputs(String... inputs)
The nodes that are inputs to the data target.
inputs - The nodes that are inputs to the data target.S3HudiDirectTarget.Builder path(String path)
The Amazon S3 path of your Hudi data source to write to.
path - The Amazon S3 path of your Hudi data source to write to.S3HudiDirectTarget.Builder compression(String compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file
extension. Possible values are "gzip" and "bzip").
compression - Specifies how the data is compressed. This is generally not necessary if the data has a standard file
extension. Possible values are "gzip" and "bzip").HudiTargetCompressionType,
HudiTargetCompressionTypeS3HudiDirectTarget.Builder compression(HudiTargetCompressionType compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file
extension. Possible values are "gzip" and "bzip").
compression - Specifies how the data is compressed. This is generally not necessary if the data has a standard file
extension. Possible values are "gzip" and "bzip").HudiTargetCompressionType,
HudiTargetCompressionTypeS3HudiDirectTarget.Builder partitionKeys(Collection<? extends Collection<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
partitionKeys - Specifies native partitioning using a sequence of keys.S3HudiDirectTarget.Builder partitionKeys(Collection<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
partitionKeys - Specifies native partitioning using a sequence of keys.S3HudiDirectTarget.Builder format(String format)
Specifies the data output format for the target.
format - Specifies the data output format for the target.TargetFormat,
TargetFormatS3HudiDirectTarget.Builder format(TargetFormat format)
Specifies the data output format for the target.
format - Specifies the data output format for the target.TargetFormat,
TargetFormatS3HudiDirectTarget.Builder additionalOptions(Map<String,String> additionalOptions)
Specifies additional connection options for the connector.
additionalOptions - Specifies additional connection options for the connector.S3HudiDirectTarget.Builder schemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
schemaChangePolicy - A policy that specifies update behavior for the crawler.default S3HudiDirectTarget.Builder schemaChangePolicy(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy)
A policy that specifies update behavior for the crawler.
This is a convenience method that creates an instance of theDirectSchemaChangePolicy.Builder
avoiding the need to create one manually via DirectSchemaChangePolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to schemaChangePolicy(DirectSchemaChangePolicy).
schemaChangePolicy - a consumer that will call methods on DirectSchemaChangePolicy.BuilderschemaChangePolicy(DirectSchemaChangePolicy)Copyright © 2023. All rights reserved.