Package io.deephaven.importers.csv.sink
Interface ColumnSinkHolder<DATA_TYPE,TARRAY>
- Type Parameters:
DATA_TYPE- The column data typeTARRAY- The stored values array data type (for example Integer DataType column would have int[] array data type) * on occasion this may be different for exampleAppendableBooleanAsByteColumnSink
- All Superinterfaces:
AppendableColumnSink<DATA_TYPE,,TARRAY> AppendableSink<DATA_TYPE,,TARRAY> PartitionUpdatesObserver,RowUpdateObservable,io.deephaven.csv.sinks.Sink<TARRAY>
- All Known Implementing Classes:
AppendableColumnSinkHolder
The dhc parser associates one sink and one parser for each source column. However, a single source column can be
associated with multiple columns in the TableDefinition. This interface defines the attributes that allow a single
AppendableColumnSink to handle this scenario.-
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumnSink(@NotNull BaseAppendableColumnSink<?, ?> columnSink) Adds the column sink to the holder list of column sinks that are source by SinkHolder's Source columnList<BaseAppendableColumnSink<?,?>> Returns the list of ColumnSinks that are part of this SinkHolder.Methods inherited from interface io.deephaven.importers.csv.sink.AppendableColumnSink
add, addAppendableColumn, addBooleans, addBytes, addChars, addDoubles, addFloats, addInts, addLongs, addShorts, evict, getColumnDataTransformer, getColumnName, getCsvSourceColumnName, isColumnInSchema, isColumnInSource, isColumnOnlyInSchema, isConstantColumn, isNotConsideredPartSourceFileMapping, isPartitionCol, publishRowUpdate, supportsTransformationsMethods inherited from interface io.deephaven.importers.csv.sink.AppendableSink
getConstantValue, getCustomSinkDataProcessor, getUnderlying, isCustomSetterColumn, nullFlagsToValues, publishToCustomSetter, updateCustomSetterData, updateNonSourceColRowChunk, updateRowChunk, validateForProcessingErrors, write, writeToLocalMethods inherited from interface io.deephaven.importers.csv.PartitionUpdatesObserver
onPartitionParserUpdateMethods inherited from interface io.deephaven.importers.csv.RowUpdateObservable
registerRowUpdateObserver
-
Method Details
-
addColumnSink
Adds the column sink to the holder list of column sinks that are source by SinkHolder's Source column- Parameters:
columnSink- columnSink that is sourced by SinkHolder's Source column
-
getColumnSinks
List<BaseAppendableColumnSink<?,?>> getColumnSinks()Returns the list of ColumnSinks that are part of this SinkHolder.- Returns:
- list of ColumnSinks that are part of this SinkHolder
-