Class: Column

GPUdb.Type.Column(name, type, …propertiesopt)

Metadata about a column that is part of a GPUdb type.

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.
Source:

Members

name :String

The name of the column.
Type:
  • String
Source:

properties :Array.<String>

The list of properties that apply to the column.
Type:
  • Array.<String>
Source:

type :String

The data type of the column.
Type:
  • String
Source:

Methods

is_nullable() → {boolean}

Gets whether the column is nullable.
Source:
Returns:
Whether the column is nullable.
Type
boolean