|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.query.QueryRequest
public class QueryRequest
The QueryRequest class is used to generate a query to the Autonomy DRE.
| Constructor Summary | |
|---|---|
QueryRequest()
Deprecated Default constructor does nothing. |
|
| Method Summary | |
|---|---|
void |
addSearchDatabase(String dbName)
Deprecated Add a search database in the DRE to query. |
void |
clearSearchDatabases()
Deprecated Remove all databases from this QueryRequest. |
Iterator |
getDatabases()
Deprecated Get an Iterator over the databases listed. |
Integer |
getMaximumNumberOfResults()
Deprecated Get the maximum number of results for the DRE to return. |
String |
getQueryText()
Deprecated Gets the current query text. |
Double |
getThreshold()
Deprecated Gets the current threshold value. |
void |
setMaximumNumberOfResults(int num)
Deprecated The number of results returned. |
void |
setMaximumNumberOfResults(Integer num)
Deprecated A convience method for setting the number of returned results with an Integer. |
void |
setQueryText(String text)
Deprecated Sets the query string to be sent to the Autonomy DRE. |
void |
setThreshold(double thold)
Deprecated The threshold is a number from 0 (zero) to 100 that is assigned to each result by the DRE. |
void |
setThreshold(Double thold)
Deprecated A convience method to set the threshold with a Double value. |
String |
toString()
Deprecated Print out the contents of this QueryRequest. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueryRequest()
| Method Detail |
|---|
public void setQueryText(String text)
text - the query text to be usedpublic String getQueryText()
public void setMaximumNumberOfResults(int num)
num - the integer number of results to returnpublic void setMaximumNumberOfResults(Integer num)
num - the Integer number of results to return.public Integer getMaximumNumberOfResults()
public void setThreshold(double thold)
throws IllegalArgumentException
thold - the double threshold value
an - IllegalArgumentException if the value falls outside the acceptable range.
IllegalArgumentException
public void setThreshold(Double thold)
throws IllegalArgumentException
thold - the Double threshold value
an - IllegalArgumentException if the value falls outside the acceptable range.
IllegalArgumentExceptionpublic Double getThreshold()
public void addSearchDatabase(String dbName)
dbName - the name of the database to add to the QueryRequest.public void clearSearchDatabases()
public Iterator getDatabases()
public String toString()
toString in class Object
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||