Interface CatalogSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CatalogSource.Builder,CatalogSource>,SdkBuilder<CatalogSource.Builder,CatalogSource>,SdkPojo
- Enclosing class:
- CatalogSource
@Mutable @NotThreadSafe public static interface CatalogSource.Builder extends SdkPojo, CopyableBuilder<CatalogSource.Builder,CatalogSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CatalogSource.Builderdatabase(String database)The name of the database to read from.CatalogSource.Buildername(String name)The name of the data store.CatalogSource.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)Specifies the data schema for the catalog source.CatalogSource.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)Specifies the data schema for the catalog source.CatalogSource.BuilderoutputSchemas(GlueSchema... outputSchemas)Specifies the data schema for the catalog source.CatalogSource.BuilderpartitionPredicate(String partitionPredicate)Partitions satisfying this predicate are deleted.CatalogSource.Buildertable(String table)The name of the table in the database to read from.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CatalogSource.Builder name(String name)
The name of the data store.
- Parameters:
name- The name of the data store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
CatalogSource.Builder database(String database)
The name of the database to read from.
- Parameters:
database- The name of the database to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
table
CatalogSource.Builder table(String table)
The name of the table in the database to read from.
- Parameters:
table- The name of the table in the database to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionPredicate
CatalogSource.Builder partitionPredicate(String partitionPredicate)
Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not deleted.
- Parameters:
partitionPredicate- Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CatalogSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the catalog source.
- Parameters:
outputSchemas- Specifies the data schema for the catalog source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CatalogSource.Builder outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the catalog source.
- Parameters:
outputSchemas- Specifies the data schema for the catalog source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
CatalogSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the catalog source.
This is a convenience method that creates an instance of theGlueSchema.Builderavoiding the need to create one manually viaGlueSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputSchemas(List.) - Parameters:
outputSchemas- a consumer that will call methods onGlueSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#outputSchemas(java.util.Collection)
-
-