Class TableCreateOptions.Builder

java.lang.Object
io.github.flink.gcp.connector.bigtable.sink.TableCreateOptions.Builder
Enclosing class:
TableCreateOptions

@Public public static final class TableCreateOptions.Builder extends Object
Builder for TableCreateOptions.
  • Method Details

    • columnFamily

      public TableCreateOptions.Builder columnFamily(String name)
      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

      public TableCreateOptions.Builder columnFamily(String name, GcRule rule)
      Declares a column family with the given garbage-collection rule.
      Parameters:
      name - the family name, non-blank
      rule - the rule to create the family with
      Returns:
      this builder
    • build

      public TableCreateOptions build()
      Builds the options.
      Returns:
      the options
      Throws:
      IllegalStateException - if no column family was declared