ObjectDB ObjectDB

setResult(data) - JDO Query's method

Method
javax.jdo.Query
void setResult(
  String data
)

Specifies what type of data this query should return. If this is unset or set to null, this query returns instances of the query's candidate class. If set, this query will return expressions, including field values (projections) and aggregate function results.
Parameters:
data - a comma-delimited list of expressions (fields, functions on fields, or aggregate functions) to return from this query
Since:
JDO 2.0