Class LogFormatEncoding

java.lang.Object
io.deephaven.enterprise.schema.internal.LogFormatEncoding

@Immutable public abstract class LogFormatEncoding extends Object
The LogFormat encoding.
  • Constructor Details

    • LogFormatEncoding

      public LogFormatEncoding()
  • Method Details

    • name

      public abstract String name()
      The name of the column in the schema and the log file
      Returns:
      the name of the column.
    • type

      public abstract LogFormatEncoding.Type type()
      The type.
      Returns:
      the type
    • renamedFrom

      public abstract Optional<String> renamedFrom()
      The name the column should exist as in the log file.
      Returns:
      the renamed from
    • ignore

      public final boolean ignore()
      Equivalent to type() == IGNORE.
      Returns:
      is ignore
    • deleted

      public final boolean deleted()
      Equivalent to type() == DELETED.
      Returns:
      is deleted
    • deletedDataType

      public abstract Optional<String> deletedDataType()
      For a deleted column, what is the data type?
      Returns:
      the type of the deleted column.
    • timePrecision

      public abstract Optional<ChronoUnit> timePrecision()
      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.
    • codec

      public abstract Optional<String> codec()
      The codec for writing this column, if specified.
      Returns:
      the codec that is used for writing this column, if specified.
    • codecArguments

      public abstract Optional<String> codecArguments()
      The codec's argument for writing this column, if specified.
      Returns:
      the codec arguments used for writing this column, if specified.
    • charset

      public abstract Optional<Charset> charset()
      The charset.
      Returns:
      the charset