Package com.documentum.fc.client.search
Interface IDfQueryEvent
public interface IDfQueryEvent
Provides status information about the execution of a query. Events provide feedback on the query
execution process such as:
- the progression of query execution for each information source,
- possible errors while retrieving information from an information source,
- stopping and completion status of a query execution.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
ID: Internal Debugging Event.static final int
ERROR SubID: The source associated with the query is mis-configured or and internal error occurred (missing configuration file, parsing error, ...).static final int
ID: The source backend has been contacted.static final int
DONE SubID: (Default) The query is normally completed.static final int
Default subID value for all Events ID.static final int
FILTERED SubID: Some results were discarded because they didn't match the query constraints.static final int
ID: The action is over.static final int
ID: An error occured during the execution of the query.static final int
ERROR SubID: The execution took too much time and was stopped.static final int
ERROR SubID: Cannot connect to the external source server.static final int
There is a problem with one or several facet definitions defined in the query.static final int
ID: The facets have been retrieved.static final int
ID: The number of results used to compute facets is not the entire result set.static final int
ID: Some data is being fetched from the backend source.static final int
ID: Some results from the sources have been filtered.static final int
ID: Some results have been extracted from the backend returned data.static final int
ERROR SubID: There was an error with the full-text search.static final int
ID: Total number of results available on the source for the query.static final int
ID: Message about internal working.static final int
ERROR SubID: The action could not be processed because the adapter was unable to log-on (that is, wrong login name or password).static final int
INTERNAL SubID: The adapter provides a String representation of the query sent to the source.static final int
ERROR SubID: (Default) The query cannot be processed because the query expression is not supported by the source.static final int
ERROR SubID: The remote source is not available right now, try later.static final int
ID: The data returned by the backend is being parsed.static final int
ERROR SubID: Cannot reach at least one query scope, and the query returned 0 result.static final int
ERROR SubID: The syntax used to express the query is not valid.static final int
INTERNAL SubID: The adapter stepped into recovery mode.static final int
DONE SubID: The query was successfully stopped.static final int
ERROR SubID: The query would return too many results, try to be more specific.static final int
ID: to display CLIR translation in monitor history.static final int
ID: The results have been truncated.static final int
ERROR SubID: The source does not support the query object type.static final int
ERROR SubID: The source is not available.static final int
ERROR SubID: There was an uncaught exception during the query processing.static final int
ERROR SubID: The action could not be processed because it failed to connect to the source (network problem).static final int
ERROR SubID: A query attribute is not correct or not supported.static final int
ERROR SubID: The syntax used to express a wildcard search is not correct or not supported. -
Method Summary
Modifier and TypeMethodDescriptionIn case of an error, this method may return the actual exception that occurs with the source.int
getId()
Gets the identifier of the event.Gets the definition message of the event.Gets the source of the event(that is the name of the backend that generated this event).int
getSubid()
Gets the subidentifier of the event.getTime()
Gets the timestamp of the event.
-
Field Details
-
ACTION
static final int ACTIONID: Internal Debugging Event.- See Also:
-
CALL
static final int CALLID: The source backend has been contacted.- See Also:
-
FETCH
static final int FETCHID: Some data is being fetched from the backend source.- See Also:
-
PARSE
static final int PARSEID: The data returned by the backend is being parsed.- See Also:
-
FOUND
static final int FOUNDID: Some results have been extracted from the backend returned data.- See Also:
-
DONE
static final int DONEID: The action is over. See subIDs for refinements of this event.- See Also:
-
ERROR
static final int ERRORID: An error occured during the execution of the query.- See Also:
-
TRANSLATION
static final int TRANSLATIONID: to display CLIR translation in monitor history. The message returned is not localized and should be used for debug purpose only.- See Also:
-
FILTERED
static final int FILTEREDID: Some results from the sources have been filtered.- See Also:
-
INTERNAL
static final int INTERNALID: Message about internal working. See subIDs for refinements of this event.- See Also:
-
TRUNCATED
static final int TRUNCATEDID: The results have been truncated.- See Also:
-
HIT_COUNT
static final int HIT_COUNTID: Total number of results available on the source for the query.- See Also:
-
FACETS_RESULTS_TRUNCATED
static final int FACETS_RESULTS_TRUNCATEDID: The number of results used to compute facets is not the entire result set.- See Also:
-
FACET_RETRIEVED
static final int FACET_RETRIEVEDID: The facets have been retrieved. Applies only to source supporting facets.- See Also:
-
DEFAULT
static final int DEFAULTDefault subID value for all Events ID.- See Also:
-
COMPLETE
static final int COMPLETEDONE SubID: (Default) The query is normally completed.- See Also:
-
STOPPED
static final int STOPPEDDONE SubID: The query was successfully stopped.- See Also:
-
NOTCONSTRAINED
static final int NOTCONSTRAINEDERROR SubID: (Default) The query cannot be processed because the query expression is not supported by the source.- See Also:
-
BROKENADAPTER
static final int BROKENADAPTERERROR SubID: The source associated with the query is mis-configured or and internal error occurred (missing configuration file, parsing error, ...).- See Also:
-
UNREACHABLE
static final int UNREACHABLEERROR SubID: The action could not be processed because it failed to connect to the source (network problem).- See Also:
-
LOGINFAILED
static final int LOGINFAILEDERROR SubID: The action could not be processed because the adapter was unable to log-on (that is, wrong login name or password).- See Also:
-
UNKNOWN
static final int UNKNOWNERROR SubID: There was an uncaught exception during the query processing.- See Also:
-
EXPIRY
static final int EXPIRYERROR SubID: The execution took too much time and was stopped.- See Also:
-
EXT_SOURCE_UNAVAILABLE
static final int EXT_SOURCE_UNAVAILABLEERROR SubID: Cannot connect to the external source server.- See Also:
-
UNAVAILABLE
static final int UNAVAILABLEERROR SubID: The source is not available. It may be temporary down.- See Also:
-
QUERY_SCOPE_UNREACHABLE
static final int QUERY_SCOPE_UNREACHABLEERROR SubID: Cannot reach at least one query scope, and the query returned 0 result.- See Also:
-
TYPE_NOT_SUPPORTED
static final int TYPE_NOT_SUPPORTEDERROR SubID: The source does not support the query object type.- See Also:
-
OVERLOADED
static final int OVERLOADEDERROR SubID: The remote source is not available right now, try later.- See Also:
-
TOOMANYRESULTS
static final int TOOMANYRESULTSERROR SubID: The query would return too many results, try to be more specific.- See Also:
-
FULLTEXT_ISSUE
static final int FULLTEXT_ISSUEERROR SubID: There was an error with the full-text search.- See Also:
-
QUERY_SYNTAX_NOT_VALID
static final int QUERY_SYNTAX_NOT_VALIDERROR SubID: The syntax used to express the query is not valid.- See Also:
-
WILDCARD_SYNTAX_ERROR
static final int WILDCARD_SYNTAX_ERRORERROR SubID: The syntax used to express a wildcard search is not correct or not supported.- See Also:
-
UNSUPPORTED_ATTRIBUTE_ERROR
static final int UNSUPPORTED_ATTRIBUTE_ERRORERROR SubID: A query attribute is not correct or not supported.- See Also:
-
FACET_DEFINITION_ERROR
static final int FACET_DEFINITION_ERRORThere is a problem with one or several facet definitions defined in the query.- See Also:
-
DISCARDED
static final int DISCARDEDFILTERED SubID: Some results were discarded because they didn't match the query constraints.- See Also:
-
RECOVERY
static final int RECOVERYINTERNAL SubID: The adapter stepped into recovery mode.- See Also:
-
NATIVEQUERY
static final int NATIVEQUERYINTERNAL SubID: The adapter provides a String representation of the query sent to the source.- See Also:
-
-
Method Details
-
getId
int getId()Gets the identifier of the event.- Returns:
- An integer defining the type of the event.
-
getSubid
int getSubid()Gets the subidentifier of the event.- Returns:
- An integer defining the subtype of the event.
-
getSource
String getSource()Gets the source of the event(that is the name of the backend that generated this event).- Returns:
- A string containing the name of the source.
-
getMessage
String getMessage()Gets the definition message of the event.- Returns:
- A string containing the explanation for the event.
-
getTime
Date getTime()Gets the timestamp of the event.- Returns:
- A Date representing the timestamp.
-
getException
DfException getException()In case of an error, this method may return the actual exception that occurs with the source.- Returns:
- A DfException or null if there is no error or no more detail on an error.
-