public class _QueryEvaluatorStub extends org.omg.CORBA.portable.ObjectImpl implements QueryEvaluator
Constructor and Description |
---|
_QueryEvaluatorStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
_ids() |
Query |
createQuery(java.lang.String queryStr,
NameValue[] params)
(25003)
Create a query object to execute it in asynchronous mode.
|
InstanceElementIterator |
getInstances(java.lang.String queryStr,
NameValue[] params)
(25000)
Evaluate a query in synchronous mode.
|
NameValueSeqUnit[] |
getTable(java.lang.String queryStr,
NameValue[] params)
(25002)
Evaluate a query in synchronous mode.
|
NameValueUnitSequenceIterator |
getTableRows(java.lang.String queryStr,
NameValue[] params)
(25001)
Evaluate a query in synchronous mode.
|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
public InstanceElementIterator getInstances(java.lang.String queryStr, NameValue[] params) throws AoException
getInstances
in interface QueryEvaluatorOperations
queryStr
- The query string.params
- Sequence of parameter names and values. The
following parameters should be passed:
Name: "MaxDuration";
Type: T_LONG
Comment: Can be used to restrict the processing
time. The time is given in milliseconds,
Default value: 0 (no restriction)AoException
- with the following possible error codes:
AO_QUERY_TYPE_INVALID
AO_QUERY_INVALID
AO_QUERY_PROCESSING_ERROR
AO_QUERY_TIMEOUT_EXCEEDED
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic NameValueUnitSequenceIterator getTableRows(java.lang.String queryStr, NameValue[] params) throws AoException
getTableRows
in interface QueryEvaluatorOperations
queryStr
- The query string.params
- Sequence of parameter names and values. The
following parameters should be passed:
Name: "MaxDuration";
Type: T_LONG
Comment: Can be used to restrict the processing
time. The time is given in milliseconds,
Default value: 0 (no restriction)AoException
- with the following possible error codes:
AO_QUERY_TYPE_INVALID
AO_QUERY_INVALID
AO_QUERY_PROCESSING_ERROR
AO_QUERY_TIMEOUT_EXCEEDED
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic NameValueSeqUnit[] getTable(java.lang.String queryStr, NameValue[] params) throws AoException
getTable
in interface QueryEvaluatorOperations
queryStr
- The query string.params
- Sequence of parameter names and values. The
following parameters should be passed:
Name: "MaxDuration";
Type: T_LONG
Comment: Can be used to restrict the processing
time. The time is given in milliseconds,
Default value: 0 (no restriction)AoException
- with the following possible error codes:
AO_QUERY_TYPE_INVALID
AO_QUERY_INVALID
AO_QUERY_PROCESSING_ERROR
AO_QUERY_TIMEOUT_EXCEEDED
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic Query createQuery(java.lang.String queryStr, NameValue[] params) throws AoException
createQuery
in interface QueryEvaluatorOperations
queryStr
- The query stringparams
- Sequence of parameter names and values. The
following parameters should be passed:
Name: "QueryResultType";
Type: ResultType.
Comment: Specifies what kind of result is expected
by the client.
Default value: INSTELEM_ITERATOR_AS_RESULT
Name: "MaxDuration";
Type: T_LONG
Comment: Can be used to restrict the processing
time. The time is given in milliseconds,
Default value: 0 (no restriction)AoException
- with the following possible error codes:
AO_QUERY_TYPE_INVALID
AO_QUERY_INVALID
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl