public class _QueryStub extends org.omg.CORBA.portable.ObjectImpl implements Query
Constructor and Description |
---|
_QueryStub() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
_ids() |
void |
executeQuery(NameValue[] params)
(26002)
Execute query in asynchronous mode.
|
InstanceElementIterator |
getInstances()
(26004)
Get the query result.
|
QueryEvaluator |
getQueryEvaluator()
(26000)
Get the QueryEvaluator object which is responsible for this query.
|
QueryStatus |
getStatus()
(26003)
Return query status.
|
NameValueSeqUnit[] |
getTable()
(26006)
Get the query result.
|
NameValueUnitSequenceIterator |
getTableRows()
(26005)
Get the query result.
|
void |
prepareQuery(NameValue[] params)
(26001)
Do the query pre-processing (optimization, etc.)
|
_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 QueryEvaluator getQueryEvaluator() throws AoException
getQueryEvaluator
in interface QueryOperations
AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void prepareQuery(NameValue[] params) throws AoException
prepareQuery
in interface QueryOperations
params
- 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, this parameter is required if the
parameters isn't given at the method createQuery of
the interface QueryEvaluator.
Default value: INSTELEM_ITERATOR_AS_RESULTAoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_QUERY_PROCESSING_ERROR
AO_QUERY_INVALID_RESULTTYPEpublic void executeQuery(NameValue[] params) throws AoException
executeQuery
in interface QueryOperations
params
- Sequence of parameter names and values. The
following parameter should be passed:
Name: "QueryResultType";
Type: ResultType.
Comment: Specifies what kind of result is expected
by the client, this parameter is required if the
parameters isn't given at the method prepareQuery or
the method createQuery of the interface
QueryEvaluator.
Default value: INSTELEM_ITERATOR_AS_RESULT
Name: "Synchronous";
Type: T_BOOLEAN
Comment: In case of "true" guarantees synchronous
execution.
Default value: "false"AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_QUERY_PROCESSING_ERROR
AO_QUERY_INVALID_RESULTTYPEpublic QueryStatus getStatus() throws AoException
getStatus
in interface QueryOperations
AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic InstanceElementIterator getInstances() throws AoException
getInstances
in interface QueryOperations
AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_QUERY_PROCESSING_ERROR
AO_QUERY_TIMEOUT_EXCEEDED
AO_QUERY_INCOMPLETE
AO_QUERY_INVALID_RESULTTYPEpublic NameValueUnitSequenceIterator getTableRows() throws AoException
getTableRows
in interface QueryOperations
AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_QUERY_PROCESSING_ERROR
AO_QUERY_TIMEOUT_EXCEEDED
AO_QUERY_INCOMPLETE
AO_QUERY_INVALID_RESULTTYPEpublic NameValueSeqUnit[] getTable() throws AoException
getTable
in interface QueryOperations
AoException
- with the following possible error codes:
AO_BAD_PARAMETER
AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED
AO_NO_MEMORY
AO_SESSION_NOT_ACTIVE
AO_QUERY_PROCESSING_ERROR
AO_QUERY_TIMEOUT_EXCEEDED
AO_QUERY_INCOMPLETE
AO_QUERY_INVALID_RESULTTYPEpublic java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl