Package io.deephaven.extensions.barrage
Class BarrageTypeInfo<FIELD_TYPE>
java.lang.Object
io.deephaven.extensions.barrage.BarrageTypeInfo<FIELD_TYPE>
Describes type info used by factory implementations when creating a ChunkReader.
-
Constructor Summary
ConstructorsConstructorDescriptionBarrageTypeInfo(@NotNull Class<?> type, @Nullable Class<?> componentType, FIELD_TYPE arrowField) -
Method Summary
Modifier and TypeMethodDescription@Nullable Class<?> static <FIELD_TYPE>
BarrageTypeInfo<FIELD_TYPE> Factory method to create a TypeInfo instance.Class<?> type()
-
Constructor Details
-
BarrageTypeInfo
public BarrageTypeInfo(@NotNull @NotNull Class<?> type, @Nullable @Nullable Class<?> componentType, @NotNull FIELD_TYPE arrowField)
-
-
Method Details
-
make
public static <FIELD_TYPE> BarrageTypeInfo<FIELD_TYPE> make(@NotNull @NotNull Class<?> type, @Nullable @Nullable Class<?> componentType, @NotNull FIELD_TYPE arrowField) Factory method to create a TypeInfo instance.- Parameters:
type- the Java type to be read into the chunkcomponentType- the Java type of nested componentsarrowField- the Arrow type to be read into the chunk- Returns:
- a TypeInfo instance
-
type
-
componentType
-
arrowField
-
chunkType
-