Package io.deephaven.enterprise.database
Interface SystemTableLogger.Options.Builder
- Enclosing class:
- SystemTableLogger.Options
public static interface SystemTableLogger.Options.Builder
- 
Method SummaryModifier 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.putColumnCodecs(@NotNull String columnName, @NotNull ObjectCodec<?> codec) Set the codec information for a column.useLas(boolean useLas) Should the table be written via the log aggregator service (LAS)?ZoneId for binary log files.
- 
Method Details- 
fixedColumnPartitionWhat column partition should we write to?You must specify fixedColumnPartition or currentDateColumnPartition(boolean).- Parameters:
- fixedColumnPartition- the column partition to write to
- Returns:
- this builder
 
- 
currentDateColumnPartitionShould 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
 
- 
internalPartitionWhat internal partition should we write to?- Parameters:
- internalPartition- the internal partition to write to
- Returns:
- this builder
 
- 
useLasShould the table be written via the log aggregator service (LAS)?- Parameters:
- useLas- whether the LAS is used (defaults to true)
- Returns:
- this builder
 
- 
applicationVersionWhat application log version should the table be logged with (defaults to zero)- Parameters:
- version- the application version for the log files
- Returns:
- this builder
 
- 
logDirectoryWhere should binary log files be written.- Parameters:
- logDirectory- destination path for binary log files
- Returns:
- this builder
 
- 
zoneIdZoneId for binary log files.- Parameters:
- zoneId- the zoneId for binary log files
- Returns:
- this builder
 
- 
putColumnCodecsSystemTableLogger.Options.Builder putColumnCodecs(@NotNull @NotNull String columnName, @NotNull @NotNull ObjectCodec<?> codec) Set the codec information for a column.- Parameters:
- columnName- the name of the column
- codec- the- ObjectCodec
- Returns:
- this SystemTableLogger.Options.Builder
 
- 
buildSystemTableLogger.Options build()Build an immutable Options object.- Returns:
- the Options object
 
 
-