no.sesat.search.query.parser
Class AbstractBinaryClause
java.lang.Object
no.sesat.search.query.parser.AbstractClause
no.sesat.search.query.parser.AbstractUnaryClause
no.sesat.search.query.parser.AbstractBinaryClause
- All Implemented Interfaces:
- Serializable, no.sesat.commons.visitor.Visitable, Clause, UnaryClause
- Direct Known Subclasses:
- AndClauseImpl, AndNotClauseImpl, DefaultOperatorClauseImpl, OrClauseImpl
public class AbstractBinaryClause
- extends AbstractUnaryClause
Abstract binary operation clause. That is an operation between two clauses.
- See Also:
- Serialized Form
| Methods inherited from interface no.sesat.commons.visitor.Visitable |
accept |
AbstractBinaryClause
protected AbstractBinaryClause(String term,
Clause first,
Clause second,
Set<TokenPredicate> knownPredicates,
Set<TokenPredicate> possiblePredicates)
- Create the infix operation clause with the given term, left and right child clauses, and known and possible predicate sets.
- Parameters:
term - the term for this OrClauseImpl.knownPredicates - set of known predicates.possiblePredicates - set of possible predicates.first - the left child clause.second - the right child clause.
getSecondClause
public Clause getSecondClause()
- Get the secondClause.
- Returns:
- the secondClause.
toString
public String toString()
- Overrides:
toString in class AbstractUnaryClause
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.