Package io.deephaven.enterprise.database
Interface SystemTableLogger.Options.Builder
- Enclosing class:
- SystemTableLogger.Options
public static interface SystemTableLogger.Options.Builder
-
Method Summary
Modifier and TypeMethodDescriptionapplicationVersion
(int version) What application log version should the table be logged with (defaults to zero)build()
Build an immutable Options object.currentDateColumnPartition
(boolean currentDateColumnPartition) Should we write to a column partition that is set to the Date when the row is logged?fixedColumnPartition
(String fixedColumnPartition) What column partition should we write to?internalPartition
(String internalPartition) What internal partition should we write to?logDirectory
(String logDirectory) Where should binary log files be written.useLas
(boolean useLas) Should the table be written via the log aggregator service (LAS)?ZoneId for binary log files.
-
Method Details
-
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
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
What internal partition should we write to?- Parameters:
internalPartition
- the internal partition to write to- Returns:
- this builder
-
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
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
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
SystemTableLogger.Options build()Build an immutable Options object.- Returns:
- the Options object
-