Class ToLegacyIntChunkAdapter

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

public class ToLegacyIntChunkAdapter extends Object implements ToLegacyChunkAdapter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    convertIntoWritable(@NotNull Chunk<?> cChunk, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableWritableChunk<?> lChunk)
    Convert the input Core Chunk into a Legacy WritableChunk.
    static void
    doConvertIntoResettable(@NotNull IntChunk<?> toConvert, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableIntChunk<?> dest)
    Converts a IntChunk into a ResettableIntChunk.
    static void
    doConvertIntoWritable(@NotNull IntChunk<?> toConvert, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableWritableIntChunk<?> dest)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 IntChunk<?> toConvert, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableWritableIntChunk<?> dest)
    • doConvertIntoResettable

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