Package com.sap.cds.jdbc.generic
Class GenericSearchResolver
java.lang.Object
com.sap.cds.jdbc.generic.AbstractSearchResolver
com.sap.cds.jdbc.generic.GenericSearchResolver
- All Implemented Interfaces:
SearchResolver
A
SearchResolver implementation for all generic SQL databases except
HANA. It either uses the localized_ view generated by the CDS compiler
directly. In case each localized element can be resolved by a 'localized' the
search expression is resolved via this association at runtime.-
Field Summary
Fields inherited from class com.sap.cds.jdbc.generic.AbstractSearchResolver
config, locale, model -
Constructor Summary
ConstructorsConstructorDescriptionGenericSearchResolver(DataStoreConfiguration config, CdsModel cdsModel, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidresolve(CqnSelect select, CqnPredicate search, CdsStructuredType targetType, Collection<CqnElementRef> searchableRefs) Methods inherited from class com.sap.cds.jdbc.generic.AbstractSearchResolver
addRefsViaLocalizedAssociation, allLocalizedElementsAreReachableViaLocalizedAssociation, anyRefViaCollectionAssociation, configuredSearchMode, hasAliasedLocalizedElementsInView, isReachableViaLocalizedAssoc, isSearchable, localizedRef, navigatesToManyAssoc, pushDownToExistsSubquery, resolve, resolveUsingLocalizedAssociationWithLike, resolveUsingLocalizedViewWithLike, searchMode, wrapIntoInSubqueryMethods 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, resolve
-
Constructor Details
-
GenericSearchResolver
-
-
Method Details
-
resolve
protected void resolve(CqnSelect select, CqnPredicate search, CdsStructuredType targetType, Collection<CqnElementRef> searchableRefs) - Specified by:
resolvein classAbstractSearchResolver
-
defaultSearchMode
- Specified by:
defaultSearchModein classAbstractSearchResolver
-