ColumnType

org.sagebionetworks.repo.model.table.ColumnType

The column type determines the type of data that can be stored in a column.

Enumeration
name description
STRING The STRING data type is a small text strings with between 1 and 1,000 characters. Each STRING column will have a declared maximum size between 1 and 1,000 characters (with 50 characters as the default when maximumSize = null). The maximum STRING size is applied to the budget of the maximum table width, therefore it is best to use the smallest possible maximum size for the data. For strings larger than 250 characters, consider using the LARGETEXT column type for improved performance.
DOUBLE The DOUBLE data type is a double-precision 64-bit IEEE 754 floating point. Its range of values is approximately +/-1.79769313486231570E+308 (15 significant decimal digits).
INTEGER The INTEGER data type is a 64-bit two's complement integer. The signed integer has a minimum value of -2^63 and a maximum value of 2^63-1.
BOOLEAN The BOOLEAN data type has only two possible values: 'true' and 'false'.
DATE The DATE data type represent the specified number of milliseconds since the standard base time known as 'the epoch', namely January 1, 1970, 00:00:00 GMT
FILEHANDLEID The FILEHANDLEID data type represents a file stored within a table. To store a file in a table, first use the 'File Services' to upload a file to generate a new FileHandle, then apply the fileHandle.id as the value for this column. Note: This column type works best for files that are binary (non-text) or text files that are 1 MB or larger. For text files that are smaller than 1 MB consider using the LARGETEXT column type to improve download performance.
ENTITYID The ENTITYID type represents a reference to a Synapse Entity. Values will include the 'syn' prefix, such as 'syn123'.
LINK The LINK data type represents any URL with 1,000 characters or less.
LARGETEXT The LARGETEXT data type represents a string that is greater than 250 characters but less than 349,525 characters (1 MB of UTF-8 chars). For smaller strings consider using the STRING column type. For larger strings, consider using the FILEHANDELID column type.
USERID The USERID data type represents a reference to a Synapse User. The value should be the ID of the referenced User.