Package io.deephaven.chunk
Class ToLegacyStringSetChunkAdapter
java.lang.Object
io.deephaven.chunk.ToLegacyStringSetChunkAdapter
- All Implemented Interfaces:
ToLegacyChunkAdapter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidconvertIntoWritable(@NotNull Chunk<?> cChunk, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableWritableChunk<?> lChunk) Convert the input CoreChunkinto a LegacyWritableChunk.static voiddoConvertIntoResettable(@NotNull ObjectChunk<?, ?> toConvert, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableObjectChunk<?, ?> dest) Converts a ObjectChunk into a ResettableObjectChunk.static voiddoConvertIntoWritable(@NotNull ObjectChunk<?, ?> toConvert, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.ResettableWritableObjectChunk<?, ?> dest)
-
Field Details
-
INSTANCE
-
-
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:ToLegacyChunkAdapterConvert the input CoreChunkinto a LegacyWritableChunk. 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:
convertIntoWritablein interfaceToLegacyChunkAdapter- 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 chunkdest- the destination Legacy chunk
-