public interface IDfQueryStatus
Modifier and Type | Field and Description |
---|---|
static int |
COULDNOTFETCH
When in FAILED state, indicates that the query could not be sent to the server because of an IO error.
|
static int |
DEFAULT
Default value for status information.
|
static int |
DONE
Query completed, all sources replied successfully (no more processing is happening on the server).
|
static int |
EXPIRED
When in FAILED state, indicates that the wrapper execution took too much time and was stopped.
|
static int |
EXT_SOURCE_UNAVAILABLE
When in FAILED state, indicates that the connection with the external source server was broken and the
query could not complete properly.
|
static int |
FACET_DEFINITION_ERROR
There is a problem with one or several facet definitions defined in the query.
|
static int |
FAILED
Unable to compute query (no server or no source available).
|
static int |
FULLTEXT_ISSUE
There was an error with the full-text search.
|
static int |
INTERNALFAILURE
When in FAILED state, indicates that an internal error occurred, possibly due to an uncaught exception
or an unavailable adapter (default value, nothing special to report to the end-user).
|
static int |
LOGINFAILED
When in FAILED state, indicates that the query could not be processed by a wrapper because of an authentication
failure (wrong password).
|
static int |
NONE
Query has not been started yet.
|
static int |
NOTCONSTRAINED
When in FAILED state, indicates that the query was not processed by the adapter because there is no
queriable attribute defined in the query or the query is not supported by the source.
|
static int |
OVERLOADED
The remote source is not available right now, try later.
|
static int |
QUERY_SCOPE_UNREACHABLE
When in FAILED state, indicates that at least one query scope is unreachable (either not found or no access permission),
and the query returned 0 result.
|
static int |
QUERY_SYNTAX_NOT_VALID
The syntax used to express the query is not valid.
|
static int |
RECEIVING
New results are being transmitted by the server (at least one source replied positively).
|
static int |
STOPPED
Query has been stopped.
|
static int |
TOOMANYRESULTS
The query would return too many results, try to be more specific.
|
static int |
TRUNCATED
When DONE, indicates that the results have been truncated.
|
static int |
TYPE_NOT_SUPPORTED
When in FAILED state, indicates that the source does not support the query object type.
|
static int |
UNAVAILABLE
When in FAILED state, indicates that the source is not available.
|
static int |
UNREACHABLE
When in FAILED state, indicates that the query could not be processed because it failed too
many times to connect to the source (network problem).
|
static int |
UNSUPPORTED_ATTRIBUTE_ERROR
An attribute is not correct or not supported by the source.
|
static int |
WAITING
In progress, query has been sent to the server (no response received yet).
|
static int |
WASSTOPPED
When in FAILED state, indicates that the query was stopped by the user and did not answer fast enough to be
successful.
|
static int |
WILDCARD_SYNTAX_ERROR
The syntax used to express a wildcard search is not correct or not supported.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHistory()
Returns a debug String containing the history of events that occurred during query execution.
|
int |
getNbrFailed()
Gets the number of failed sources.
|
int |
getNbrSuccess()
Gets the number of successful sources.
|
IDfEnumeration |
getSources()
Returns the list of sources in this status.
|
IDfSourceStatus |
getSourceStatus(java.lang.String sourceName)
Returns the status of the query for a specific source.
|
int |
getStatus()
Gets the status of the query.
|
static final int NONE
static final int WAITING
static final int RECEIVING
static final int DONE
static final int FAILED
static final int STOPPED
static final int DEFAULT
static final int TRUNCATED
static final int INTERNALFAILURE
static final int NOTCONSTRAINED
static final int UNREACHABLE
static final int LOGINFAILED
static final int COULDNOTFETCH
static final int EXT_SOURCE_UNAVAILABLE
static final int UNAVAILABLE
static final int QUERY_SCOPE_UNREACHABLE
static final int WASSTOPPED
static final int EXPIRED
static final int TYPE_NOT_SUPPORTED
static final int OVERLOADED
static final int TOOMANYRESULTS
static final int FULLTEXT_ISSUE
static final int QUERY_SYNTAX_NOT_VALID
static final int WILDCARD_SYNTAX_ERROR
static final int UNSUPPORTED_ATTRIBUTE_ERROR
static final int FACET_DEFINITION_ERROR
int getNbrSuccess()
int getNbrFailed()
int getStatus()
java.lang.String getHistory()
IDfSourceStatus getSourceStatus(java.lang.String sourceName)
sourceName
- The internal name (non localized) of the source.IDfEnumeration getSources()
Copyright 1994-2023 OpenText Corporation. All rights reserved.