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

B14221-01


oracle.ultrasearch.query
Class From

java.lang.Object
  extended byoracle.ultrasearch.query.From

All Implemented Interfaces:
Query

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&#174 Ultra Search Java API Reference
10g Release 2 (10.2)

B14221-01


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