ColumnTypes

class vertica_sdk.ColumnTypes

Stores type metadata for a collection of columns.

addAny(self)

Specifies that a variable number of columns can be accepted.

Returns None.

addBinary(self)

Adds a binary column to the list of columns.

Returns None.

addBool(self)

Adds a bool column to the list of columns.

Returns None.

addChar(self)

Adds a char column to the list of columns.

Returns None.

addDate(self)

Adds a date column to the list of columns.

Returns None.

addFloat(self)

Adds a float column to the list of columns.

Returns None.

addInt(self)

Adds an int column to the list of columns.

Returns None.

addInterval(self)

Adds a interval column to the list of columns.

Returns None.

addIntervalYM(self)

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

Returns None.

addLongVarbinary(self)

Adds a long varbinary column to the list of columns.

Returns None.

addLongVarchar(self)

Adds a long varchar column to the list of columns.

Returns None.

addNumeric(self)

Adds a numeric column to the list of columns.

Returns None.

addTime(self)

Adds a time column to the list of columns.

Returns None.

addTimeTz(self)

Adds a timetz column to the list of columns.

Returns None.

addTimestamp(self)

Adds a timestamp column to the list of columns.

Returns None.

addTimestampTz(self)

Adds a timestamptz column to the list of columns.

Returns None.

addVarbinary(self)

Adds a varbinary column to the list of columns.

Returns None.

addVarchar(self)

Adds a varchar column to the list of columns.

Returns None.

getColumnCount(self)

Returns the number of columns.

getColumnType(self, idx)

Returns the OID of the type of the indicated column.