|
Oracle Ultra Search APIs 9.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.context.isearch.query.QueryAttribute
This class encapsulates all information related to a query attribute. Query Attributes are defined by the Ultra Search administrator. Various document attributes such as the author, date and title are mapped to Ultra Search query attributes. In an advanced search, the end-user can specify that the search results contain documents that have specific values for specific query attributes.
Field Summary | |
int |
id The attribute ID number. |
java.lang.String |
operator The "AND" or "OR" conditional operator that modifies the query string. |
java.lang.String |
query The attribute query string. |
Constructor Summary | |
QueryAttribute(int newId, java.lang.String newQuery, java.lang.String newOperator) Constructor that initializes the Query Attribute ID and query string. |
|
QueryAttribute(java.lang.String newId, java.lang.String newQuery, java.lang.String newOperator) Overloaded constructor that initializes the Query Attribute ID, query string and operator. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int id
public java.lang.String query
For more information, please read the documentation on query strings.
public java.lang.String operator
Constructor Detail |
public QueryAttribute(int newId, java.lang.String newQuery, java.lang.String newOperator)
newId
- The ID of this attribute.newQuery
- The query string for this attribute.public QueryAttribute(java.lang.String newId, java.lang.String newQuery, java.lang.String newOperator)
newId
- The ID of this attribute.newQuery
- The query string for this attribute.newOperator
- The conditional boolean operator for this attribute. Must be the "AND" or "OR" string.
|
Oracle Ultra Search APIs 9.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |