|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.component.operatorfactory.OperatorBuilder
Abstract base class for all operator builders. A handle to a
subclass of OperatorBuilder is obtained from the appropriate OperatorFactory using
OperatorFactory.newOperatorBuilder();
The OperatorBuilder is responsible for instantiating operators and returning handles to
the appropriate interface
When adding methods to the builder to create new operators, they should be made abstract iff
the stream and nonstream logical semantics are different. In most cases they will be. Note:
newOperator methods cannot just be added to one builder or another, but rather all builders must be able
to provide that method. This is because the outside only has a handle to this abstract base class, not
any individual subclass.
Field Summary | |
protected static OperatorBuilder |
builder
|
Constructor Summary | |
protected |
OperatorBuilder()
OperatorBuilder constructor comment. |
Method Summary | |
Aggregate |
newAggregate(XATNode node)
Create a new Aggregate |
CartesianProduct |
newCartesianProduct(XATNode node)
Create a new CartesianProduct |
Distinct |
newDistinct(XATNode node)
Create a new Distinct |
Expose |
newExpose(XATNode node)
Create a new Expose This doesnt really have a stream equivalent so it will be implemented here |
FOR |
newFor(XATNode node)
Create a new FOR This doesnt really have a stream equivalent so it will be implemented here |
FOR |
newFor(XATNode node,
XATTree tree)
Create a new FOR This doesnt really have a stream equivalent so it will be implemented here |
FunArith |
newFunArith(XATNode node)
Create a new FunctionArith This doesnt really have a stream equivalent so it will be implemented here |
Function |
newFunction(XATNode node)
Create a new Function |
GroupBy |
newGroupBy(XATNode node)
Insert the method's description here. |
LeftOuterJoin |
newLeftOuterJoin(XATNode node,
Expression exp)
Create a new LeftOuterJoin |
Merge |
newMerge(XATNode node)
Create a new Merge This doesnt really have a stream equivalent so it will be implemented here |
NameColumn |
newNameColumn(XATNode node)
Create a new NameColumn |
NavCollection |
newNavCollection(XATNode node)
Create a new NavCollection operator |
NavUnnest |
newNavUnnest(XATNode node)
Create a new NavCollection operator |
OrderBy |
newOrderBy(XATNode node)
Create a new OrderBy |
Project |
newProject(XATNode node)
Create a new Project |
Select |
newSelect(XATNode node,
Expression exp)
Create a new Select |
Source |
newSource(XATNode node)
Create a new Source |
Tagger |
newTagger(XATNode node,
Pattern pattern)
Create a new Tagger |
XMLUnion |
newXMLUnion(XATNode node)
Create a new XMLUnion |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static OperatorBuilder builder
Constructor Detail |
protected OperatorBuilder()
Method Detail |
public Aggregate newAggregate(XATNode node)
node
- XATNodepublic CartesianProduct newCartesianProduct(XATNode node)
node
- XATNodepublic Distinct newDistinct(XATNode node)
node
- XATNodepublic Expose newExpose(XATNode node)
node
- XATNodepublic FOR newFor(XATNode node)
node
- XATNodepublic FOR newFor(XATNode node, XATTree tree)
node
- XATNodetree
- XATTreepublic FunArith newFunArith(XATNode node)
node
- XATNodepublic Function newFunction(XATNode node)
node
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodepublic GroupBy newGroupBy(XATNode node)
node
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodepublic LeftOuterJoin newLeftOuterJoin(XATNode node, Expression exp)
node
- XATNodeexp
- Expressionpublic Merge newMerge(XATNode node)
node
- XATNodepublic NameColumn newNameColumn(XATNode node)
node
- XATNodepublic NavCollection newNavCollection(XATNode node)
node
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodepublic NavUnnest newNavUnnest(XATNode node)
XATNode
- node the XATNode to associate with this operatorpublic OrderBy newOrderBy(XATNode node)
node
- XATNodepublic Project newProject(XATNode node)
node
- XATNodepublic Select newSelect(XATNode node, Expression exp)
node
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodepublic Source newSource(XATNode node)
node
- XATNodepublic Tagger newTagger(XATNode node, Pattern pattern)
node
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodepattern
- Patternpublic XMLUnion newXMLUnion(XATNode node)
node
- XATNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |