public abstract class NAryRelation extends Relation
Union and Intersection. Note that an n-ary relation
must be associative (hence the Join is not an n-ary relation).| Modifier and Type | Class and Description |
|---|---|
protected class |
NAryRelation.NAryRelationCacheIterator |
protected class |
NAryRelation.NAryRelationStreamIterator |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Relation> |
m_relations
The list of relations the operator acts on
|
m_streamingMode| Modifier | Constructor and Description |
|---|---|
protected |
NAryRelation() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
acceptNAry(QueryVisitor v) |
void |
addOperand(Relation r) |
int |
getArity()
Returns the arity of the operator, i.e.
|
Schema |
getSchema()
Returns the relation's schema
|
int |
tupleCount()
Returns the number of actual tuples present in the query.
|
accept, cacheIterator, contains, getCardinality, getDegree, isFragment, isLeaf, iterator, setStreamingMode, streamIterator, toStringprotected java.util.List<Relation> m_relations
public Schema getSchema()
Relationpublic void addOperand(Relation r)
public int getArity()
public int tupleCount()
RelationtupleCount in class Relationprotected void acceptNAry(QueryVisitor v) throws QueryVisitor.VisitorException
QueryVisitor.VisitorExceptionCopyright © Sylvain HallĂ©. All Rights Reserved.