Interface AppendableColumnAddHelper<TYPE>
public interface AppendableColumnAddHelper<TYPE>
Helpers for type-specific methods in AppendableColumn.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFromBoxedValue(AppendableColumn<TYPE> destination, TYPE value) Implement the behavior defined inAppendableColumn.addFromBoxedValue(Object).voidaddFromBoxedValue(AppendableColumn<TYPE> destination, TYPE value, long count) Implement the behavior defined inAppendableColumn.addFromBoxedValue(Object, long).voidaddFromChunk(AppendableColumn<TYPE> destination, Chunk<? extends Attributes.Values> source) Implement the behavior defined inAppendableColumn.addFromChunk(Chunk).voidaddFromColumnSource(AppendableColumn<TYPE> destination, ColumnSource<TYPE> source, long sourceKey) Deprecated.default voidaddFromColumnSource(AppendableColumn<TYPE> destination, ColumnSource<TYPE> source, long[] sourceKeys) Deprecated.default voidaddFromColumnSource(AppendableColumn<TYPE> destination, ColumnSource<TYPE> source, PrimitiveIterator.OfLong keyIterator) Deprecated.voidaddFromDataColumn(AppendableColumn<TYPE> destination, DataColumn<TYPE> source, int sourcePosition) Deprecated.voidaddFromUntypedArray(AppendableColumn<TYPE> destination, Object array, int startIndex, int length) Implement the behavior defined inAppendableColumn.addFromArray(Object, int, int).static <TYPE> AppendableColumnAddHelper<TYPE>getHelperForType(Class<TYPE> type) Get a type-appropriate AppendableColumnAddHelper.
-
Method Details
-
getHelperForType
Get a type-appropriate AppendableColumnAddHelper.- Parameters:
type- The type- Returns:
- The add helper
-
addFromDataColumn
@Deprecated void addFromDataColumn(@NotNull AppendableColumn<TYPE> destination, @NotNull DataColumn<TYPE> source, int sourcePosition) Deprecated.Implement the behavior defined inAppendableColumn.addFromDataColumn(DataColumn, int).- Parameters:
destination- The destination columnsource- The source DataColumnsourcePosition- The position within source that contains the value to be added
-
addFromColumnSource
@Deprecated void addFromColumnSource(@NotNull AppendableColumn<TYPE> destination, @NotNull ColumnSource<TYPE> source, long sourceKey) Deprecated.Implement the behavior defined inAppendableColumn.addFromColumnSource(ColumnSource, long).- Parameters:
destination- The destination columnsource- The source ColumnSourcesourceKey- The key within source that contains the value to be added
-
addFromColumnSource
@Deprecated default void addFromColumnSource(@NotNull AppendableColumn<TYPE> destination, @NotNull ColumnSource<TYPE> source, @NotNull long[] sourceKeys) Deprecated.Implement the behavior defined inAppendableColumn.addFromColumnSource(ColumnSource, long[]).- Parameters:
destination- The destination columnsource- The source ColumnSourcesourceKeys- The keys within source that contain the values to be added
-
addFromColumnSource
@Deprecated default void addFromColumnSource(@NotNull AppendableColumn<TYPE> destination, @NotNull ColumnSource<TYPE> source, @NotNull PrimitiveIterator.OfLong keyIterator) Deprecated.Implement the behavior defined inAppendableColumn.addFromColumnSource(ColumnSource, PrimitiveIterator.OfLong).- Parameters:
destination- The destination columnsource- The source ColumnSourcekeyIterator- An iterator of keys within source that contain the values to be added
-
addFromBoxedValue
Implement the behavior defined inAppendableColumn.addFromBoxedValue(Object).- Parameters:
destination- The destination columnvalue- The value to add
-
addFromBoxedValue
Implement the behavior defined inAppendableColumn.addFromBoxedValue(Object, long).- Parameters:
destination- The destination columnvalue- The value to addcount- The number of times to add the value
-
addFromUntypedArray
void addFromUntypedArray(@NotNull AppendableColumn<TYPE> destination, Object array, int startIndex, int length) Implement the behavior defined inAppendableColumn.addFromArray(Object, int, int).- Parameters:
destination- The destination columnarray- The array of valuesstartIndex- The index of the first value to addlength- The total number of values to add
-
addFromChunk
void addFromChunk(@NotNull AppendableColumn<TYPE> destination, @NotNull Chunk<? extends Attributes.Values> source) Implement the behavior defined inAppendableColumn.addFromChunk(Chunk).- Parameters:
destination- The destinationAppendableColumnsource- The sourceChunk
-