|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.data.cql.CQLQueryProcessor
gov.nih.nci.cagrid.sdkquery4.processor.SDK4QueryProcessor
public class SDK4QueryProcessor
SDK4QueryProcessor Processes CQL against a caCORE SDK 4.0 data source
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_CASE_INSENSITIVE_QUERYING
|
static java.lang.String |
DEFAULT_USE_GRID_IDENTITY_LOGIN
|
static java.lang.String |
DEFAULT_USE_LOCAL_API
|
static java.lang.String |
DEFAULT_USE_LOGIN
|
static java.lang.String |
PROPERTY_APPLICATION_NAME
|
static java.lang.String |
PROPERTY_CASE_INSENSITIVE_QUERYING
|
static java.lang.String |
PROPERTY_DOMAIN_TYPES_INFO_FILENAME
|
static java.lang.String |
PROPERTY_HOST_NAME
|
static java.lang.String |
PROPERTY_HOST_PORT
|
static java.lang.String |
PROPERTY_ORM_JAR_NAME
|
static java.lang.String |
PROPERTY_STATIC_LOGIN_PASSWORD
|
static java.lang.String |
PROPERTY_STATIC_LOGIN_USERNAME
|
static java.lang.String |
PROPERTY_USE_GRID_IDENTITY_LOGIN
|
static java.lang.String |
PROPERTY_USE_LOCAL_API
|
static java.lang.String |
PROPERTY_USE_LOGIN
|
| Constructor Summary | |
|---|---|
SDK4QueryProcessor()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getConfigurationUiClassname()
Get the classname of the configuration user interface for this CQL Query Processor. |
java.util.Set<java.lang.String> |
getPropertiesFromEtc()
Get a set of property names whose values should be file names prepended with the location of the service's etc directory. |
java.util.Properties |
getRequiredParameters()
Get a Properties object of parameters the query processor will require on initialization. |
void |
initialize(java.util.Properties parameters,
java.io.InputStream wsdd)
Overriden to add initialization of the inheritance manager |
CQLQueryResults |
processQuery(CQLQuery cqlQuery)
Processes the CQL Query |
protected java.util.List |
queryCoreService(CQLQuery query)
|
| Methods inherited from class gov.nih.nci.cagrid.data.cql.CQLQueryProcessor |
|---|
getConfiguredParameters, getConfiguredWsddStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_APPLICATION_NAME
public static final java.lang.String PROPERTY_USE_LOCAL_API
public static final java.lang.String PROPERTY_ORM_JAR_NAME
public static final java.lang.String PROPERTY_HOST_NAME
public static final java.lang.String PROPERTY_HOST_PORT
public static final java.lang.String PROPERTY_CASE_INSENSITIVE_QUERYING
public static final java.lang.String PROPERTY_DOMAIN_TYPES_INFO_FILENAME
public static final java.lang.String PROPERTY_USE_LOGIN
public static final java.lang.String PROPERTY_USE_GRID_IDENTITY_LOGIN
public static final java.lang.String PROPERTY_STATIC_LOGIN_USERNAME
public static final java.lang.String PROPERTY_STATIC_LOGIN_PASSWORD
public static final java.lang.String DEFAULT_USE_LOCAL_API
public static final java.lang.String DEFAULT_CASE_INSENSITIVE_QUERYING
public static final java.lang.String DEFAULT_USE_LOGIN
public static final java.lang.String DEFAULT_USE_GRID_IDENTITY_LOGIN
| Constructor Detail |
|---|
public SDK4QueryProcessor()
| Method Detail |
|---|
public void initialize(java.util.Properties parameters,
java.io.InputStream wsdd)
throws InitializationException
initialize in class CQLQueryProcessorparameters - The parameters as configured by the user. The set of keys must contain all
of the keys contained in the Properties object returned
by getRequiredParamters(). The values in the parameters will
be either the user defined value or the default value from
getRequiredParameters().wsdd - The input stream which contains the wsdd configuration for the data service.
This stream may be important to locating type mappings for serializing and
deserializing beans.
InitializationException
public CQLQueryResults processQuery(CQLQuery cqlQuery)
throws MalformedQueryException,
QueryProcessingException
CQLQueryProcessor
processQuery in class CQLQueryProcessorMalformedQueryException - Should be thrown when the query itself does not conform to the
CQL standard or attempts to perform queries outside of
the exposed domain model
QueryProcessingException - Thrown for all exceptions in query processing not related
to the query being malformedpublic java.util.Properties getRequiredParameters()
CQLQueryProcessor
getRequiredParameters in class CQLQueryProcessorpublic java.util.Set<java.lang.String> getPropertiesFromEtc()
CQLQueryProcessor
getPropertiesFromEtc in class CQLQueryProcessorpublic java.lang.String getConfigurationUiClassname()
CQLQueryProcessorgov.nih.nci.cagrid.data.cql.ui.CQLQueryProcessorConfigUI
getConfigurationUiClassname in class CQLQueryProcessornull if no UI is provided
protected java.util.List queryCoreService(CQLQuery query)
throws MalformedQueryException,
QueryProcessingException
MalformedQueryException
QueryProcessingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||