Constructor
new Column(name, type, …propertiesopt)
Creates a Column object containing metadata about a column that is part of a
GPUdb type.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name |
String | The name of the column. | |
type |
String | The data type of the column. | |
properties |
String |
<optional> <repeatable> |
The list of properties that apply to the column; defaults to none. |
Members
name :String
The name of the column.
Type:
- String
properties :Array.<String>
The list of properties that apply to the column.
Type:
- Array.<String>
type :String
The data type of the column.
Type:
- String
Methods
is_nullable() → {boolean}
Gets whether the column is nullable.
Returns:
Whether the column is nullable.
- Type
- boolean