no.sesat.search.query.transform
Class NewsMyNewsQueryTransformer

java.lang.Object
  extended by no.sesat.commons.visitor.AbstractReflectionVisitor
      extended by no.sesat.search.query.transform.AbstractQueryTransformer
          extended by no.sesat.search.query.transform.NewsMyNewsQueryTransformer
All Implemented Interfaces:
no.sesat.commons.visitor.Visitor, QueryTransformer

public final class NewsMyNewsQueryTransformer
extends AbstractQueryTransformer

Expects a parameter to be on the format: ((<value>::<type>)(||<value>::<type>)*)?

It the type matches the type for this transformer, it will use the value(s) to transform to a new query.

Note: This queryTransformer ignores all earlier transforms on the query. All transforms to the resulting query should be done after this.

Version:
$Id: NewsMyNewsQueryTransformer.java 7225 2009-04-09 00:32:20Z ssmiweve $

Nested Class Summary
 
Nested classes/interfaces inherited from interface no.sesat.search.query.transform.QueryTransformer
QueryTransformer.Context
 
Field Summary
 
Fields inherited from class no.sesat.commons.visitor.AbstractReflectionVisitor
VISIT_METHOD_IMPL
 
Constructor Summary
NewsMyNewsQueryTransformer(QueryTransformerConfig config)
           
 
Method Summary
protected  int getOffset()
           
 void visitImpl(Clause clause)
           
 
Methods inherited from class no.sesat.search.query.transform.AbstractQueryTransformer
getContext, getFilter, getFilter, getTransformedQuery, setContext, visitImpl, visitImpl
 
Methods inherited from class no.sesat.commons.visitor.AbstractReflectionVisitor
visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface no.sesat.commons.visitor.Visitor
visit
 

Constructor Detail

NewsMyNewsQueryTransformer

public NewsMyNewsQueryTransformer(QueryTransformerConfig config)
Parameters:
config -
Method Detail

visitImpl

public void visitImpl(Clause clause)
Parameters:
clause -

getOffset

protected int getOffset()
Returns:


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