Class ToLegacyStringSetChunkAdapter

java.lang.Object
io.deephaven.chunk.ToLegacyStringSetChunkAdapter
All Implemented Interfaces:
ToLegacyChunkAdapter

public class ToLegacyStringSetChunkAdapter extends Object implements ToLegacyChunkAdapter
  • Field Details

  • Method Details

    • convertIntoWritable

      public void convertIntoWritable(@NotNull @NotNull Chunk<?> cChunk, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableWritableChunk<?> lChunk)
      Description copied from interface: ToLegacyChunkAdapter
      Convert the input Core Chunk into a Legacy WritableChunk. This method guarantees that the two chunks wrap the same internals so that changes to the input Legacy chunk are reflected in the input Core chunk.
      Specified by:
      convertIntoWritable in interface ToLegacyChunkAdapter
      Parameters:
      cChunk - the chunk to convert into.
      lChunk - the chunk to be converted
    • doConvertIntoWritable

      public static void doConvertIntoWritable(@NotNull @NotNull ObjectChunk<?,?> toConvert, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableWritableObjectChunk<?,?> dest)
    • doConvertIntoResettable

      public static void doConvertIntoResettable(@NotNull @NotNull ObjectChunk<?,?> toConvert, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableObjectChunk<?,?> dest)
      Converts a ObjectChunk into a ResettableObjectChunk.
      Parameters:
      toConvert - the Core chunk to convert to a Legacy chunk
      dest - the destination Legacy chunk