| Package | Description |
|---|---|
| org.apache.sling.query | |
| org.apache.sling.query.api | |
| org.apache.sling.query.function | |
| org.apache.sling.query.selector |
| Modifier and Type | Method and Description |
|---|---|
protected SlingQuery |
SlingQuery.clone(AbstractQuery<org.apache.sling.api.resource.Resource,SlingQuery> original,
SearchStrategy strategy) |
protected abstract Q |
AbstractQuery.clone(AbstractQuery<T,Q> original,
SearchStrategy strategy) |
Q |
AbstractQuery.searchStrategy(SearchStrategy strategy)
Set new search strategy, which will be used in
AbstractQuery.find() and
AbstractQuery.has(String) functions. |
| Constructor and Description |
|---|
AbstractQuery(AbstractQuery<T,Q> original,
SearchStrategy searchStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static SearchStrategy |
SearchStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchStrategy[] |
SearchStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
FindFunction(SearchStrategy searchStrategy,
TreeProvider<T> provider,
SelectorSegment preFilteringSelector) |
FindFunction(SearchStrategy searchStrategy,
TreeProvider<T> provider,
String preFilteringSelector) |
HasFunction(Predicate<T> predicate,
SearchStrategy searchStrategy,
TreeProvider<T> provider) |
HasFunction(String selectorString,
SearchStrategy searchStrategy,
TreeProvider<T> provider) |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> Function<?,?> |
HierarchyOperator.getFunction(SelectorSegment segment,
SearchStrategy strategy,
TreeProvider<T> provider) |
abstract <T> Function<?,?> |
FunctionType.getFunction(String argument,
SearchStrategy strategy,
TreeProvider<T> provider) |
| Constructor and Description |
|---|
SelectorFunction(String selector,
TreeProvider<T> provider,
SearchStrategy strategy) |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.