Class BinaryRowUtils
java.lang.Object
io.deephaven.enterprise.dnd.logger.engine.impl.BinaryRowUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.deephaven.shadow.enterprise.com.illumon.iris.binarystore.Row.FlagsadaptFlags(Row.Flags flags) Adapt flags from Community Core to Enterprise Shadowed flags.static byteadaptFlagsV2(Row.Flags flags) Adapt flags from Community Core to Enterprise V2 BLF flags.static DateTimeFormatterGet partition date time formatter.static StringgetPartitionFromMillis(long millis) Generate string date partition from millisecond timestamp.static StringgetPartitionFromNanos(long nanos) Generate string date partition from nanosecond timestamp.static io.deephaven.enterprise.binlog.support.MultiPartitionBufferWritermakeBinaryWriter(@NotNull io.deephaven.enterprise.binlog.support.LoggerInfo generatedLogger) Create a writer for Core+ worker internal logging.static io.deephaven.enterprise.binlog.support.MultiPartitionBufferWritermakeBinaryWriter(@NotNull io.deephaven.enterprise.binlog.support.LoggerInfo generatedLogger, @NotNull String processName) Create a writer for Core+ worker internal logging.
-
Method Details
-
getDateTimeFormatter
Get partition date time formatter.- Returns:
- partition date time formatter
-
makeBinaryWriter
public static io.deephaven.enterprise.binlog.support.MultiPartitionBufferWriter makeBinaryWriter(@NotNull @NotNull io.deephaven.enterprise.binlog.support.LoggerInfo generatedLogger) throws IOException Create a writer for Core+ worker internal logging.- Parameters:
generatedLogger- the generated logger to be associated with the writer- Returns:
- the writer associated with the generated logger
- Throws:
IOException- when the log sink cannot be initialized
-
makeBinaryWriter
public static io.deephaven.enterprise.binlog.support.MultiPartitionBufferWriter makeBinaryWriter(@NotNull @NotNull io.deephaven.enterprise.binlog.support.LoggerInfo generatedLogger, @NotNull @NotNull String processName) throws IOException Create a writer for Core+ worker internal logging.- Parameters:
generatedLogger- the generated logger to be associated with the writerprocessName- the process name to use- Returns:
- the writer associated with the generated logger
- Throws:
IOException- when the log sink cannot be initialized
-
getPartitionFromMillis
Generate string date partition from millisecond timestamp.- Parameters:
millis- millisecond timestamp- Returns:
- string date partition
-
getPartitionFromNanos
Generate string date partition from nanosecond timestamp.- Parameters:
nanos- nanosecond timestamp- Returns:
- string date partition
-
adaptFlags
public static io.deephaven.shadow.enterprise.com.illumon.iris.binarystore.Row.Flags adaptFlags(@NotNull Row.Flags flags) Adapt flags from Community Core to Enterprise Shadowed flags.- Parameters:
flags- Core flags- Returns:
- corresponding Enterprise flags
-
adaptFlagsV2
Adapt flags from Community Core to Enterprise V2 BLF flags.- Parameters:
flags- Core flags- Returns:
- corresponding Enterprise flags
-