|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.parameters.SCHQueryResultSet
public class SCHQueryResultSet
A collection of SCHQueryResults.
Note that this class is
NOT read-only after construction, so calling classes should beware
of tampering.
Shamelessly duplicated from QueryResultSet in
DBCore, except for certain SCH-specific parts.
Constructor Summary | |
---|---|
SCHQueryResultSet()
|
|
SCHQueryResultSet(Timeline timelineHandler,
StoryQuery query,
QueryResultSet in)
Construct a new SCHQueryResultSet object from a DBCore QueryResultSet and the SCHParameters used to issue the query. |
Method Summary | |
---|---|
void |
add(SCHQueryResult result)
|
static SCHQueryResultSet |
dotProduct(SCHQueryResultSet first,
SCHQueryResultSet second)
Create a new SCHQueryResultSet that is a dot product of two other sets, i.e., all the results from the first are combined with all the results from the second, with ordering preserved. |
java.util.Iterator |
getQueryResults()
Get an Iterator of the QueryResults. |
SCHQueryResult |
getResult()
Get the first result, for an undefined ordering. |
SCHQueryResultSet |
makeCopy()
Make a shallow copy of the QueryResultSet. |
int |
numResults()
Get the number of results. |
void |
remove(SCHQueryResult result)
Remove a SCHQueryResult from the set. |
java.lang.StringBuffer |
render()
Render the whole SCHQueryResultSet without references. |
java.lang.StringBuffer |
render(boolean references)
Render the whole SCHQueryResultSet. |
static SCHQueryResultSet |
union(SCHQueryResultSet first,
SCHQueryResultSet second)
Create a new QueryResultSet that is a union of two other sets. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SCHQueryResultSet()
public SCHQueryResultSet(Timeline timelineHandler, StoryQuery query, QueryResultSet in) throws Scheherexception
Scheherexception
Method Detail |
---|
public void add(SCHQueryResult result) throws Scheherexception
Scheherexception
public void remove(SCHQueryResult result)
public java.util.Iterator getQueryResults()
public SCHQueryResult getResult() throws Scheherexception
Scheherexception
public int numResults()
public java.lang.StringBuffer render() throws Scheherexception
Scheherexception
public java.lang.StringBuffer render(boolean references) throws Scheherexception
references
- Print reference tables.
Scheherexception
public static SCHQueryResultSet dotProduct(SCHQueryResultSet first, SCHQueryResultSet second) throws Scheherexception
Scheherexception
public static SCHQueryResultSet union(SCHQueryResultSet first, SCHQueryResultSet second) throws Scheherexception
Scheherexception
public SCHQueryResultSet makeCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |