ResultStyle property
Indicates the result style used to publish query results to the InfoBus.
Syntax
Set: JdbcSource.Query.setResultStyle(style)
Get: style = JdbcSource.Query.getResultStyle()
Applies to
Query object .
Data type
String.
Usage
This property is only used for retrieval queries. Valid result styles are the following:
- "Chart" - Return data is in a form convenient for a chart (title in upper left cell, first row and column otherwise empty, column headers above data).
- "ColMeta" - Return data is in column metadata format (column name, datatype name, and datatype number) This is the current default style.
- "Data" - Returns data as data rows with no header rows.
- "NameandData" - Returns data as one row of column names and then the data.
Example
ResultStyle property example (Query object)
See also
Jdbcsource applet
Query object