|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines methods for an object that handles search query requests.
| Field Summary | |
static int |
FEATURE_MAX_NUMBER
Feature that allows specifying the maximum number of results to be returned. |
static int |
FEATURE_OFFSET
Feature that allows specifying an index in the list of results, as a starting popublic final static int for results to be returned. |
static int |
SUPPORT_NONE
Support level for features that are not supported. |
static int |
SUPPORT_NORMAL
Support level for features that are available for use under normal circumstances. |
static int |
SUPPORT_OPTIMAL
Support level for features that are optimally supported. |
static int |
SUPPORT_WEAK
Support level for features that are supported, but not recommended when performance is critical. |
| Method Summary | |
java.util.List |
getNodes(SearchQuery query,
MMObjectBuilder builder)
Processes a search query, returns the result as a list of nodes. |
int |
getSupportLevel(Constraint constraint,
SearchQuery query)
Gets the level at which a constraint is supported for a query by this handler. |
int |
getSupportLevel(int feature,
SearchQuery query)
Gets the level at which a feature is supported for a query by this handler. |
| Field Detail |
public static final int SUPPORT_NONE
public static final int SUPPORT_WEAK
public static final int SUPPORT_NORMAL
public static final int SUPPORT_OPTIMAL
public static final int FEATURE_MAX_NUMBER
SearchQuery.getMaxNumber(),
Constant Field Valuespublic static final int FEATURE_OFFSET
SearchQuery.getOffset(),
Constant Field Values| Method Detail |
public int getSupportLevel(int feature,
SearchQuery query)
throws SearchQueryException
SearchQueryException
public int getSupportLevel(Constraint constraint,
SearchQuery query)
throws SearchQueryException
SearchQueryException
public java.util.List getNodes(SearchQuery query,
MMObjectBuilder builder)
throws SearchQueryException
<step alias>.<field name>, where
the step alias is required to be of the form
<step tablename><x>, and
<x> is either empty or a single digit. Examples: images.number, images0.number,
images1.number
query - The search query.builder - The builder for the result nodes. Specify a
ResultBuilder
to get resultnodes.
ClusterBuilder
to get clusternodes.
SearchQueryExceptionResultNode,
ClusterNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||