Oracle Ultra Search APIs
9.2

oracle.ultrasearch.query
Class From

java.lang.Object
  |
  +--oracle.ultrasearch.query.From

public class From
extends java.lang.Object
implements Query

Find documents within a group or a set of groups.

Groups are defined by the administrator. From queries only finds documents belonging to certain groups, therefore users can easily narrow the scope of the query.

Since:
9.0.2
See Also:
Group

Constructor Summary
From(Group grp)
          Construct a query on a single group
From(Group[] grps)
          Construct a query on several groups
 
Method Summary
 java.lang.String compile()
          compile into a query string.
 java.lang.String compileForCount()
          compile into a query string for counting hits.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

From

public From(Group grp)
Construct a query on a single group
Parameters:
grp - a group, not null

From

public From(Group[] grps)
Construct a query on several groups
Parameters:
grps - an array of groups, not null
Method Detail

compile

public java.lang.String compile()
compile into a query string.
Specified by:
compile in interface Query
Returns:
a query string representing this query.

compileForCount

public java.lang.String compileForCount()
compile into a query string for counting hits.
Specified by:
compileForCount in interface Query
Returns:
a query string representing this query.

Oracle Ultra Search APIs
9.2