Contents > Developing ColdFusion MX Applications > Building Custom CFXAPI Tags > Writing a Java CFX tag > Processing requests Query object PreviousNext

Query object

The Query object provides an interface for working with ColdFusion queries. The following table lists the methods of the Query object for retrieving name, row count, and column names and methods for getting and setting data elements:

Method

Description

getName

Retrieves the name of the query.

getRowCount

Retrieves the number of rows in the query.

getColumns

Retrieves the names of the query columns.

getData

Retrieves a data element from the query.

addRow

Adds a new row to the query.

setData

Sets a data element within the query.

For detailed reference information on each of these interfaces, see CFML Reference.


Contents > Developing ColdFusion MX Applications > Building Custom CFXAPI Tags > Writing a Java CFX tag > Processing requests Query object PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.