public class Selection extends UnaryRelation
| Modifier and Type | Class and Description |
|---|---|
protected class |
Selection.SelectionCacheIterator |
protected class |
Selection.SelectionStreamIterator |
UnaryRelation.UnaryRelationCacheIterator, UnaryRelation.UnaryRelationStreamIterator| Modifier and Type | Field and Description |
|---|---|
protected Condition |
m_condition |
m_relationm_streamingMode| Modifier and Type | Method and Description |
|---|---|
void |
accept(QueryVisitor v) |
RelationIterator |
cacheIterator()
Returns an iterator over tuples of the relation
|
Schema |
getSchema()
Returns the relation's schema
|
void |
setCondition(Condition c) |
RelationStreamIterator |
streamIterator()
Returns an iterator over tuples of the relation
|
setRelation, tupleCountcontains, getCardinality, getDegree, isFragment, isLeaf, iterator, setStreamingMode, toStringprotected Condition m_condition
public Schema getSchema()
Relationpublic void setCondition(Condition c)
public void accept(QueryVisitor v) throws QueryVisitor.VisitorException
accept in class RelationQueryVisitor.VisitorExceptionpublic RelationStreamIterator streamIterator()
RelationstreamIterator in class Relationpublic RelationIterator cacheIterator()
RelationcacheIterator in class RelationCopyright © Sylvain HallĂ©. All Rights Reserved.