Show / Hide Table of Contents

Class DecimalColumnData

An object representing fixed-point decimal column data. While the Deephaven fixed point type has unlimited precision, the .NET type does not. If you have the (unusual) case where you need to represent values outside the range of the type, use the GetDHDecimal(Int32) and SetValue(Int32, Nullable<DHDecimal>) methods to avoid overflow exceptions. Otherwise the GetDecimal(Int32) and SetValue(Int32, Nullable<Decimal>) are likely the most convenient way to interact with this type.

Inheritance
System.Object
AbstractColumnData
AbstractColumnData<System.Nullable<System.Decimal>, System.Nullable<Deephaven.OpenAPI.Core.RPC.Serialization.Java.Math.BigDecimal>, Deephaven.OpenAPI.Shared.Data.Columns.BigDecimalArrayColumnData>
DecimalColumnData
Implements
IColumnData
IColumnDataInternal
Inherited Members
AbstractColumnData<Nullable<Decimal>, Nullable<BigDecimal>, BigDecimalArrayColumnData>.ColumnData
AbstractColumnData<Nullable<Decimal>, Nullable<BigDecimal>, BigDecimalArrayColumnData>.InternalGetColumnData()
AbstractColumnData<Nullable<Decimal>, Nullable<BigDecimal>, BigDecimalArrayColumnData>.Length
AbstractColumnData<Nullable<Decimal>, Nullable<BigDecimal>, BigDecimalArrayColumnData>.GetValue(Int32)
AbstractColumnData<Nullable<Decimal>, Nullable<BigDecimal>, BigDecimalArrayColumnData>.SetValue(Int32, Nullable<Decimal>)
AbstractColumnData<Nullable<Decimal>, Nullable<BigDecimal>, BigDecimalArrayColumnData>.Item[Int32]
AbstractColumnData<Nullable<Decimal>, Nullable<BigDecimal>, BigDecimalArrayColumnData>.GetString(Int32)
AbstractColumnData<Nullable<Decimal>, Nullable<BigDecimal>, BigDecimalArrayColumnData>.GetObject(Int32)
AbstractColumnData.Length
AbstractColumnData.GetBoolean(Int32)
AbstractColumnData.GetInt32(Int32)
AbstractColumnData.GetInt64(Int32)
AbstractColumnData.GetByte(Int32)
AbstractColumnData.GetInt16(Int32)
AbstractColumnData.GetDouble(Int32)
AbstractColumnData.GetFloat(Int32)
AbstractColumnData.GetChar(Int32)
AbstractColumnData.GetDHDate(Int32)
AbstractColumnData.GetDHTime(Int32)
AbstractColumnData.GetDBDateTime(Int32)
AbstractColumnData.GetBigInteger(Int32)
AbstractColumnData.GetString(Int32)
AbstractColumnData.GetObject(Int32)
AbstractColumnData.Internal
AbstractColumnData.IColumnDataInternal.GetColumnData()
AbstractColumnData.IColumnDataInternal.GetColumnType()
AbstractColumnData.InternalGetColumnData()
Namespace: Deephaven.OpenAPI.Client.Data
Assembly: DeephavenOpenAPI.dll
Syntax
public class DecimalColumnData : AbstractColumnData<decimal?, BigDecimal?, BigDecimalArrayColumnData>, IColumnData, IColumnDataInternal

Constructors

DecimalColumnData(Nullable<DHDecimal>[])

Declaration
public DecimalColumnData(DHDecimal? [] data)
Parameters
Type Name Description
System.Nullable<DHDecimal>[] data

DecimalColumnData(Nullable<Decimal>[])

Declaration
public DecimalColumnData(decimal? [] data)
Parameters
Type Name Description
System.Nullable<System.Decimal>[] data

Methods

GetDecimal(Int32)

Declaration
public override decimal? GetDecimal(int row)
Parameters
Type Name Description
System.Int32 row
Returns
Type Description
System.Nullable<System.Decimal>
Overrides
AbstractColumnData.GetDecimal(Int32)

GetDHDecimal(Int32)

Get the value as a DHDecimal struct. This allows access to data that would overload the C# decimal type (since the Deephaven decimal type can hold larger values).

Declaration
public override DHDecimal? GetDHDecimal(int row)
Parameters
Type Name Description
System.Int32 row
Returns
Type Description
System.Nullable<DHDecimal>
Overrides
AbstractColumnData.GetDHDecimal(Int32)

GetValue(Int32)

Declaration
public override decimal? GetValue(int row)
Parameters
Type Name Description
System.Int32 row
Returns
Type Description
System.Nullable<System.Decimal>
Overrides
Deephaven.OpenAPI.Client.Data.AbstractColumnData<System.Nullable<System.Decimal>, System.Nullable<Deephaven.OpenAPI.Core.RPC.Serialization.Java.Math.BigDecimal>, Deephaven.OpenAPI.Shared.Data.Columns.BigDecimalArrayColumnData>.GetValue(System.Int32)

InternalGetColumnType()

Declaration
protected override sealed string InternalGetColumnType()
Returns
Type Description
System.String
Overrides
AbstractColumnData.InternalGetColumnType()

IsNull(Int32)

Declaration
public override bool IsNull(int row)
Parameters
Type Name Description
System.Int32 row
Returns
Type Description
System.Boolean
Overrides
AbstractColumnData.IsNull(Int32)

SetValue(Int32, Nullable<DHDecimal>)

Declaration
public void SetValue(int row, DHDecimal? value)
Parameters
Type Name Description
System.Int32 row
System.Nullable<DHDecimal> value

SetValue(Int32, Nullable<Decimal>)

Declaration
public override void SetValue(int row, decimal? value)
Parameters
Type Name Description
System.Int32 row
System.Nullable<System.Decimal> value
Overrides
Deephaven.OpenAPI.Client.Data.AbstractColumnData<System.Nullable<System.Decimal>, System.Nullable<Deephaven.OpenAPI.Core.RPC.Serialization.Java.Math.BigDecimal>, Deephaven.OpenAPI.Shared.Data.Columns.BigDecimalArrayColumnData>.SetValue(System.Int32, System.Nullable<System.Decimal>)

Implements

IColumnData
IColumnDataInternal
Back to top Generated by DocFX