Package com.sap.cds.jdbc.hana.search
Class HanaSearchResolverUsingScore
java.lang.Object
com.sap.cds.jdbc.generic.AbstractSearchResolver
com.sap.cds.jdbc.hana.search.HanaSearchResolver
com.sap.cds.jdbc.hana.search.HanaSearchResolverUsingScore
- All Implemented Interfaces:
SearchResolver
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sap.cds.jdbc.hana.search.HanaSearchResolver
HanaSearchResolver.SearchString -
Field Summary
Fields inherited from class com.sap.cds.jdbc.generic.AbstractSearchResolver
config, locale, model -
Constructor Summary
ConstructorsConstructorDescriptionHanaSearchResolverUsingScore(DataStoreConfiguration config, CdsModel cdsModel, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidhandleLargeStringElement(Set<CqnElementRef> like, Map<CqnElementRef, CdsElement> score, CdsStructuredType targetType, CqnElementRef ref, CdsElement element) protected booleanhandleLocalizedElement(CdsStructuredType targetType, Set<CqnElementRef> like, Map<CqnElementRef, CdsElement> score, boolean languageGiven, CqnElementRef ref, CdsElement element) protected voidhandleRegularElement(CdsStructuredType targetType, Set<CqnElementRef> like, Map<CqnElementRef, CdsElement> score, CqnElementRef ref, CdsElement element) protected booleanneedsPushToSubquery(CdsElement element) protected CqnPredicatesearchToHana(Map<CqnElementRef, CdsElement> scoreRefs, CqnPredicate expression) Methods inherited from class com.sap.cds.jdbc.hana.search.HanaSearchResolver
forHexEngine, forLegacyEngine, fuzzinessThreshold, fuzzySearch, resolve, toSearchStringMethods inherited from class com.sap.cds.jdbc.generic.AbstractSearchResolver
addRefsViaLocalizedAssociation, allLocalizedElementsAreReachableViaLocalizedAssociation, anyRefViaCollectionAssociation, configuredSearchMode, hasAliasedLocalizedElementsInView, isReachableViaLocalizedAssoc, isSearchable, localizedRef, navigatesToManyAssoc, pushDownToExistsSubquery, resolve, resolveUsingLocalizedAssociationWithLike, resolveUsingLocalizedViewWithLike, searchMode, wrapIntoExistsSubqueryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cds.jdbc.spi.SearchResolver
pushDownSearchToSubquery
-
Constructor Details
-
HanaSearchResolverUsingScore
public HanaSearchResolverUsingScore(DataStoreConfiguration config, CdsModel cdsModel, Locale locale)
-
-
Method Details
-
searchToHana
protected CqnPredicate searchToHana(Map<CqnElementRef, CdsElement> scoreRefs, CqnPredicate expression) - Specified by:
searchToHanain classHanaSearchResolver
-
needsPushToSubquery
- Specified by:
needsPushToSubqueryin classHanaSearchResolver
-
handleLocalizedElement
protected boolean handleLocalizedElement(CdsStructuredType targetType, Set<CqnElementRef> like, Map<CqnElementRef, CdsElement> score, boolean languageGiven, CqnElementRef ref, CdsElement element) - Specified by:
handleLocalizedElementin classHanaSearchResolver
-
handleRegularElement
protected void handleRegularElement(CdsStructuredType targetType, Set<CqnElementRef> like, Map<CqnElementRef, CdsElement> score, CqnElementRef ref, CdsElement element) - Specified by:
handleRegularElementin classHanaSearchResolver
-
handleLargeStringElement
protected void handleLargeStringElement(Set<CqnElementRef> like, Map<CqnElementRef, CdsElement> score, CdsStructuredType targetType, CqnElementRef ref, CdsElement element) - Specified by:
handleLargeStringElementin classHanaSearchResolver
-
defaultSearchMode
- Specified by:
defaultSearchModein classAbstractSearchResolver
-