|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.test.regression.query.TwoEntryQueryFactory
public class TwoEntryQueryFactory
Generates queries that contains two entries in it. The types of queries it creates are:
Constructor Summary | |
---|---|
TwoEntryQueryFactory(QueryFactory factory)
|
Method Summary | |
---|---|
protected void |
createAndQueries(int n,
java.util.Iterator entryIterator,
java.io.Writer writer)
Create (e1 <and> e2) queries. |
protected void |
createE1AndNotE2Queries(int n,
java.util.Iterator entryIterator,
java.io.Writer writer)
Create (e1 <and> <not> e2) queries. |
protected void |
createE1OrNotE2Queries(int n,
java.util.Iterator entryIterator,
java.io.Writer writer)
Create (e1 <or> <not> e2) queries. |
protected void |
createNotE1AndE2Queries(int n,
java.util.Iterator entryIterator,
java.io.Writer writer)
Create (<not> (e1 <and> e2)) queries. |
protected void |
createNotE1AndNotE2Queries(int n,
java.util.Iterator entryIterator,
java.io.Writer writer)
Create (<not> e1 <and> <not> e2)
queries. |
protected void |
createNotE1OrE2Queries(int n,
java.util.Iterator entryIterator,
java.io.Writer writer)
Create (<not> (e1 <or> e2)) queries. |
protected void |
createOrQueries(int n,
java.util.Iterator entryIterator,
java.io.Writer writer)
Create (e1 <or> e2) queries. |
void |
createQueries(int n,
java.util.Iterator entryIterator,
java.io.Writer writer)
Create all the two entry queries and write them to the given writer. |
protected void |
createQueries(int n,
java.util.Iterator iterator,
java.io.Writer writer,
com.sun.labs.minion.test.regression.query.TwoEntryQueryStringFactory qsf)
Create (e1 <and> e2) queries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TwoEntryQueryFactory(QueryFactory factory)
Method Detail |
---|
public void createQueries(int n, java.util.Iterator entryIterator, java.io.Writer writer) throws java.io.IOException
n
- the total number of queries to createentryIterator
- iterator for entrieswriter
- the writer to write the queries to
java.io.IOException
protected void createQueries(int n, java.util.Iterator iterator, java.io.Writer writer, com.sun.labs.minion.test.regression.query.TwoEntryQueryStringFactory qsf) throws java.io.IOException
(e1 <and> e2)
queries.
n
- the number of queries to createiterator
- the entry iterator from which to obtain the entrieswriter
- the writer to write the created queries toqsf
- the object that returns the appropriate query string
java.io.IOException
protected void createAndQueries(int n, java.util.Iterator entryIterator, java.io.Writer writer) throws java.io.IOException
(e1 <and> e2)
queries.
n
- the number of queries to createentryIterator
- the entry iterator from which to obtain the entrieswriter
- the writer to write the queries to
java.io.IOException
protected void createOrQueries(int n, java.util.Iterator entryIterator, java.io.Writer writer) throws java.io.IOException
(e1 <or> e2)
queries.
n
- the number of queries to createentryIterator
- the entry iterator from which to obtain the entrieswriter
- the writer to write the queries to
java.io.IOException
protected void createE1OrNotE2Queries(int n, java.util.Iterator entryIterator, java.io.Writer writer) throws java.io.IOException
(e1 <or> <not> e2)
queries.
n
- the number of queries to createentryIterator
- the entry iterator from which to obtain the entrieswriter
- the writer to write the queries to
java.io.IOException
protected void createE1AndNotE2Queries(int n, java.util.Iterator entryIterator, java.io.Writer writer) throws java.io.IOException
(e1 <and> <not> e2)
queries.
n
- the number of queries to createentryIterator
- the entry iterator from which to obtain the entrieswriter
- the writer to write the queries to
java.io.IOException
protected void createNotE1AndNotE2Queries(int n, java.util.Iterator entryIterator, java.io.Writer writer) throws java.io.IOException
(<not> e1 <and> <not> e2)
queries.
n
- the number of queries to createentryIterator
- the entry iterator from which to obtain the entrieswriter
- the writer to write the queries to
java.io.IOException
protected void createNotE1AndE2Queries(int n, java.util.Iterator entryIterator, java.io.Writer writer) throws java.io.IOException
(<not> (e1 <and> e2))
queries.
n
- the number of queries to createentryIterator
- the entry iterator from which to obtain the entrieswriter
- the writer to write the queries to
java.io.IOException
protected void createNotE1OrE2Queries(int n, java.util.Iterator entryIterator, java.io.Writer writer) throws java.io.IOException
(<not> (e1 <or> e2))
queries.
n
- the number of queries to createentryIterator
- the entry iterator from which to obtain the entrieswriter
- the writer to write the queries to
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |