no.sesat.search.query.finder
Class PredicateCollector

java.lang.Object
  extended by no.sesat.commons.visitor.AbstractReflectionVisitor
      extended by no.sesat.search.query.finder.PredicateCollector
All Implemented Interfaces:
Serializable, no.sesat.commons.visitor.Visitor

public final class PredicateCollector
extends no.sesat.commons.visitor.AbstractReflectionVisitor
implements Serializable

Responsible for Visiting the Query and finding where the predicate lies. This class is thread-safe. (It is immutable). TODO Handle predicates under NOT and ANDNOT clauses. Currently they are ignored.

Version:
$Id: PredicateCollector.java 7225 2009-04-09 00:32:20Z ssmiweve $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class no.sesat.commons.visitor.AbstractReflectionVisitor
VISIT_METHOD_IMPL
 
Constructor Summary
PredicateCollector(Query query)
           
 
Method Summary
 Set<TokenPredicate> getKnownPredicates()
           
 Set<TokenPredicate> getPossiblePredicates()
           
protected  void visitImpl(AndNotClause clause)
          TODO comment me.
protected  void visitImpl(BinaryClause clause)
          TODO comment me.
protected  void visitImpl(Clause clause)
          TODO comment me.
protected  void visitImpl(NotClause clause)
          TODO comment me.
protected  void visitImpl(XorClause clause)
          TODO comment me.
 
Methods inherited from class no.sesat.commons.visitor.AbstractReflectionVisitor
visit, visitImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredicateCollector

public PredicateCollector(Query query)
Parameters:
query -
Method Detail

getKnownPredicates

public Set<TokenPredicate> getKnownPredicates()
Returns:

getPossiblePredicates

public Set<TokenPredicate> getPossiblePredicates()
Returns:

visitImpl

protected void visitImpl(BinaryClause clause)
TODO comment me.


visitImpl

protected void visitImpl(XorClause clause)
TODO comment me.


visitImpl

protected void visitImpl(NotClause clause)
TODO comment me.


visitImpl

protected void visitImpl(AndNotClause clause)
TODO comment me.


visitImpl

protected void visitImpl(Clause clause)
TODO comment me.



Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.