Interface SystemTableLogger.Options.Builder

Enclosing class:
SystemTableLogger.Options

public static interface SystemTableLogger.Options.Builder
  • Method Details

    • fixedColumnPartition

      SystemTableLogger.Options.Builder fixedColumnPartition(String fixedColumnPartition)
      What column partition should we write to?

      You must specify fixedColumnPartition or currentDateColumnPartition(boolean).

      Parameters:
      fixedColumnPartition - the column partition to write to
      Returns:
      this builder
    • currentDateColumnPartition

      SystemTableLogger.Options.Builder currentDateColumnPartition(boolean currentDateColumnPartition)
      Should we write to a column partition that is set to the Date when the row is logged?

      Note, this does not introspect the data; so a row might have a "Timestamp" column that does not match the column partition data.

      You must specify fixedColumnPartition(java.lang.String) or currentDateColumnPartition.

      Parameters:
      currentDateColumnPartition - true if the current date should be used for column partition
      Returns:
      this builder
    • internalPartition

      SystemTableLogger.Options.Builder internalPartition(String internalPartition)
      What internal partition should we write to?
      Parameters:
      internalPartition - the internal partition to write to
      Returns:
      this builder
    • useLas

      SystemTableLogger.Options.Builder useLas(boolean useLas)
      Should the table be written via the log aggregator service (LAS)?
      Parameters:
      useLas - whether the LAS is used (defaults to true)
      Returns:
      this builder
    • applicationVersion

      SystemTableLogger.Options.Builder applicationVersion(int version)
      What application log version should the table be logged with (defaults to zero)
      Parameters:
      version - the application version for the log files
      Returns:
      this builder
    • logDirectory

      SystemTableLogger.Options.Builder logDirectory(String logDirectory)
      Where should binary log files be written.
      Parameters:
      logDirectory - destination path for binary log files
      Returns:
      this builder
    • zoneId

      ZoneId for binary log files.
      Parameters:
      zoneId - the zoneId for binary log files
      Returns:
      this builder
    • build

      Build an immutable Options object.
      Returns:
      the Options object