public class ParsedQuery extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
UNION_TABLE_ALIAS |
| Modifier and Type | Method and Description |
|---|---|
protected int |
addFixedParameter(Object value) |
boolean |
disablePrincipalGroupRestrictions() |
boolean |
equals(Object object) |
protected StringBuilder |
getBuffer() |
protected String |
getCleanSource() |
protected de.hybris.platform.persistence.flexiblesearch.ParsedText |
getEnclosingText() |
protected String |
getEndDelimiter() |
protected FlexibleSearchTypeCacheProvider |
getFSTypeCacheProvider() |
protected List<? extends de.hybris.platform.persistence.flexiblesearch.ParsedText> |
getNestedTexts() |
Principal |
getPrincipal() |
protected String |
getStartDelimiter() |
TranslatedQuery |
getTranslatedQuery()
Deprecated.
|
TranslatedQuery |
getTranslatedQuery(Map values) |
protected static int |
getWholeWordTokenPosition(String src,
String token) |
protected static int |
getWholeWordTokenPosition(String src,
String token,
int startFrom) |
int |
hashCode() |
protected boolean |
hasNestedTexts() |
protected void |
insertIntoTranslated(int pos,
String text) |
protected boolean |
isOracleUsed() |
protected void |
registerParsedText(de.hybris.platform.persistence.flexiblesearch.ParsedText parsed) |
protected void |
replaceInTranslated(String old,
String text) |
protected void |
replaceInTranslated(de.hybris.platform.persistence.flexiblesearch.TableField field,
String text)
Replaces a substring of this parsed text by a new text.
|
protected StringBuilder |
setBuffer(StringBuilder buffer) |
protected void |
setSource(String source) |
String |
toString() |
protected void |
translate()
starts translation
|
protected de.hybris.platform.persistence.flexiblesearch.ParsedText |
translateNested(int resultInsertPos,
String selectedText)
just returns this field now.
|
public static final String UNION_TABLE_ALIAS
protected boolean isOracleUsed()
protected int addFixedParameter(Object value)
@Deprecated public TranslatedQuery getTranslatedQuery() throws FlexibleSearchException
Map valueMap = ... TranslatedQuery tq = query.getTranslatedQuery();
FlexibleSearchExceptionpublic TranslatedQuery getTranslatedQuery(Map values) throws FlexibleSearchException
FlexibleSearchExceptionpublic boolean disablePrincipalGroupRestrictions()
public Principal getPrincipal()
protected void translate()
throws FlexibleSearchException
FlexibleSearchExceptionprotected de.hybris.platform.persistence.flexiblesearch.ParsedText translateNested(int resultInsertPos,
String selectedText)
throws FlexibleSearchException
resultInsertPos - the position where the result of this method is placed in the translated textselectedText - the selected text from sourceFlexibleSearchExceptionprotected FlexibleSearchTypeCacheProvider getFSTypeCacheProvider()
protected static final int getWholeWordTokenPosition(String src, String token)
protected static final int getWholeWordTokenPosition(String src, String token, int startFrom)
protected void setSource(String source)
protected de.hybris.platform.persistence.flexiblesearch.ParsedText getEnclosingText()
protected List<? extends de.hybris.platform.persistence.flexiblesearch.ParsedText> getNestedTexts()
protected boolean hasNestedTexts()
protected StringBuilder getBuffer()
protected StringBuilder setBuffer(StringBuilder buffer)
protected String getStartDelimiter()
protected String getEndDelimiter()
protected void insertIntoTranslated(int pos,
String text)
protected void replaceInTranslated(de.hybris.platform.persistence.flexiblesearch.TableField field,
String text)
text - the new text to insertprotected void registerParsedText(de.hybris.platform.persistence.flexiblesearch.ParsedText parsed)
protected String getCleanSource()
Copyright © 2017 SAP SE. All Rights Reserved.