decision_optimization_client.TableType

class decision_optimization_client.TableType

The class for container table types.

TableType stores the types for all the columns of a table.

Example

Displays all data types for each column of a table:

types = container.get_table_type(table)
for i,t in enumerate(types):
    print("[%s] type=%s key=%s" % (i, t.dataType, t.key))