public interface ISClient
Queries supported by the underlying implementation from their standard interfaces.
These queries are scoped and may return results either by-value or by-reference.| Modifier and Type | Interface and Description |
|---|---|
static class |
ISClient.ISMalformedQueryException
Exception raised when the query expression is not well-formed with respect to the language supported
by the underlying implementation of
ISClient. |
static class |
ISClient.ISMalformedResultException
Exception raised when the results of a query cannot be parsed by the implementation underlying
ISClient. |
static class |
ISClient.ISUnsupportedQueryException
Exception raised when the implementation
ISClient does not support a given query. |
| Modifier and Type | Method and Description |
|---|---|
<RESULT> List<RESULT> |
execute(ISQuery<RESULT> query,
GCUBEScope scope)
Evaluates a query in a given scope and returns its results a local list.
|
<RESULT> ISInputStream<RESULT> |
executeByRef(ISQuery<RESULT> query,
GCUBEScope scope)
Evaluates a query in a given scope and returns the
ISInputStream which contains its results. |
<RESULT,QUERY extends ISQuery<RESULT>> |
getQuery(Class<QUERY> type)
Returns a query from the interface or class which defines its type.
|
GCUBEGenericQuery |
getQuery(String name)
Returns a
GCUBEGenericQuery from its implementation-defined name. |
<RESULT> List<RESULT> execute(ISQuery<RESULT> query, GCUBEScope scope) throws ISClient.ISMalformedQueryException, ISClient.ISUnsupportedQueryException, ISException
RESULT - The type of the query results.query - the query.scope - the scope.ISClient.ISMalformedQueryException - if the query is incorrectly formulated and cannot produce results.ISException - if the evaluation could not be completed.ISClient.ISUnsupportedQueryException<RESULT> ISInputStream<RESULT> executeByRef(ISQuery<RESULT> query, GCUBEScope scope) throws ISClient.ISMalformedQueryException, ISClient.ISUnsupportedQueryException, ISException
ISInputStream which contains its results.RESULT - The type of the query results.query - the query.scope - the scope.ISClient.ISMalformedQueryException - if the query is incorrectly formulated and cannot produce results.ISException - if the evaluation could not be completed.ISClient.ISUnsupportedQueryException<RESULT,QUERY extends ISQuery<RESULT>> QUERY getQuery(Class<QUERY> type) throws ISClient.ISUnsupportedQueryException, InstantiationException, IllegalAccessException
RESULT - the type of the query results.QUERY - the type of the query which produces results of type RESULT.type - the query interface or class.ISClient.ISUnsupportedQueryExceptionInstantiationExceptionIllegalAccessExceptionGCUBEGenericQuery getQuery(String name) throws ISClient.ISUnsupportedQueryException
GCUBEGenericQuery from its implementation-defined name.
The method is intended as a means to lookup generic queries pre-defined by
implementations of this interface.name - the query nameISClient.ISUnsupportedQueryExceptionCopyright © 2015. All Rights Reserved.