|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.tvanytime.metadata.QueryConstraints
public class QueryConstraints
Class that encapsulates all the possible constraints that can be applied to a database query.
Constructor Summary | |
---|---|
QueryConstraints(int maxResults)
Create a query constraint which limits the maximum number of results that will be found. |
|
QueryConstraints(Table[] requestedTables)
Create a query constraint which limits the tables that will be requested. |
|
QueryConstraints(Table[] requestedTables,
int maxResults)
Create a query constraint which limits the maximum number of results that will be found and specifies the requested tables. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryConstraints(int maxResults)
IPDatabase
.
maxResults
- The maximum number of results to return. This number must
be >= 1, otherwise a DatabaseException will be thrownpublic QueryConstraints(Table[] requestedTables)
requestedTables
- An array that specifies the tables to return in the
response.public QueryConstraints(Table[] requestedTables, int maxResults)
IPDatabase
.
requestedTables
- An array that specifies the tables to return in the
response.maxResults
- The maximum number of results to return. This number must
be >= 1, otherwise a DatabaseException will be thrown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |