Class TableBasedLogger
java.lang.Object
io.deephaven.enterprise.database.impl.TableBasedLogger
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 ClassesModifier and TypeClassDescriptionstatic classSpecific exception for when a table size exceeds the transaction size limit. -
Method Summary
Modifier and TypeMethodDescriptionstatic TableBasedLoggercreate(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) static TableBasedLoggercreate(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.
-
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 tocreate(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 tablenamespace- the namespace of the tabletableName- the name of the tabletableDefinition- the table definitiondheTableDefinition- the DHE table definitioninternalPartitionValue- 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)
-