Describes a single column of a KineticaType: its name, data type, and properties. More…
Public Types | |
| enum | ColumnType BYTES = (int)Avro.Schema.Type.Bytes , DOUBLE = (int)Avro.Schema.Type.Double , FLOAT = (int)Avro.Schema.Type.Float , INT = (int)Avro.Schema.Type.Int , LONG = (int)Avro.Schema.Type.Long , STRING = (int)Avro.Schema.Type.String , BOOLEAN = (int)Avro.Schema.Type.Boolean , DEFAULT = (int)Avro.Schema.Type.Error , BYTES = (int)Avro.Schema.Type.Bytes , DOUBLE = (int)Avro.Schema.Type.Double , FLOAT = (int)Avro.Schema.Type.Float , INT = (int)Avro.Schema.Type.Int , LONG = (int)Avro.Schema.Type.Long , STRING = (int)Avro.Schema.Type.String , BOOLEAN = (int)Avro.Schema.Type.Boolean , DEFAULT = (int)Avro.Schema.Type.Error |
| The primitive data type of a column. More… | |
| enum | ColumnType BYTES = (int)Avro.Schema.Type.Bytes , DOUBLE = (int)Avro.Schema.Type.Double , FLOAT = (int)Avro.Schema.Type.Float , INT = (int)Avro.Schema.Type.Int , LONG = (int)Avro.Schema.Type.Long , STRING = (int)Avro.Schema.Type.String , BOOLEAN = (int)Avro.Schema.Type.Boolean , DEFAULT = (int)Avro.Schema.Type.Error , BYTES = (int)Avro.Schema.Type.Bytes , DOUBLE = (int)Avro.Schema.Type.Double , FLOAT = (int)Avro.Schema.Type.Float , INT = (int)Avro.Schema.Type.Int , LONG = (int)Avro.Schema.Type.Long , STRING = (int)Avro.Schema.Type.String , BOOLEAN = (int)Avro.Schema.Type.Boolean , DEFAULT = (int)Avro.Schema.Type.Error |
| The primitive data type of a column. More… | |
Public Member Functions | |
| Column (string name, ColumnType type, IList< string >? properties=null) | |
| Creates a Column object from the given name, type, and properties. | |
| string | getName () |
| Returns the name of the column. | |
| ColumnType | getType () |
| Returns the enumeration for the column type. | |
| bool | isNullable () |
| Returns if the column is nullable. | |
| IList< string > | getProperties () |
| Returns the properties for the column. | |
| bool | isDecimal () |
| Returns whether this column is a decimal type. | |
| int | getDecimalPrecision () |
| Returns the precision for decimal columns. | |
| int | getDecimalScale () |
| Returns the scale for decimal columns. | |
| int | getDecimalByteSize () |
| Returns the byte size needed to store decimal values for this column. | |
| string | getTypeString () |
| Returns the string format of the data type. | |
| override string | ToString () |
| Column (string name, ColumnType type, IList< string >? properties=null) | |
| Creates a Column object from the given name, type, and properties. | |
| string | getName () |
| Returns the name of the column. | |
| ColumnType | getType () |
| Returns the enumeration for the column type. | |
| bool | isNullable () |
| Returns if the column is nullable. | |
| IList< string > | getProperties () |
| Returns the properties for the column. | |
| bool | isDecimal () |
| Returns whether this column is a decimal type. | |
| int | getDecimalPrecision () |
| Returns the precision for decimal columns. | |
| int | getDecimalScale () |
| Returns the scale for decimal columns. | |
| int | getDecimalByteSize () |
| Returns the byte size needed to store decimal values for this column. | |
| string | getTypeString () |
| Returns the string format of the data type. | |
| override string | ToString () |
Static Public Attributes | |
| const int | DEFAULT_DECIMAL_PRECISION = 18 |
| Default precision for decimal columns (matches Java API). | |
| const int | DEFAULT_DECIMAL_SCALE = 4 |
| Default scale for decimal columns (matches Java API). | |
| const int | DECIMAL8_MAX_PRECISION = 18 |
| Maximum precision for 8-byte decimals. | |
Detailed Description
Describes a single column of a KineticaType: its name, data type, and properties.
Definition at line 12 of file KineticaType.cs.
Member Enumeration Documentation
◆ ColumnType [1/2]
The primitive data type of a column.
| Enumerator | |
|---|---|
| BYTES | A byte-array (binary) column. |
| DOUBLE | A double-precision floating-point column. |
| FLOAT | A single-precision floating-point column. |
| INT | A 32-bit integer column. |
| LONG | A 64-bit integer column. |
| STRING | A string column. |
| BOOLEAN | A boolean column. |
| DEFAULT | An unset/unrecognized column type. |
| BYTES | A byte-array (binary) column. |
| DOUBLE | A double-precision floating-point column. |
| FLOAT | A single-precision floating-point column. |
| INT | A 32-bit integer column. |
| LONG | A 64-bit integer column. |
| STRING | A string column. |
| BOOLEAN | A boolean column. |
| DEFAULT | An unset/unrecognized column type. |
Definition at line 15 of file KineticaType.cs.
◆ ColumnType [2/2]
The primitive data type of a column.
| Enumerator | |
|---|---|
| BYTES | A byte-array (binary) column. |
| DOUBLE | A double-precision floating-point column. |
| FLOAT | A single-precision floating-point column. |
| INT | A 32-bit integer column. |
| LONG | A 64-bit integer column. |
| STRING | A string column. |
| BOOLEAN | A boolean column. |
| DEFAULT | An unset/unrecognized column type. |
| BYTES | A byte-array (binary) column. |
| DOUBLE | A double-precision floating-point column. |
| FLOAT | A single-precision floating-point column. |
| INT | A 32-bit integer column. |
| LONG | A 64-bit integer column. |
| STRING | A string column. |
| BOOLEAN | A boolean column. |
| DEFAULT | An unset/unrecognized column type. |
Definition at line 15 of file KineticaType.cs.
Constructor & Destructor Documentation
◆ Column() [1/2]
| inline |
Creates a Column object from the given name, type, and properties.
| name | |
| type | |
| properties |
Definition at line 71 of file KineticaType.cs.
◆ Column() [2/2]
| inline |
Creates a Column object from the given name, type, and properties.
| name | |
| type | |
| properties |
Definition at line 71 of file KineticaType.cs.
Member Function Documentation
◆ getDecimalByteSize() [1/2]
| inline |
Returns the byte size needed to store decimal values for this column.
Returns 8 for precision <= 18, or 12 for precision > 18.
Definition at line 130 of file KineticaType.cs.
◆ getDecimalByteSize() [2/2]
| inline |
Returns the byte size needed to store decimal values for this column.
Returns 8 for precision <= 18, or 12 for precision > 18.
Definition at line 130 of file KineticaType.cs.
◆ getDecimalPrecision() [1/2]
| inline |
Returns the precision for decimal columns.
For non-decimal columns, returns DEFAULT_DECIMAL_PRECISION.
Definition at line 116 of file KineticaType.cs.
◆ getDecimalPrecision() [2/2]
| inline |
Returns the precision for decimal columns.
For non-decimal columns, returns DEFAULT_DECIMAL_PRECISION.
Definition at line 116 of file KineticaType.cs.
◆ getDecimalScale() [1/2]
| inline |
Returns the scale for decimal columns.
For non-decimal columns, returns DEFAULT_DECIMAL_SCALE.
Definition at line 123 of file KineticaType.cs.
◆ getDecimalScale() [2/2]
| inline |
Returns the scale for decimal columns.
For non-decimal columns, returns DEFAULT_DECIMAL_SCALE.
Definition at line 123 of file KineticaType.cs.
◆ getName() [1/2]
| inline |
◆ getName() [2/2]
| inline |
◆ getProperties() [1/2]
| inline |
◆ getProperties() [2/2]
| inline |
◆ getType() [1/2]
| inline |
◆ getType() [2/2]
| inline |
◆ getTypeString() [1/2]
| inline |
◆ getTypeString() [2/2]
| inline |
◆ isDecimal() [1/2]
| inline |
Returns whether this column is a decimal type.
Definition at line 109 of file KineticaType.cs.
◆ isDecimal() [2/2]
| inline |
Returns whether this column is a decimal type.
Definition at line 109 of file KineticaType.cs.
◆ isNullable() [1/2]
| inline |
◆ isNullable() [2/2]
| inline |
◆ ToString() [1/2]
| inline |
Definition at line 227 of file KineticaType.cs.
◆ ToString() [2/2]
| inline |
Definition at line 227 of file KineticaType.cs.
Member Data Documentation
◆ DECIMAL8_MAX_PRECISION
| static |
Maximum precision for 8-byte decimals.
Decimals with precision > 18 use 12 bytes.
Definition at line 48 of file KineticaType.cs.
◆ DEFAULT_DECIMAL_PRECISION
| static |
Default precision for decimal columns (matches Java API).
Definition at line 38 of file KineticaType.cs.
◆ DEFAULT_DECIMAL_SCALE
| static |
Default scale for decimal columns (matches Java API).
Definition at line 43 of file KineticaType.cs.
The documentation for this class was generated from the following files:
- _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/KineticaType.cs
- Kinetica/KineticaType.cs