Package io.deephaven.enterprise.database
Class SystemTableLogger.Options
java.lang.Object
io.deephaven.enterprise.database.SystemTableLogger.Options
- Enclosing class:
- SystemTableLogger
Options for writing a system table using a logger.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get the application version used to write the log file.Should we write to a column partition that is set to the Date when the row is logged?What column partition should we write to?What internal partition should we write to?boolean
If the LAS is explicitly specified, then use that value.Destination directory for binary log files.useLas()
Get if we should use the Log Aggregator service to write the table.zoneId()
Get the zone ID used for binary log files.
-
Constructor Details
-
Options
public Options()
-
-
Method Details
-
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
Destination directory for binary log files. Unspecified means use the default specified by Configuration.- Returns:
- the destination directory for binary log files.
-
zoneId
Get the zone ID used for binary log files.- Returns:
- the zone ID used for binary log files.
-
internalPartition
What internal partition should we write to?- Returns:
- the value of the internal partition to use, null if not specified
-
fixedColumnPartition
What column partition should we write to?You must specify fixedColumnPartition or
currentDateColumnPartition()
.- Returns:
- the column partition to write to
-
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
-