Interface Query; Method Detail - MACROMEDIA COLDFUSION 4.5-DEVELOPING WEB Develop Manual

Developing web applications with coldfusion
Table of Contents

Advertisement

312
response
queries, etc.)
Throws:
Exception

Interface Query

public abstract interface Query
Interface to a query used or created by a CustomTag. A query contains tabular data
organized by named columns and rows
Method Summary
int
int
String[]
String
String
int
void

Method Detail

getName
public String getName()
Retrieves the name of the query.
The following example retrieves the name of the query and writes it back to the
user:
Query query = request.getQuery() ;
response.write( "The query name is: " + query.getName() ) ;
— Interface for generating response to request (output, variables,
— If an unexpected error occurs while processing the request.
addRow()
getColumnIndex(String name)
getColumns()
getData(int iRow, int iCol)
getName()
getRowCount()
setData(int iRow, int iCol,
String data)
Developing Web Applications with ColdFusion
Adds a new row to the query.
Retrieves the index of a column
given its name.
Retrieves a list of the column
names contained in the query.
Retrieves a data element from a
row and column of the query.
Retrieves the name of the query.
Retrieves the number of rows in the
query.
Sets a data element within a row
and column of the query.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 4.5

Table of Contents