Class TableCreateOptions.Builder
java.lang.Object
io.github.flink.gcp.connector.bigtable.sink.TableCreateOptions.Builder
- Enclosing class:
- TableCreateOptions
Builder for
TableCreateOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the options.columnFamily(String name) Declares a column family without a garbage-collection rule, keeping Bigtable's default of collecting nothing.columnFamily(String name, GcRule rule) Declares a column family with the given garbage-collection rule.
-
Method Details
-
columnFamily
Declares a column family without a garbage-collection rule, keeping Bigtable's default of collecting nothing.- Parameters:
name- the family name, non-blank- Returns:
- this builder
-
columnFamily
Declares a column family with the given garbage-collection rule.- Parameters:
name- the family name, non-blankrule- the rule to create the family with- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
- Throws:
IllegalStateException- if no column family was declared
-