Package org.eclipse.emf.cdo.common.util
Schnittstelle CDOQueryInfo
- Alle bekannten Unterschnittstellen:
CDOQuery
public interface CDOQueryInfo
Encapsulates all the transferable information that fully specifies a query from a
view
to a
repository
.- Seit:
- 3.0
- Autor:
- Simon McDuff
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns thechange set
to be considered if this query has been created by a dirty transaction,null
otherwise.Returns the context object, ornull
if no context is bound.int
Returns the maximum number of results to retrieve orUNLIMITED_RESULTS
for no limitation.<T> T
getParameter
(String name) Returns the value of the named parameter.Returns the parameters of this query as a map.Returns the language identifier of this query, nevernull
.Returns the query string of this query ornull
if no query string has been set.boolean
Veraltet.As of 4.2 the legacy mode is always enabled.
-
Felddetails
-
UNLIMITED_RESULTS
static final int UNLIMITED_RESULTS- Siehe auch:
-
PARAM_DISABLE_RESPONSE_FLUSHING
The name of aBoolean
-typedparameter
to influence automatic response flushing (the default) after each query result.- Seit:
- 4.2
- Siehe auch:
-
PARAM_DISABLE_RESPONSE_TIMEOUT
The name of aBoolean
-typedparameter
that can suppress timeouts during slow query execution on the server.- Seit:
- 4.18
- Siehe auch:
-
-
Methodendetails
-
getQueryLanguage
String getQueryLanguage()Returns the language identifier of this query, nevernull
. -
getQueryString
String getQueryString()Returns the query string of this query ornull
if no query string has been set. -
getParameters
Returns the parameters of this query as a map. -
getParameter
Returns the value of the named parameter.- Seit:
- 4.6
-
getContext
Object getContext()Returns the context object, ornull
if no context is bound.- Seit:
- 4.0
-
getMaxResults
int getMaxResults()Returns the maximum number of results to retrieve orUNLIMITED_RESULTS
for no limitation. -
isLegacyModeEnabled
Veraltet.As of 4.2 the legacy mode is always enabled.Returnstrue
if the view of this query had legacy mode enabled at the time this query was created,false
otherwise.- Seit:
- 4.0
-
getChangeSetData
CDOChangeSetData getChangeSetData()Returns thechange set
to be considered if this query has been created by a dirty transaction,null
otherwise.- Seit:
- 4.0
-