Uses of Interface
no.sesat.search.query.Clause

Packages that use Clause
no.sesat.search.mode.command ##### THIS IS THE TEMPLATE FOR THE PACKAGE DOC COMMENTS. 
no.sesat.search.mode.command.querybuilder   
no.sesat.search.query ##### THIS IS THE TEMPLATE FOR THE PACKAGE DOC COMMENTS. 
no.sesat.search.query.finder   
no.sesat.search.query.parser IMPLEMENTATION PACKAGE TO no.sesat.search.query.
Therefore the dependency goes from this package to the query pacakge. 
no.sesat.search.query.parser.alt   
no.sesat.search.query.token   
no.sesat.search.query.transform   
 

Uses of Clause in no.sesat.search.mode.command
 

Methods in no.sesat.search.mode.command that return types with arguments of type Clause
protected  Map<Clause,String> AbstractSearchCommand.getTransformedTerms()
           
 

Uses of Clause in no.sesat.search.mode.command.querybuilder
 

Methods in no.sesat.search.mode.command.querybuilder with parameters of type Clause
protected  String AbstractQueryBuilder.getEscapedTransformedTerm(Clause clause)
          Gets the transformed term, escaping any reserved words.
 String QueryBuilder.Context.getTransformedTerm(Clause clause)
          Get the unescaped transformed term for the clause.
protected  boolean BaseFilterBuilder.isEmptyLeaf(Clause clause)
          Override logic.
protected  boolean AbstractQueryBuilder.isEmptyLeaf(Clause clause)
           
protected  boolean AbstractQueryBuilder.isNextLeafInsideNotClause(Clause clause)
           
 

Uses of Clause in no.sesat.search.query
 

Subinterfaces of Clause in no.sesat.search.query
 interface AndClause
           
 interface AndNotClause
           
 interface BinaryClause
          An operation clause.
 interface DefaultOperatorClause
           
 interface EmailClause
           
 interface IntegerClause
           
 interface LeafClause
          A clause representing a leaf.
 interface NotClause
           
 interface NumberGroupClause
           
 interface OrClause
           
 interface PhoneNumberClause
           
 interface PhraseClause
           
 interface UnaryClause
          An operation clause.
 interface UrlClause
           
 interface WordClause
           
 interface XorClause
          A special clause to distinguish between QueryParser's guesses to the specific LeafClause type.
 

Methods in no.sesat.search.query that return Clause
 Clause UnaryClause.getFirstClause()
          Get the clause.
 Clause Query.getRootClause()
          The root clause to the clause heirarchy.
 Clause BinaryClause.getSecondClause()
          Get the second clause.
 

Uses of Clause in no.sesat.search.query.finder
 

Methods in no.sesat.search.query.finder that return Clause
 Clause PredicateFinder.findFirstClause(Clause root, org.apache.commons.collections.Predicate predicate, TokenEvaluationEngine engine)
          find the first clause containing the predicate.
 

Methods in no.sesat.search.query.finder that return types with arguments of type Clause
 Set<Clause> PredicateFinder.findClauses(Clause root, org.apache.commons.collections.Predicate predicate, TokenEvaluationEngine engine)
          find all the clauses containing the predicate.
 Map<Clause,String> WhoWhereSplitter.Context.getTransformedTerms()
          Get the terms with their current transformed representations.
 

Methods in no.sesat.search.query.finder with parameters of type Clause
 boolean ChildFinder.childExists(UnaryClause parent, Clause child)
          Does the child clause exist any depth underneath the parent.
 Set<Clause> PredicateFinder.findClauses(Clause root, org.apache.commons.collections.Predicate predicate, TokenEvaluationEngine engine)
          find all the clauses containing the predicate.
 Clause PredicateFinder.findFirstClause(Clause root, org.apache.commons.collections.Predicate predicate, TokenEvaluationEngine engine)
          find the first clause containing the predicate.
 List<UnaryClause> ParentFinder.getAncestors(Clause root, Clause clause)
          Returns all parents, grandparents, great-grandparents, etc.
 LeafClause FirstLeafFinder.getFirstLeaf(Clause root)
           
 UnaryClause ParentFinder.getParent(Clause root, Clause child)
          Finds the first found direct parent.
 List<UnaryClause> ParentFinder.getParents(Clause root, Clause child)
          Returns all direct parents.
 int Counter.getTermCount(Clause root)
          Get the count of leaves under this clause.
protected  void PredicateCollector.visitImpl(Clause clause)
          TODO comment me.
protected  void PredicateFinder.visitImpl(Clause clause)
          TODO comment me.
 

Uses of Clause in no.sesat.search.query.parser
 

Classes in no.sesat.search.query.parser that implement Clause
 class AbstractBinaryClause
          Abstract binary operation clause.
 class AbstractClause
          Basic implementation of the Clause interface.
 class AbstractLeafClause
          Basic implementation of the LeafClause interface.
 class AbstractUnaryClause
          Basic implementation of the OperationClause interface.
 class AndClauseImpl
          The AndClauseImpl represents a joining clause between two terms in the query.
 class AndNotClauseImpl
          The AndNotClauseImpl represents a joining not clause between two terms in the query.
 class DefaultOperatorClauseImpl
          The OrClauseImpl represents a joining clause between two terms in the query.
 class EmailClauseImpl
          EmailClauseImpl.
 class IntegerClauseImpl
          IntegerClauseImpl.
 class NotClauseImpl
          The NotClauseImpl represents a not clause between prefixing another term in the query.
 class NumberGroupClauseImpl
          Nine digit organisation clause.
 class OrClauseImpl
          The OrClauseImpl represents a joining clause between two terms in the query.
 class PhoneNumberClauseImpl
           
 class PhraseClauseImpl
           
 class UrlClauseImpl
          UrlClauseImpl.
 class WordClauseImpl
          Represent a word in the query.
 class XorClauseImpl
          The XorClauseImpl represents a joining clause between two terms in the query.
 

Fields in no.sesat.search.query.parser declared as Clause
protected  Clause AbstractUnaryClause.firstClause
          The first clause of a binary clause, or the only clause of a UnaryClause.
 

Methods in no.sesat.search.query.parser that return Clause
 Clause QueryParserImpl.fieldedLeaf(Token field)
           
 Clause QueryParserImpl.fieldedQuote(Token field)
           
 Clause AbstractUnaryClause.getFirstClause()
          Get the firstClause.
 Clause AbstractBinaryClause.getSecondClause()
          Get the secondClause.
 Clause QueryParserImpl.hiddenOrOperation()
           
 Clause QueryParserImpl.leaf()
          LEAVES
 Clause QueryParserImpl.leafPrecedence()
           
 Clause QueryParserImpl.looseJoinPrecedence()
           
 Clause QueryParserImpl.noPrecedence()
           
 Clause QueryParserImpl.orOperation()
           
 Clause QueryParserImpl.parse()
           
abstract  Clause AbstractQueryParser.parse()
          do the actual parsing.
 Clause QueryParserImpl.rootPrecedence()
          PRECEDENCES
 Clause QueryParserImpl.strongJoinPrecedence()
           
 

Methods in no.sesat.search.query.parser with parameters of type Clause
 AndClause AbstractQueryParserContext.createAndClause(Clause first, Clause second)
          Creator wrapper method for AndClause objects.
 AndClause QueryParser.Context.createAndClause(Clause first, Clause second)
          Creator wrapper method for AndClause objects.
static AndClauseImpl AndClauseImpl.createAndClause(Clause first, Clause second, TokenEvaluationEngine engine)
          Creator method for AndClauseImpl objects.
 AndNotClause AbstractQueryParserContext.createAndNotClause(Clause first)
          Creator wrapper method for AndNotClause objects.
 AndNotClause QueryParser.Context.createAndNotClause(Clause first)
          Creator wrapper method for AndNotClause objects.
static AndNotClauseImpl AndNotClauseImpl.createAndNotClause(Clause first, TokenEvaluationEngine engine)
          Creator method for AndNotClauseImpl objects.
static
<T extends AbstractUnaryClause>
T
AbstractUnaryClause.createClause(Class<T> clauseClass, String term, Clause left, Clause right, TokenEvaluationEngine engine, no.sesat.commons.ref.ReferenceMap<String,T> weakCache)
          Works off the assumption that OperationClause constructor's have the exact parameter list: final String term, final Clause left, final Clause right, final Set<Predicate> knownPredicates, final Set<Predicate> possiblePredicates Where this is true subclasses are free to use this helper method.
 DefaultOperatorClause AbstractQueryParserContext.createDefaultOperatorClause(Clause first, Clause second)
          Creator wrapper method for DefaultOperatorClause objects.
 DefaultOperatorClause QueryParser.Context.createDefaultOperatorClause(Clause first, Clause second)
          Creator wrapper method for DefaultOperatorClause objects.
static DefaultOperatorClauseImpl DefaultOperatorClauseImpl.createDefaultOperatorClause(Clause first, Clause second, TokenEvaluationEngine engine)
          Creator method for OrClauseImpl objects.
 NotClause AbstractQueryParserContext.createNotClause(Clause first)
          Creator wrapper method for NotClause objects.
 NotClause QueryParser.Context.createNotClause(Clause first)
          Creator wrapper method for NotClause objects.
static NotClauseImpl NotClauseImpl.createNotClause(Clause first, TokenEvaluationEngine engine)
          Creator method for NotClauseImpl objects.
 OrClause AbstractQueryParserContext.createOrClause(Clause first, Clause second)
          Creator wrapper method for OrClause objects.
 OrClause QueryParser.Context.createOrClause(Clause first, Clause second)
          Creator wrapper method for OrClause objects.
static OrClauseImpl OrClauseImpl.createOrClause(Clause first, Clause second, TokenEvaluationEngine engine)
          Creator method for OrClauseImpl objects.
static Query AbstractQuery.createQuery(String string, boolean blank, Clause rootClause, ParentFinder parentFinder)
           
 XorClause AbstractQueryParserContext.createXorClause(Clause first, Clause second, XorClause.Hint hint)
          Creator wrapper method for XorClause objects.
 XorClause QueryParser.Context.createXorClause(Clause first, Clause second, XorClause.Hint hint)
          Creator wrapper method for XorClause objects.
static XorClauseImpl XorClauseImpl.createXorClause(Clause first, Clause second, XorClause.Hint hint, TokenEvaluationEngine engine)
          Creator method for XorClauseImpl objects.
 

Constructors in no.sesat.search.query.parser with parameters of type Clause
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.
AbstractUnaryClause(String term, Clause first, Set<TokenPredicate> knownPredicates, Set<TokenPredicate> possiblePredicates)
          Create clause with the given term, known and possible predicates.
AndClauseImpl(String term, Clause first, Clause second, Set<TokenPredicate> knownPredicates, Set<TokenPredicate> possiblePredicates)
          Create clause with the given term, field, known and possible predicates.
AndNotClauseImpl(String term, Clause first, Clause second, Set<TokenPredicate> knownPredicates, Set<TokenPredicate> possiblePredicates)
          Create the AndNotClauseImpl with the given term, left and right child clauses, and known and possible predicate sets.
DefaultOperatorClauseImpl(String term, Clause first, Clause second, Set<TokenPredicate> knownPredicates, Set<TokenPredicate> possiblePredicates)
          Create the OrClauseImpl with the given term, left and right child clauses, and known and possible predicate sets.
NotClauseImpl(String term, Clause first, Clause second, Set<TokenPredicate> knownPredicates, Set<TokenPredicate> possiblePredicates)
          Create the NotClauseImpl with the given term, and left child clauses, and known and possible predicate sets.
OrClauseImpl(String term, Clause first, Clause second, Set<TokenPredicate> knownPredicates, Set<TokenPredicate> possiblePredicates)
          Create the OrClauseImpl with the given term, left and right child clauses, and known and possible predicate sets.
XorClauseImpl(String term, Clause first, Clause second, XorClause.Hint hint, Set<TokenPredicate> knownPredicates, Set<TokenPredicate> possiblePredicates)
          Create the XorClauseImpl with the given term, left and right child clauses, and known and possible predicate sets.
 

Uses of Clause in no.sesat.search.query.parser.alt
 

Methods in no.sesat.search.query.parser.alt that return Clause
 Clause RotationAlternation.alternate(Clause originalRoot)
          Returns a alternated clause where all child forests contain XorClauses.
 Clause FullnameAlternation.alternate(Clause clause)
          
 Clause Alternation.alternate(Clause clause)
          Perform the alternation.
protected  Clause AbstractAlternation.leftChild(UnaryClause clause)
          return the left child, left or operation.
protected  Clause AbstractAlternation.rightChild(BinaryClause clause)
          will return right child, leaf or operation.
 

Methods in no.sesat.search.query.parser.alt with parameters of type Clause
 Clause RotationAlternation.alternate(Clause originalRoot)
          Returns a alternated clause where all child forests contain XorClauses.
 Clause FullnameAlternation.alternate(Clause clause)
          
 Clause Alternation.alternate(Clause clause)
          Perform the alternation.
protected
<T extends UnaryClause>
T
RotationAlternation.createOperatorClause(Clause left, Clause right, T replacementFor)
          
protected
<T extends UnaryClause>
T
AbstractAlternation.createOperatorClause(Clause left, Clause right, T replacementFor)
          Create a new operator clause, of type opCls, with the left and right children.
protected
<T extends UnaryClause>
T
AbstractAlternation.parent(T root, Clause child)
          return the parent operation clause of the given child.
protected
<T extends UnaryClause>
List<T>
AbstractAlternation.parents(T root, Clause child)
          return all parents operation clauses of the given child.
protected
<T extends UnaryClause>
T
AbstractAlternation.replaceOperatorClause(Clause newChild, Clause originalChild, T originalParent)
          Replace the originalChild that exists under the originalParent will the newChild.
 

Method parameters in no.sesat.search.query.parser.alt with type arguments of type Clause
protected  XorClause AbstractAlternation.createXorClause(LinkedList<? extends Clause> alternatives)
          Create XorClauses required to present all the alternatives in the query tree.
 

Uses of Clause in no.sesat.search.query.token
 

Methods in no.sesat.search.query.token with parameters of type Clause
 boolean TokenEvaluationEngineImpl.evaluateClause(TokenPredicate predicate, Clause clause)
           
 boolean TokenEvaluationEngine.evaluateClause(TokenPredicate predicate, Clause clause)
          Utility method to perform one-off evaluations on clauses from non RunningQuery threads.
 

Constructors in no.sesat.search.query.token with parameters of type Clause
EvaluationState(Clause clause)
           
 

Uses of Clause in no.sesat.search.query.transform
 

Methods in no.sesat.search.query.transform that return types with arguments of type Clause
 Map<Clause,String> QueryTransformer.Context.getTransformedTerms()
          Get the terms with their current transformed representations.
 

Methods in no.sesat.search.query.transform with parameters of type Clause
protected  boolean TokenMaskQueryTransformer.maskClause(Clause clause)
          TODO comment me.
 void ExactFieldFilterQueryTransformer.visitImpl(Clause clause)
           
 void NewsMediumQueryTransformer.visitImpl(Clause clause)
           
 void NewsCaseQueryTransformer.visitImpl(Clause clause)
           
 void NewsClusterQueryTransformer.visitImpl(Clause clause)
           
 void NewsMyNewsQueryTransformer.visitImpl(Clause clause)
           
 



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