Builder for constructing a Type with a fluent API. More…
Public Member Functions | |
| TypeBuilder (string label) | |
| Creates a new TypeBuilder with the specified label. | |
| TypeBuilder | AddColumn (Column column) |
| Adds a column with the specified type. | |
| TypeBuilder | AddIntColumn (string name) |
| Adds an integer column. | |
| TypeBuilder | AddLongColumn (string name) |
| Adds a long column. | |
| TypeBuilder | AddFloatColumn (string name) |
| Adds a float column. | |
| TypeBuilder | AddDoubleColumn (string name) |
| Adds a double column. | |
| TypeBuilder | AddStringColumn (string name) |
| Adds a string column. | |
| TypeBuilder | AddBytesColumn (string name) |
| Adds a bytes column. | |
| TypeBuilder | AddTimestampColumn (string name) |
| Adds a timestamp column. | |
| TypeBuilder | AddDateColumn (string name) |
| Adds a date column. | |
| TypeBuilder | AddDateTimeColumn (string name) |
| Adds a datetime column. | |
| TypeBuilder | AddTimeColumn (string name) |
| Adds a time column. | |
| TypeBuilder | AddBooleanColumn (string name) |
| Adds a boolean column (stored as int). | |
| TypeBuilder | AddInt8Column (string name) |
| Adds an int8 column. | |
| TypeBuilder | AddInt16Column (string name) |
| Adds an int16 column. | |
| TypeBuilder | AddDecimalColumn (string name) |
| Adds a decimal column. | |
| TypeBuilder | AddIpv4Column (string name) |
| Adds an IPv4 column. | |
| TypeBuilder | AddUuidColumn (string name) |
| Adds a UUID column. | |
| TypeBuilder | AddCharColumn (string name, int length) |
| Adds a char(N) column. | |
| TypeBuilder | AddWktColumn (string name) |
| Adds a WKT (Well-Known Text) geometry column. | |
| TypeBuilder | AddJsonColumn (string name) |
| Adds a JSON column. | |
| TypeBuilder | PrimaryKey () |
| Marks the current column as primary key. | |
| TypeBuilder | ShardKey () |
| Marks the current column as shard key. | |
| TypeBuilder | Nullable () |
| Marks the current column as nullable. | |
| TypeBuilder | Data () |
| Marks the current column as data column. | |
| TypeBuilder | WithProperty (string property) |
| Adds a custom property to the current column. | |
| Type | Build () |
| Builds the Type. | |
| TypeBuilder (string label) | |
| Creates a new TypeBuilder with the specified label. | |
| TypeBuilder | AddColumn (Column column) |
| Adds a column with the specified type. | |
| TypeBuilder | AddIntColumn (string name) |
| Adds an integer column. | |
| TypeBuilder | AddLongColumn (string name) |
| Adds a long column. | |
| TypeBuilder | AddFloatColumn (string name) |
| Adds a float column. | |
| TypeBuilder | AddDoubleColumn (string name) |
| Adds a double column. | |
| TypeBuilder | AddStringColumn (string name) |
| Adds a string column. | |
| TypeBuilder | AddBytesColumn (string name) |
| Adds a bytes column. | |
| TypeBuilder | AddTimestampColumn (string name) |
| Adds a timestamp column. | |
| TypeBuilder | AddDateColumn (string name) |
| Adds a date column. | |
| TypeBuilder | AddDateTimeColumn (string name) |
| Adds a datetime column. | |
| TypeBuilder | AddTimeColumn (string name) |
| Adds a time column. | |
| TypeBuilder | AddBooleanColumn (string name) |
| Adds a boolean column (stored as int). | |
| TypeBuilder | AddInt8Column (string name) |
| Adds an int8 column. | |
| TypeBuilder | AddInt16Column (string name) |
| Adds an int16 column. | |
| TypeBuilder | AddDecimalColumn (string name) |
| Adds a decimal column. | |
| TypeBuilder | AddIpv4Column (string name) |
| Adds an IPv4 column. | |
| TypeBuilder | AddUuidColumn (string name) |
| Adds a UUID column. | |
| TypeBuilder | AddCharColumn (string name, int length) |
| Adds a char(N) column. | |
| TypeBuilder | AddWktColumn (string name) |
| Adds a WKT (Well-Known Text) geometry column. | |
| TypeBuilder | AddJsonColumn (string name) |
| Adds a JSON column. | |
| TypeBuilder | PrimaryKey () |
| Marks the current column as primary key. | |
| TypeBuilder | ShardKey () |
| Marks the current column as shard key. | |
| TypeBuilder | Nullable () |
| Marks the current column as nullable. | |
| TypeBuilder | Data () |
| Marks the current column as data column. | |
| TypeBuilder | WithProperty (string property) |
| Adds a custom property to the current column. | |
| Type | Build () |
| Builds the Type. | |
Detailed Description
Builder for constructing a Type with a fluent API.
Equivalent to Rust’s TypeBuilder.
Definition at line 18 of file TypeBuilder.cs.
Constructor & Destructor Documentation
◆ TypeBuilder() [1/2]
| inline |
Creates a new TypeBuilder with the specified label.
| label | The type label/name. |
Definition at line 28 of file TypeBuilder.cs.
◆ TypeBuilder() [2/2]
| inline |
Creates a new TypeBuilder with the specified label.
| label | The type label/name. |
Definition at line 28 of file TypeBuilder.cs.
Member Function Documentation
◆ AddBooleanColumn() [1/2]
| inline |
Adds a boolean column (stored as int).
Definition at line 160 of file TypeBuilder.cs.
◆ AddBooleanColumn() [2/2]
| inline |
Adds a boolean column (stored as int).
Definition at line 160 of file TypeBuilder.cs.
◆ AddBytesColumn() [1/2]
| inline |
Adds a bytes column.
Definition at line 110 of file TypeBuilder.cs.
◆ AddBytesColumn() [2/2]
| inline |
Adds a bytes column.
Definition at line 110 of file TypeBuilder.cs.
◆ AddCharColumn() [1/2]
| inline |
Adds a char(N) column.
| name | The column name. |
| length | The character length (1, 2, 4, 8, 16, 32, 64, 128, or 256). |
Definition at line 222 of file TypeBuilder.cs.
◆ AddCharColumn() [2/2]
| inline |
Adds a char(N) column.
| name | The column name. |
| length | The character length (1, 2, 4, 8, 16, 32, 64, 128, or 256). |
Definition at line 222 of file TypeBuilder.cs.
◆ AddColumn() [1/2]
| inline |
Adds a column with the specified type.
Definition at line 50 of file TypeBuilder.cs.
◆ AddColumn() [2/2]
| inline |
Adds a column with the specified type.
Definition at line 50 of file TypeBuilder.cs.
◆ AddDateColumn() [1/2]
| inline |
Adds a date column.
Definition at line 130 of file TypeBuilder.cs.
◆ AddDateColumn() [2/2]
| inline |
Adds a date column.
Definition at line 130 of file TypeBuilder.cs.
◆ AddDateTimeColumn() [1/2]
| inline |
Adds a datetime column.
Definition at line 140 of file TypeBuilder.cs.
◆ AddDateTimeColumn() [2/2]
| inline |
Adds a datetime column.
Definition at line 140 of file TypeBuilder.cs.
◆ AddDecimalColumn() [1/2]
| inline |
Adds a decimal column.
Definition at line 190 of file TypeBuilder.cs.
◆ AddDecimalColumn() [2/2]
| inline |
Adds a decimal column.
Definition at line 190 of file TypeBuilder.cs.
◆ AddDoubleColumn() [1/2]
| inline |
Adds a double column.
Definition at line 90 of file TypeBuilder.cs.
◆ AddDoubleColumn() [2/2]
| inline |
Adds a double column.
Definition at line 90 of file TypeBuilder.cs.
◆ AddFloatColumn() [1/2]
| inline |
Adds a float column.
Definition at line 80 of file TypeBuilder.cs.
◆ AddFloatColumn() [2/2]
| inline |
Adds a float column.
Definition at line 80 of file TypeBuilder.cs.
◆ AddInt16Column() [1/2]
| inline |
Adds an int16 column.
Definition at line 180 of file TypeBuilder.cs.
◆ AddInt16Column() [2/2]
| inline |
Adds an int16 column.
Definition at line 180 of file TypeBuilder.cs.
◆ AddInt8Column() [1/2]
| inline |
Adds an int8 column.
Definition at line 170 of file TypeBuilder.cs.
◆ AddInt8Column() [2/2]
| inline |
Adds an int8 column.
Definition at line 170 of file TypeBuilder.cs.
◆ AddIntColumn() [1/2]
| inline |
Adds an integer column.
Definition at line 60 of file TypeBuilder.cs.
◆ AddIntColumn() [2/2]
| inline |
Adds an integer column.
Definition at line 60 of file TypeBuilder.cs.
◆ AddIpv4Column() [1/2]
| inline |
Adds an IPv4 column.
Definition at line 200 of file TypeBuilder.cs.
◆ AddIpv4Column() [2/2]
| inline |
Adds an IPv4 column.
Definition at line 200 of file TypeBuilder.cs.
◆ AddJsonColumn() [1/2]
| inline |
Adds a JSON column.
Definition at line 255 of file TypeBuilder.cs.
◆ AddJsonColumn() [2/2]
| inline |
Adds a JSON column.
Definition at line 255 of file TypeBuilder.cs.
◆ AddLongColumn() [1/2]
| inline |
Adds a long column.
Definition at line 70 of file TypeBuilder.cs.
◆ AddLongColumn() [2/2]
| inline |
Adds a long column.
Definition at line 70 of file TypeBuilder.cs.
◆ AddStringColumn() [1/2]
| inline |
Adds a string column.
Definition at line 100 of file TypeBuilder.cs.
◆ AddStringColumn() [2/2]
| inline |
Adds a string column.
Definition at line 100 of file TypeBuilder.cs.
◆ AddTimeColumn() [1/2]
| inline |
Adds a time column.
Definition at line 150 of file TypeBuilder.cs.
◆ AddTimeColumn() [2/2]
| inline |
Adds a time column.
Definition at line 150 of file TypeBuilder.cs.
◆ AddTimestampColumn() [1/2]
| inline |
Adds a timestamp column.
Definition at line 120 of file TypeBuilder.cs.
◆ AddTimestampColumn() [2/2]
| inline |
Adds a timestamp column.
Definition at line 120 of file TypeBuilder.cs.
◆ AddUuidColumn() [1/2]
| inline |
Adds a UUID column.
Definition at line 210 of file TypeBuilder.cs.
◆ AddUuidColumn() [2/2]
| inline |
Adds a UUID column.
Definition at line 210 of file TypeBuilder.cs.
◆ AddWktColumn() [1/2]
| inline |
Adds a WKT (Well-Known Text) geometry column.
Definition at line 245 of file TypeBuilder.cs.
◆ AddWktColumn() [2/2]
| inline |
Adds a WKT (Well-Known Text) geometry column.
Definition at line 245 of file TypeBuilder.cs.
◆ Build() [1/2]
| inline |
◆ Build() [2/2]
| inline |
◆ Data() [1/2]
| inline |
Marks the current column as data column.
Definition at line 314 of file TypeBuilder.cs.
◆ Data() [2/2]
| inline |
Marks the current column as data column.
Definition at line 314 of file TypeBuilder.cs.
◆ Nullable() [1/2]
| inline |
Marks the current column as nullable.
Definition at line 299 of file TypeBuilder.cs.
◆ Nullable() [2/2]
| inline |
Marks the current column as nullable.
Definition at line 299 of file TypeBuilder.cs.
◆ PrimaryKey() [1/2]
| inline |
Marks the current column as primary key.
Definition at line 269 of file TypeBuilder.cs.
◆ PrimaryKey() [2/2]
| inline |
Marks the current column as primary key.
Definition at line 269 of file TypeBuilder.cs.
◆ ShardKey() [1/2]
| inline |
Marks the current column as shard key.
Definition at line 284 of file TypeBuilder.cs.
◆ ShardKey() [2/2]
| inline |
Marks the current column as shard key.
Definition at line 284 of file TypeBuilder.cs.
◆ WithProperty() [1/2]
| inline |
Adds a custom property to the current column.
Definition at line 329 of file TypeBuilder.cs.
◆ WithProperty() [2/2]
| inline |
Adds a custom property to the current column.
Definition at line 329 of file TypeBuilder.cs.
The documentation for this class was generated from the following files:
- _build/public-os_centos8-arch_amd64-cc_gcc_8.5.0/install/Kinetica/Records/TypeBuilder.cs
- Kinetica/Records/TypeBuilder.cs