Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | table |
It is possible to create the column descriptor in more detail by giving the data manager name, group, option and comment as well.
The data manager type tells which data manager (storage manager) is used to store the columns. The data manager type and group are explained in more detail in the Tables module description. The option allowed is:
The column descriptor is used in creating a table descriptor.
columname | in | Name of column | |
Allowed: | String | ||
value | in | Example data value | |
Allowed: | Any type | ||
datamanagertype | in | Type of data manager | |
Allowed: | String: StandardStMan|IncrementalStMan|TiledColumnStMan|TiledCellStMan|StManAipsIO | ||
Default: | '' | ||
datamanagergroup | in | Group of data manager | |
Allowed: | String | ||
Default: | '' | ||
options | in | Options | |
Allowed: | Int | ||
Default: | 0 | ||
maxlen | in | Maximum string length | |
Allowed: | Int | ||
Default: | 0 | ||
comment | in | Comment: informational for user | |
Allowed: | String | ||
Default: | '' | ||
tableserver | in | Table server to be used | |
Allowed: | Any tableserver | ||
Default: | defaulttableserver |
scd1:=tablecreatescalarcoldesc("col2","aa")); scd2:=tablecreatescalarcoldesc("col1",1,"IncrementalStMan"); td:=tablecreatedesc(scd1, scd1);
This creates a table description consisting of an integer column col1, and a string column col2. col1 uses the IncrementalStMan storage manager, while col2 uses the default storage manager StandardStMan.