public class DefaultFlexibleSearchFacade extends Object implements FlexibleSearchFacade
| Modifier and Type | Field and Description |
|---|---|
static Integer |
DEFAULT_FS_MAX_COUNT |
| Constructor and Description |
|---|
DefaultFlexibleSearchFacade() |
| Modifier and Type | Method and Description |
|---|---|
SqlSearchResultData |
executeFlexibleSearchQuery(String query,
UserModel user,
Locale locale,
Integer maxCount,
boolean commit)
Executes SQL query which is result of translation of provided FlexibleSearch query.
|
SqlSearchResultData |
executeRawSql(String query,
Integer maxCount,
boolean commit)
Execute raw sql provided by user.
|
List<SampleQuery> |
getCompatibleSampleQueries()
Gets the compatible with current database sample queries.
|
public static final Integer DEFAULT_FS_MAX_COUNT
public SqlSearchResultData executeFlexibleSearchQuery(String query, UserModel user, Locale locale, Integer maxCount, boolean commit)
FlexibleSearchFacadeexecuteFlexibleSearchQuery in interface FlexibleSearchFacadequery - the FlexibleSearch queryuser - the user for which execution have to be triggeredlocale - the locale for which execution have to be triggeredmaxCount - the max countcommit - indicates, whether the query should be committed or not.public SqlSearchResultData executeRawSql(String query, Integer maxCount, boolean commit)
FlexibleSearchFacadeexecuteRawSql in interface FlexibleSearchFacadequery - the raw SQL querymaxCount - the max countcommit - indicates, whether the query should be committed or not.public List<SampleQuery> getCompatibleSampleQueries()
FlexibleSearchFacadegetCompatibleSampleQueries in interface FlexibleSearchFacadeCopyright © 2017 SAP SE. All Rights Reserved.