|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.data.utilities.CQLResultsCreationUtil
public class CQLResultsCreationUtil
CQLResultsCreationUtil Utility for creating CQL Query Results objects
| Constructor Summary | |
|---|---|
CQLResultsCreationUtil()
|
|
| Method Summary | |
|---|---|
static CQLQueryResults |
createAttributeResults(java.util.List attribArrays,
java.lang.String targetClassname,
java.lang.String[] attribNames)
Creates a CQL Query Results instance containing attribute results |
static CQLQueryResults |
createCountResults(long count,
java.lang.String targetClassname)
Creates a CQL Query Results object containing a single count result |
static CQLQueryResults |
createObjectResults(java.util.List objects,
java.lang.String targetName,
Mappings classToQname)
Creates a CQL Query Results object containing object results |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CQLResultsCreationUtil()
| Method Detail |
|---|
public static CQLQueryResults createObjectResults(java.util.List objects,
java.lang.String targetName,
Mappings classToQname)
throws ResultsCreationException
objects - The objects to serialize and place in the object resultstargetName - The name of the targeted class which produced these resultsclassToQname - A Mapping from class name to QName
ResultsCreationException
public static CQLQueryResults createAttributeResults(java.util.List attribArrays,
java.lang.String targetClassname,
java.lang.String[] attribNames)
attribArrays - A List of String[], which are the values of the attributes.
These values must correspond both in number and in order of the
attribute namestargetClassname - The name of the class targetedattribNames - The names of the attributes queried for
public static CQLQueryResults createCountResults(long count,
java.lang.String targetClassname)
count - The total count of all itemstargetClassname - The classname of the query target
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||