Class V2LoggerColumn
java.lang.Object
io.deephaven.enterprise.schema.internal.V2LoggerColumn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<ChronoUnit>For a datetime as a long input, what time unit is the user passing us.codec()The codec for writing this column, if specified.The codec's argument for writing this column, if specified.booleanconstant()Is this column written as a constant in the header? By default, isfalse.booleandeleted()Should this column be ignored in the listener? By default, isfalse.For a deleted column, what is the data type?booleanignore()Should this column be ignored in the log file? By default, isfalse.By default, the input types to the logger match the data type of the column definition.abstract Optional<V2Logger.InstrumentationType>Should this column map to an instrumented value? These values are not written to the log, but are written to the table by the DIS.abstract Optional<ChronoUnit>For a datetime, the precision that should be logged, in terms of a ChronoUnit.abstract OptionalIntThe maximum size of the output for a column.abstract Stringname()The name of the column in the schema and the log fileThe name the column should exist as in the log file.
-
Constructor Details
-
V2LoggerColumn
public V2LoggerColumn()
-
-
Method Details
-
name
The name of the column in the schema and the log file- Returns:
- the name of the column.
-
renamedFrom
The name the column should exist as in the log file. -
inputType
By default, the input types to the logger match the data type of the column definition.However, for DateTime columns the inputType can instead be any supported time-point (e.g.,
Instant,ZonedDateTime, or a long).- Returns:
- the overridden input type for this column
-
objectInput
- Returns:
- the map of column names to ObjectInputSources;
-
constant
@Default public boolean constant()Is this column written as a constant in the header? By default, isfalse.- Returns:
- true if this column is written as a constant in the header.
-
ignore
@Default public boolean ignore()Should this column be ignored in the log file? By default, isfalse.- Returns:
- true if this column should not be written to the log file.
-
deleted
@Default public boolean deleted()Should this column be ignored in the listener? By default, isfalse.- Returns:
- true if this column should be ignored while the DIS processes a log file.
-
instrumentationType
Should this column map to an instrumented value? These values are not written to the log, but are written to the table by the DIS. -
deletedDataType
For a deleted column, what is the data type?- Returns:
- the type of the deleted column.
-
logPrecision
For a datetime, the precision that should be logged, in terms of a ChronoUnit.- Returns:
- the precision that should be written down to our log. Defaults to nanos.
-
argumentPrecision
For a datetime as a long input, what time unit is the user passing us. This is only valid with a temporal data type and an input type of long.- Returns:
- the precision that should be used for long arguments, defaults to nanos
-
codec
The codec for writing this column, if specified.- Returns:
- the codec that is used for writing this column, if specified.
-
codecArguments
The codec's argument for writing this column, if specified.- Returns:
- the codec arguments used for writing this column, if specified.
-
maxLoggedSize
The maximum size of the output for a column. Only valid for Strings and Blob columns.If a value is logged that would serialize to a size larger than this value, then the generated logger throws an IOException is thrown. If not specified, no specific checking is done on the size of this column.
- Returns:
- the maximum size that may be logged for this column.
-