Oracle&#174 Ultra Search Java API Reference
10g Release 2 (10.2)

B14221-01


Uses of Interface
oracle.ultrasearch.query.Query

Packages that use Query
oracle.ultrasearch.query This package contains all classes that are part of the new Oracle Ultra Search Query API and the Email API for the Oracle 9iAS release. 

 

Uses of Query in oracle.ultrasearch.query

 

Classes in oracle.ultrasearch.query that implement Query
 class AllOf
          Find documents with an attribute that has all of the values in a set.
 class And
          Combine two or more queries using logical AND.
 class AnyOf
          Find documents with an attribute that has at least one of a set of values.
 class Between
          Find documents that has an attribute value within a range.
 class Contains
          Find documents that contains some text within its content, or its string attributes.
 class CtxContains
          Construct a Query object based on any Oracle Text query string.
 class Equals
          Find documents with an attribute that equals a value.
 class From
          Find documents within a group or a set of groups.
 class GreaterThan
          Class GreaterThan narrows the attribute to bigger values.
 class LessThan
          Class LessThan narrows the attribute to smaller values.
 class Or
          Combine two or more queries using logical OR.
 class QueryTemplate
          Find documents that contains some text within its content, QueryTemplate does not apply to Date or Number attribute.

 

Methods in oracle.ultrasearch.query that return Query
 Query Request.getQuery()
          get the query clause of request
 Query Request.getFilter()
          get the filtering condition on the result.

 

Methods in oracle.ultrasearch.query with parameters of type Query
 void DisplayUtil.displayCachedDocument(int doc_id, Query query, java.lang.String startTag, java.lang.String endTag, java.lang.String prevTag, java.lang.String nextTag, java.io.Writer out)
          Display the cached document with highlighting.
 void Request.setQuery(Query newQuery)
          set the query clause of the request
 void Request.setFilter(Query newFilter)
          set the filtering condition on the result.
 int Instance.estimateHitCount(Query query, java.util.Locale qryLang, java.util.Locale docLang)
          Estimate the total number of hits for a query.
 Result Instance.getResult(Query query, java.util.Locale qryLang, int startPointer, int docsRequested, java.util.Locale docLanguage, Attribute[] atts, java.lang.String terms, boolean withCount)
          Deprecated.  
 Result Instance.getResult(Query query, java.util.Locale qryLang, int startPointer, int docsRequested, java.util.Locale docLanguage, Attribute[] atts, java.lang.String terms, boolean withCount, boolean removeDuplicates)
          Deprecated.  

 

Constructors in oracle.ultrasearch.query with parameters of type Query
QueryTemplate(java.lang.String val, Query advancedCondition, InstanceMetaData instmd)
          Constructs a QueryTemplate instance, each query sequence in the QueryTempate will a a logic AND of query string and the advancedCondition, the advancedCondition cannot be a QueryTemplate.
QueryTemplate(Query[] query)
          Constructs a QueryTemplate instance, the sequence in Query array will be the sequence in query relaxation, the argument cannot be a n array of QueryTemplate
Or(Query qry1, Query qry2)
          Combine two queries using the OR operator
Or(Query[] terms)
          Combine several queries using the OR operator
And(Query qry1, Query qry2)
          Combine two queries using the AND operator
And(Query[] terms)
          Combine several queries using the AND operator

 


Oracle&#174 Ultra Search Java API Reference
10g Release 2 (10.2)

B14221-01


Copyright © 2003,2005, Oracle. All Rights Reserved.