Developing Apama Applications > Dashboard Function Reference > Tabular Functions > Set Column Type
Set Column Type
Returns a copy of a specified table, with specified columns modified to use specified types.
Arguments
The function has the following arguments:
*Table: Table from which the column is to be selected.
*Column Types: Text string that specifies column-name/type pairs. Separate pairs with spaces. Within each pair, separate column-name from type with a colon, that is, each pair has the following form:
*column-name:type
For type, supply one of the following:
*STRING
*INTEGER
*LONG
*DOUBLE
*FLOAT
*BOOLEAN
*DATE
If column-name contains a space or a colon, it must be enclosed in single quotes. Here is an example:
*apama.timestamp:DATE 'Max Value':INTEGER Active:BOOLEAN
This function returns a table.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.