Class TableBasedLogger

java.lang.Object
io.deephaven.enterprise.database.impl.TableBasedLogger

@InternalUseOnly public final class TableBasedLogger extends Object
Leverages BinaryRowLoggerDnd's LAS writer to log a specified DHC table's row set with an arbitrary table definition. DHE table definitions are also required to determine metadata such as String encodings.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Specific exception for when a table size exceeds the transaction size limit.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(io.deephaven.shadow.enterprise.com.illumon.util.db.TableIdentifier.NamespaceSet namespaceSet, @NotNull String namespace, @NotNull String tableName, @NotNull TableDefinition tableDefinition, io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.TableDefinition dheTableDefinition, boolean useLas, @Nullable String logDirectory, @NotNull ZoneId zoneId, @NotNull String internalPartition, @Nullable String columnPartition, int logFormatVersion, @NotNull Map<String,ObjectCodec<?>> codecs)
     
    create(io.deephaven.shadow.enterprise.com.illumon.util.db.TableIdentifier.NamespaceSet namespaceSet, @NotNull String namespace, @NotNull String tableName, @NotNull TableDefinition tableDefinition, io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.TableDefinition dheTableDefinition, @NotNull String internalPartitionValue)
    Returns a new TableBasedLogger that will log via the LAS.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      @InternalUseOnly public static TableBasedLogger create(@NotNull io.deephaven.shadow.enterprise.com.illumon.util.db.TableIdentifier.NamespaceSet namespaceSet, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, @NotNull @NotNull TableDefinition tableDefinition, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.TableDefinition dheTableDefinition, @NotNull @NotNull String internalPartitionValue)
      Returns a new TableBasedLogger that will log via the LAS. Delegates to create(TableIdentifier.NamespaceSet, String, String, TableDefinition, io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.TableDefinition, boolean, String, ZoneId, String, String, int, Map) with useLas=true, logDirectory=null, zoneId=TimeZone.getDefault().toZoneId(), columnPartition=null, logFormatVersion=0, and codecs=emptyMap(), with useLas=true, logDirectory=null, zoneId=TimeZone.getDefault().toZoneId(), columnPartition=null, logFormatVersion=0, and codecs=emptyMap().
      Parameters:
      namespaceSet - the namespace set of the table
      namespace - the namespace of the table
      tableName - the name of the table
      tableDefinition - the table definition
      dheTableDefinition - the DHE table definition
      internalPartitionValue - the internal partition value
      Returns:
      a newly created TableBasedLogger (using LAS)
    • create

      @InternalUseOnly public static TableBasedLogger create(@NotNull io.deephaven.shadow.enterprise.com.illumon.util.db.TableIdentifier.NamespaceSet namespaceSet, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, @NotNull @NotNull TableDefinition tableDefinition, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.tables.TableDefinition dheTableDefinition, boolean useLas, @Nullable @Nullable String logDirectory, @NotNull @NotNull ZoneId zoneId, @NotNull @NotNull String internalPartition, @Nullable @Nullable String columnPartition, int logFormatVersion, @NotNull @NotNull Map<String,ObjectCodec<?>> codecs)