public abstract class AbstractSearchResolver extends Object
Constructor and Description |
---|
AbstractSearchResolver() |
protected static Collection<ElementRef<?>> getSearchableElements(CqnSelect select, CdsStructuredType targetType)
protected static void moveSearchToWhere(CqnSelect select, CqnPredicate filter)
protected static CqnPredicate wrapIntoExistsSubquery(CdsEntity target, CqnPredicate search, boolean ignoreLocalizedViews)
protected static boolean anyRefViaCollectionAssociation(CdsStructuredType root, Collection<ElementRef<?>> refs)
protected static void extractLocalizedSearchableRefs(CdsStructuredType targetType, Collection<ElementRef<?>> searchableRefs, List<ElementRef<?>> localizedSearchableRefs)
protected static CqnPredicate checkForTargetTypeBeingEntityAndWrapToSubquery(CdsStructuredType targetType, CqnPredicate filter, boolean ignoreLocalizedViews)
protected boolean allLocalizedElementsHaveAssociationToTexts(CdsStructuredType targetType, Collection<ElementRef<?>> searchableRefs)
public List<ElementRef<?>> addRefsViaLocalizedAssociation(CdsStructuredType targetType, Collection<ElementRef<?>> searchableRefs)
protected static CqnPredicate searchToLikeExpression(Collection<ElementRef<?>> elements, CqnPredicate expression)
Copyright © 2021 SAP. All rights reserved.