Class AbstractColumnData<DataType, ColumnDataType>
The AbstractColumnData<DataType, ColumnDataType> object provides access to data associated with a particular Deephaven table column. Both Deephaven.OpenAPI.Client.Internal.TableData and ITableUpdate objects use this abstraction to provide access to table data resulting from one-time requests or subscription updates, respectively.
Each concrete column type is represented by a subclass of this type. Depending on the column type, a different subset of "getter" methods is implemented.
Inheritance
System.Object
AbstractColumnData<DataType, DataType, ColumnDataType>
AbstractColumnData<DataType, ColumnDataType>
Inherited Members
Namespace: Deephaven.OpenAPI.Client.Data
Assembly: DeephavenOpenAPI.dll
Syntax
public abstract class AbstractColumnData<DataType, ColumnDataType> : AbstractColumnData<DataType, DataType, ColumnDataType>, IColumnData, IColumnDataInternal where ColumnDataType : ColumnData<DataType>, new()
Type Parameters
Name | Description |
---|---|
DataType | The type representing column values for this column data type |
ColumnDataType | The internal Open API column data type |
Constructors
AbstractColumnData(DataType[])
Declaration
protected AbstractColumnData(DataType[] data)
Parameters
Type | Name | Description |
---|---|---|
DataType[] | data |
AbstractColumnData(Int32)
Declaration
protected AbstractColumnData(int size)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | size |
Methods
GetValue(Int32)
Default implementation, if DT differs from the wrapped type, must be overridden.
Declaration
public override sealed DataType GetValue(int row)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row |
Returns
Type | Description |
---|---|
DataType |
Overrides
Deephaven.OpenAPI.Client.Data.AbstractColumnData<DataType, DataType, ColumnDataType>.GetValue(System.Int32)
SetValue(Int32, DataType)
Declaration
public override sealed void SetValue(int row, DataType value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | |
DataType | value |
Overrides
Deephaven.OpenAPI.Client.Data.AbstractColumnData<DataType, DataType, ColumnDataType>.SetValue(System.Int32, DataType)