Interface ChunkAdapter
- All Known Implementing Classes:
- EnterpriseByteChunkAdapter,- EnterpriseCharChunkAdapter,- EnterpriseDoubleChunkAdapter,- EnterpriseFloatChunkAdapter,- EnterpriseIntChunkAdapter,- EnterpriseLongChunkAdapter,- EnterpriseObjectChunkAdapter,- EnterpriseShortChunkAdapter
public interface ChunkAdapter
Implementors provide a method to adapt an Enterprise 
WritableChunk into a Community
 WritableChunk.- 
Method SummaryModifier and TypeMethodDescriptionvoidconvertWritableInto(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.WritableChunk<?> dheChunk, ResettableWritableChunk<?> dhcChunk) Convert the input EnterpriseWritableChunkinto a CommunityWritableChunk.static ChunkAdapterCreate an appropriate adapter instance for the specifiedChunkType
- 
Method Details- 
makeCreate an appropriate adapter instance for the specifiedChunkType- Parameters:
- chunkType- the chunk type
- Returns:
- an ChunkAdapterto convert Enterprise chunks into Community chunks.
 
- 
convertWritableIntovoid convertWritableInto(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.chunk.WritableChunk<?> dheChunk, @NotNull ResettableWritableChunk<?> dhcChunk) Convert the input EnterpriseWritableChunkinto a CommunityWritableChunk. This method guarantees that the two chunks wrap the same internals so that changes to the input Community chunk are reflected in the input Enterprise chunk.- Parameters:
- dheChunk- the chunk to be converted
- dhcChunk- the chunk to convert into.
 
 
-