SizedColumnTypes

class vertica_sdk.SizedColumnTypes

Stores type metadata for a collection of columns.

Includes type mod information; such as string length and numeric percision infromation.

MAX_SECONDS_PRECISION = 6
addBinary(self, size, field_name='')

Returns None.

Adds a binary column to the list of columns.

addBool(self, field_name='')

Returns None.

Adds a bool column to the list of columns.

addChar(self, size, field_name='')

Returns None.

Adds a char column to the list of columns.

addDate(self, field_name='')

Returns None.

Adds a date column to the list of columns.

addFloat(self, field_name='')

Returns None.

Adds a float column to the list of columns.

addInt(self, field_name='')

Returns None.

Adds an int column to the list of columns.

addInterval(self, field_name='')

Returns None.

Adds a interval column to the list of columns.

addIntervalYM(self, field_name='')

Returns None.

Adds a year-to-month interval column to the list of columns.

addLongVarbinary(self, size, field_name='')

Returns None.

Adds a long varbinary column to the list of columns.

addLongVarchar(self, size, field_name='')

Returns None.

Adds a long varchar column to the list of columns.

addNumeric(self, precision, scale, field_name='')

Returns None.

Adds a numeric column to the list of columns.

addTime(self, field_name='')

Returns None.

Adds a time column to the list of columns.

addTimeTz(self, field_name='')

Returns None.

Adds a timetz column to the list of columns.

addTimestamp(self, field_name='')

Returns None.

Adds a timestamp column to the list of columns.

addTimestampTz(self, field_name='')

Returns None.

Adds a timestamptz column to the list of columns.

addVarbinary(self, size, field_name='')

Returns None.

Adds a varbinary column to the list of columns.

addVarchar(self, size, field_name='')

Returns None.

Adds a varchar column to the list of columns.

getColumnCount(self)

Returns an int.

getColumnType(self, idx)

Returns a VerticaType.