Class SystemTableLogger.Options

java.lang.Object
io.deephaven.enterprise.database.SystemTableLogger.Options
Enclosing class:
SystemTableLogger

@Immutable public abstract static class SystemTableLogger.Options extends Object
Options for writing a system table using a logger.
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • useLas

      public abstract Optional<Boolean> useLas()
      Get if we should use the Log Aggregator service to write the table.
      Returns:
      True if the log aggregator service should be used to write the table
    • lasEnabled

      public boolean lasEnabled()
      If the LAS is explicitly specified, then use that value. Otherwise, use it when no logDirectory is specified.
      Returns:
      if the LAS should be used
    • applicationVersion

      @Default public int applicationVersion()
      Get the application version used to write the log file.
      Returns:
      the application version for the log file
    • logDirectory

      public abstract Optional<String> logDirectory()
      Destination directory for binary log files. Unspecified means use the default specified by Configuration.
      Returns:
      the destination directory for binary log files.
    • zoneId

      @Default public ZoneId zoneId()
      Get the zone ID used for binary log files.
      Returns:
      the zone ID used for binary log files.
    • internalPartition

      public abstract Optional<String> internalPartition()
      What internal partition should we write to?
      Returns:
      the value of the internal partition to use, null if not specified
    • fixedColumnPartition

      public abstract Optional<String> fixedColumnPartition()
      What column partition should we write to?

      You must specify fixedColumnPartition or currentDateColumnPartition().

      Returns:
      the column partition to write to
    • currentDateColumnPartition

      public abstract Optional<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() or currentDateColumnPartition.

      Returns:
      if the current date should be used for the column partition