com.bea.content.expression.operators
Class SimilarToQuery

java.lang.Object
  extended by com.bea.content.expression.operators.AbstractQueryOperator
      extended by com.bea.content.expression.operators.SimilarToQuery
All Implemented Interfaces
IQueryOperator

public class SimilarToQuery
extends AbstractQueryOperator


Field Summary
 
Fields inherited from class com.bea.content.expression.operators.AbstractQueryOperator
criteria, criteriaList, multiplicity, param, textFormatter, userProperty, userPropertyName
 
Constructor Summary
SimilarToQuery(FullTextSearch.Parameter param, String value)
           
SimilarToQuery(String text)
          Build a SimilarToQuery object against the text field.
SimilarToQuery(String userPropertyField, String value)
           
SimilarToQuery(String userPropertyField, String value, FullTextSearch.Multiplicity multiplicity)
           
 
Method Summary
protected  FullTextSearch.Operator getOperator()
           
 
Methods inherited from class com.bea.content.expression.operators.AbstractQueryOperator
buildAutonomyDateString, buildCriteria, buildCriteria, buildCriteria, buildFTQP, criteriaNullCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimilarToQuery

public SimilarToQuery(String text)
               throws InvalidQueryException
Build a SimilarToQuery object against the text field.

Parameters
text - The text to query for.
Throws
InvalidQueryException - If the criteria given builds an invalid query.

SimilarToQuery

public SimilarToQuery(FullTextSearch.Parameter param,
                      String value)
               throws InvalidQueryException
Throws
InvalidQueryException

SimilarToQuery

public SimilarToQuery(String userPropertyField,
                      String value)
               throws InvalidQueryException
Throws
InvalidQueryException

SimilarToQuery

public SimilarToQuery(String userPropertyField,
                      String value,
                      FullTextSearch.Multiplicity multiplicity)
               throws InvalidQueryException
Throws
InvalidQueryException
Method Detail

getOperator

protected FullTextSearch.Operator getOperator()
Specified by:
getOperator in class AbstractQueryOperator


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.