Table of Contents

Interface IColumnMetadata

Namespace
Apache.Ignite.Sql
Assembly
Apache.Ignite.dll

Column metadata.

public interface IColumnMetadata

Properties

Name

Gets the column name.

string Name { get; }

Property Value

string

Nullable

Gets a value indicating whether the column is nullable.

bool Nullable { get; }

Property Value

bool

Origin

Gets the column origin.

For example, for "select foo as bar" query, column name will be "bar", but origin name will be "foo".
IColumnOrigin? Origin { get; }

Property Value

IColumnOrigin

Precision

Gets the column precision, or -1 when not applicable to the current column type.

int Precision { get; }

Property Value

int

Number of decimal digits for exact numeric types; number of decimal digits in mantissa for approximate numeric types; number of decimal digits for fractional seconds of datetime types; length in characters for character types; length in bytes for binary types; length in bits for bit types; 1 for BOOLEAN; -1 if precision is not valid for the type.

Scale

Gets the column scale. Number of digits of scale.

int Scale { get; }

Property Value

int

Type

Gets the column type.

ColumnType Type { get; }

Property Value

ColumnType