Package it.unimi.di.big.mg4j.query.nodes
Class And
- java.lang.Object
-
- it.unimi.di.big.mg4j.query.nodes.Composite
-
- it.unimi.di.big.mg4j.query.nodes.And
-
- All Implemented Interfaces:
Query
,Serializable
public class And extends Composite
A node representing the logical and of the underlying queries.- Author:
- Sebastiano Vigna
- See Also:
- Serialized Form
-
-
Constructor Detail
-
And
public And(Query... query)
-
-
Method Detail
-
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
-
-