org.alfresco.repo.search.impl.querymodel.impl.lucene.functions
Class LuceneFTSPrefixTerm

java.lang.Object
  extended by org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
      extended by org.alfresco.repo.search.impl.querymodel.impl.functions.FTSPrefixTerm
          extended by org.alfresco.repo.search.impl.querymodel.impl.lucene.functions.LuceneFTSPrefixTerm
All Implemented Interfaces:
Function, LuceneQueryBuilderComponent

public class LuceneFTSPrefixTerm
extends FTSPrefixTerm
implements LuceneQueryBuilderComponent

Perfix term


Field Summary
 
Fields inherited from class org.alfresco.repo.search.impl.querymodel.impl.functions.FTSPrefixTerm
ARG_PROPERTY, ARG_TERM, args, NAME
 
Constructor Summary
LuceneFTSPrefixTerm()
           
 
Method Summary
 org.apache.lucene.search.Query addComponent(java.util.Set selectors, java.util.Map functionArgs, LuceneQueryBuilderContext luceneContext, FunctionEvaluationContext functionContext)
          Generate the lucene query from the query component
 
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.functions.FTSPrefixTerm
getValue
 
Methods inherited from class org.alfresco.repo.search.impl.querymodel.impl.BaseFunction
getArgumentDefinition, getArgumentDefinitions, getName, getReturnType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LuceneFTSPrefixTerm

public LuceneFTSPrefixTerm()
Method Detail

addComponent

public org.apache.lucene.search.Query addComponent(java.util.Set selectors,
                                                   java.util.Map functionArgs,
                                                   LuceneQueryBuilderContext luceneContext,
                                                   FunctionEvaluationContext functionContext)
                                            throws org.apache.lucene.queryParser.ParseException
Description copied from interface: LuceneQueryBuilderComponent
Generate the lucene query from the query component

Specified by:
addComponent in interface LuceneQueryBuilderComponent
Returns:
- the lucene query fragment for this component
Throws:
org.apache.lucene.queryParser.ParseException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.