it.unimi.di.mg4j.query.nodes
Class Or
java.lang.Object
it.unimi.di.mg4j.query.nodes.Composite
it.unimi.di.mg4j.query.nodes.Or
- All Implemented Interfaces:
- Query, Serializable
public class Or
- extends Composite
A node representing the logical or of the underlying queries.
- Author:
- Sebastiano Vigna
- See Also:
- Serialized Form
Fields inherited from class it.unimi.di.mg4j.query.nodes.Composite |
query |
Constructor Summary |
Or(Query... query)
|
Or
public Or(Query... query)
toString
public String toString()
- Overrides:
toString
in class Object
accept
public <T> T accept(QueryBuilderVisitor<T> visitor)
throws QueryBuilderVisitorException
- Description copied from interface:
Query
- Accepts a visitor.
- Parameters:
visitor
- the visitor.
- Returns:
- the result of the visit, or
null
if the visit should stop.
- Throws:
QueryBuilderVisitorException
- See Also:
Query
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object