public class SemiFullTextQuery
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROOT_ALIAS |
Constructor and Description |
---|
SemiFullTextQuery(java.lang.String rootAlias,
EntityI rootEntity) |
Modifier and Type | Method and Description |
---|---|
void |
addPath(java.lang.String s)
Adds an attribute path that should also be queried.
|
java.util.List<java.lang.String> |
appendConstraints(java.lang.StringBuilder sb,
java.util.List args,
java.lang.String terms)
Appends appropriate OQL "where" clauses for the given search terms to the given
StringBuilder . |
void |
appendConstraints(java.lang.StringBuilder sb,
java.util.List args,
java.lang.String[] must,
java.lang.String[] may,
java.lang.String[] mustnt) |
void |
appendConstraints(java.lang.StringBuilder sb,
java.util.List args,
java.lang.String[] must,
java.lang.String[] may,
java.lang.String[] mustnt,
boolean includeDefaults) |
public static final java.lang.String ROOT_ALIAS
public SemiFullTextQuery(java.lang.String rootAlias, EntityI rootEntity)
public void addPath(java.lang.String s) throws OQLSyntaxException
OQLSyntaxException
public java.util.List<java.lang.String> appendConstraints(java.lang.StringBuilder sb, java.util.List args, java.lang.String terms)
StringBuilder
.sb
- the StringBuilder
to append the contraints toargs
- the parameter values to use (probably for comparisons) in the queryterms
- the (probably user entered) text search terms (including possibly "must" and "mustnt" modifiers) as
well as additional raw "where" clauses (that is anything TextQueryLexer
can handle)public void appendConstraints(java.lang.StringBuilder sb, java.util.List args, java.lang.String[] must, java.lang.String[] may, java.lang.String[] mustnt)
public void appendConstraints(java.lang.StringBuilder sb, java.util.List args, java.lang.String[] must, java.lang.String[] may, java.lang.String[] mustnt, boolean includeDefaults)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.