$ A B C D E F G H I J L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
$
- $(Resource...) - Static method in class org.apache.sling.query.SlingQuery
- $(ResourceResolver) - Static method in class org.apache.sling.query.SlingQuery
A
- AbstractIterator<T> - Class in org.apache.sling.query.impl.iterator
- AbstractIterator() - Constructor for class org.apache.sling.query.impl.iterator.AbstractIterator
- AbstractQuery<T,Q extends AbstractQuery<T,Q>> - Class in org.apache.sling.query
- AbstractQuery(AbstractQuery<T, Q>, SearchStrategy) - Constructor for class org.apache.sling.query.AbstractQuery
- accepts(String, String) - Method in enum org.apache.sling.query.impl.predicate.SelectorOperator
- AdaptToIterator<F,T> - Class in org.apache.sling.query.impl.iterator
- AdaptToIterator(Iterator<F>, Class<? extends T>) - Constructor for class org.apache.sling.query.impl.iterator.AdaptToIterator
- add(int, E) - Method in class org.apache.sling.query.impl.util.LazyList
- add(E) - Method in class org.apache.sling.query.impl.util.LazyList
- add(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Include resources to the collection.
- add(T...) - Method in class org.apache.sling.query.AbstractQuery
-
Include resources to the collection.
- addAll(int, Collection<? extends E>) - Method in class org.apache.sling.query.impl.util.LazyList
- addAll(Collection<? extends E>) - Method in class org.apache.sling.query.impl.util.LazyList
- AddFunction<T> - Class in org.apache.sling.query.impl.function
- AddFunction(Iterable<T>) - Constructor for class org.apache.sling.query.impl.function.AddFunction
- advance(ListIterator<T>) - Method in enum org.apache.sling.query.impl.iterator.SiblingsIterator.Type
- AlternativeIterator<T> - Class in org.apache.sling.query.impl.iterator
- AlternativeIterator(List<Iterator<Option<T>>>) - Constructor for class org.apache.sling.query.impl.iterator.AlternativeIterator
- AND - org.apache.sling.query.impl.resource.jcr.query.Formula.Operator
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.AddFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.CompositeFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.DescendantFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.EvenFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.FilterFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.IdentityFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.IteratorToIteratorFunctionWrapper
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.LastFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.NotFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.SliceFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.function.UniqueFunction
- apply(Iterator<Option<T>>) - Method in class org.apache.sling.query.impl.selector.SelectorFunction
- apply(T) - Method in class org.apache.sling.query.impl.function.ChildrenFunction
- apply(T) - Method in class org.apache.sling.query.impl.function.ClosestFunction
- apply(T) - Method in class org.apache.sling.query.impl.function.FindFunction
- apply(T) - Method in class org.apache.sling.query.impl.function.HasFunction
- apply(T) - Method in class org.apache.sling.query.impl.function.NextFunction
- apply(T) - Method in class org.apache.sling.query.impl.function.ParentFunction
- apply(T) - Method in class org.apache.sling.query.impl.function.ParentsFunction
- apply(T) - Method in class org.apache.sling.query.impl.function.PrevFunction
- apply(T) - Method in class org.apache.sling.query.impl.function.SiblingsFunction
- ArgumentResettingIterator<T> - Class in org.apache.sling.query.impl.iterator
- ArgumentResettingIterator(Iterator<Option<T>>) - Constructor for class org.apache.sling.query.impl.iterator.ArgumentResettingIterator
- arrayIterator(T...) - Static method in class org.apache.sling.query.impl.util.IteratorUtils
- asList() - Method in class org.apache.sling.query.AbstractQuery
-
Transform SlingQuery collection into a lazy list.
- Atomic - Class in org.apache.sling.query.impl.resource.jcr.query
- Atomic(String) - Constructor for class org.apache.sling.query.impl.resource.jcr.query.Atomic
- Attribute - Class in org.apache.sling.query.impl.selector.parser
- Attribute(String, String, String) - Constructor for class org.apache.sling.query.impl.selector.parser.Attribute
- ATTRIBUTE_KEY - org.apache.sling.query.impl.selector.parser.State
- ATTRIBUTE_OPERATOR - org.apache.sling.query.impl.selector.parser.State
- ATTRIBUTE_VALUE - org.apache.sling.query.impl.selector.parser.State
B
- BFS - org.apache.sling.query.api.SearchStrategy
- BfsTreeIterator<T> - Class in org.apache.sling.query.impl.iterator.tree
- BfsTreeIterator(T, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.iterator.tree.BfsTreeIterator
- buildQuery(List<SelectorSegment>, String) - Method in class org.apache.sling.query.impl.resource.jcr.query.JcrQueryBuilder
- buildString() - Method in class org.apache.sling.query.impl.resource.jcr.query.Atomic
- buildString() - Method in class org.apache.sling.query.impl.resource.jcr.query.Formula
- buildString() - Method in interface org.apache.sling.query.impl.resource.jcr.query.Term
C
- canAdvance(ListIterator<?>) - Method in enum org.apache.sling.query.impl.iterator.SiblingsIterator.Type
- CHILD - org.apache.sling.query.impl.selector.HierarchyOperator
- children() - Method in class org.apache.sling.query.AbstractQuery
-
Get list of the children for each Resource in the collection.
- children(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Get list of the children for each Resource in the collection.
- children(String) - Method in class org.apache.sling.query.AbstractQuery
-
Get list of the children for each Resource in the collection.
- children(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Get list of the children for each Resource in the collection.
- ChildrenFunction<T> - Class in org.apache.sling.query.impl.function
- ChildrenFunction(TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.ChildrenFunction
- clear() - Method in class org.apache.sling.query.impl.util.LazyList
- clone(AbstractQuery<Resource, SlingQuery>, SearchStrategy) - Method in class org.apache.sling.query.SlingQuery
- clone(AbstractQuery<T, Q>, SearchStrategy) - Method in class org.apache.sling.query.AbstractQuery
- closest(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
For each Resource in the collection, return the first element matching the selector testing the Resource itself and traversing up its ancestors.
- closest(String) - Method in class org.apache.sling.query.AbstractQuery
-
For each Resource in the collection, return the first element matching the selector testing the Resource itself and traversing up its ancestors.
- closest(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
For each Resource in the collection, return the first element matching the selector testing the Resource itself and traversing up its ancestors.
- ClosestFunction<T> - Class in org.apache.sling.query.impl.function
- ClosestFunction(Predicate<T>, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.ClosestFunction
- CompositeFunction<T> - Class in org.apache.sling.query.impl.function
- CompositeFunction(List<Function<?, ?>>) - Constructor for class org.apache.sling.query.impl.function.CompositeFunction
- contains(Object) - Method in class org.apache.sling.query.impl.util.LazyList
- CONTAINS - org.apache.sling.query.impl.predicate.SelectorOperator
- CONTAINS - org.apache.sling.query.impl.resource.jcr.JcrOperator
- CONTAINS_WORD - org.apache.sling.query.impl.predicate.SelectorOperator
- CONTAINS_WORD - org.apache.sling.query.impl.resource.jcr.JcrOperator
- containsAll(Collection<?>) - Method in class org.apache.sling.query.impl.util.LazyList
D
- DESCENDANT - org.apache.sling.query.impl.selector.HierarchyOperator
- DescendantFunction<T> - Class in org.apache.sling.query.impl.function
- DescendantFunction(Iterable<T>, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.DescendantFunction
- DescendantsIterator<T> - Class in org.apache.sling.query.impl.iterator
- DescendantsIterator(Iterator<Option<T>>, Iterator<T>, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.iterator.DescendantsIterator
- DFS - org.apache.sling.query.api.SearchStrategy
- DfsTreeIterator<T> - Class in org.apache.sling.query.impl.iterator.tree
- DfsTreeIterator(T, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.iterator.tree.DfsTreeIterator
E
- EMPTY - org.apache.sling.query.impl.selector.FunctionType
- EmptyElementFilter<T> - Class in org.apache.sling.query.impl.iterator
- EmptyElementFilter(Iterator<Option<T>>) - Constructor for class org.apache.sling.query.impl.iterator.EmptyElementFilter
- emptyIterator() - Static method in class org.apache.sling.query.impl.util.IteratorUtils
- ENDS_WITH - org.apache.sling.query.impl.predicate.SelectorOperator
- ENDS_WITH - org.apache.sling.query.impl.resource.jcr.JcrOperator
- eq(int) - Method in class org.apache.sling.query.AbstractQuery
-
Reduce Resource collection to the one Resource at the given 0-based index.
- EQ - org.apache.sling.query.impl.selector.FunctionType
- equals(Object) - Method in class org.apache.sling.query.impl.selector.parser.Attribute
- equals(Object) - Method in class org.apache.sling.query.impl.selector.parser.Modifier
- equals(Object) - Method in class org.apache.sling.query.impl.selector.parser.SelectorSegment
- equals(Object) - Method in class org.apache.sling.query.impl.util.LazyList
- EQUALS - org.apache.sling.query.impl.predicate.SelectorOperator
- EQUALS - org.apache.sling.query.impl.resource.jcr.JcrOperator
- ESCAPED_NAME - org.apache.sling.query.impl.selector.parser.State
- EVEN - org.apache.sling.query.impl.selector.FunctionType
- EvenFunction<T> - Class in org.apache.sling.query.impl.function
- EvenFunction(boolean) - Constructor for class org.apache.sling.query.impl.function.EvenFunction
- ExpandingIterator<T> - Class in org.apache.sling.query.impl.iterator
-
This iterator evaluates each element from the source iterator, expanding it using given function.
- ExpandingIterator(ElementToIteratorFunction<T>, Iterator<Option<T>>) - Constructor for class org.apache.sling.query.impl.iterator.ExpandingIterator
F
- filter(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Filter Resource collection using given iterable.
- filter(String) - Method in class org.apache.sling.query.AbstractQuery
-
Filter Resource collection using given selector.
- filter(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Filter Resource collection using given predicate object.
- FilterFunction<T> - Class in org.apache.sling.query.impl.function
- FilterFunction(Predicate<T>) - Constructor for class org.apache.sling.query.impl.function.FilterFunction
- FilteringIterator<T> - Class in org.apache.sling.query.impl.iterator
- FilteringIterator(Iterator<Option<T>>, Predicate<T>) - Constructor for class org.apache.sling.query.impl.iterator.FilteringIterator
- find() - Method in class org.apache.sling.query.AbstractQuery
-
For each Resource in collection use depth-first search to return all its descendants.
- find(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
For each Resource in collection use breadth-first search to return all its descendants.
- find(String) - Method in class org.apache.sling.query.AbstractQuery
-
For each Resource in collection use breadth-first search to return all its descendants.
- find(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
For each Resource in collection use breadth-first search to return all its descendants.
- findByCharacter(char) - Static method in enum org.apache.sling.query.impl.selector.HierarchyOperator
- FindFunction<T> - Class in org.apache.sling.query.impl.function
- FindFunction(SearchStrategy, TreeProvider<T>, String) - Constructor for class org.apache.sling.query.impl.function.FindFunction
- FindFunction(SearchStrategy, TreeProvider<T>, SelectorSegment) - Constructor for class org.apache.sling.query.impl.function.FindFunction
- first() - Method in class org.apache.sling.query.AbstractQuery
-
Filter Resource collection to the first element.
- FIRST - org.apache.sling.query.impl.selector.FunctionType
- Formula - Class in org.apache.sling.query.impl.resource.jcr.query
- Formula(Formula.Operator, List<Term>) - Constructor for class org.apache.sling.query.impl.resource.jcr.query.Formula
- Formula.Operator - Enum in org.apache.sling.query.impl.resource.jcr.query
- functions - Variable in class org.apache.sling.query.AbstractQuery
- FunctionType - Enum in org.apache.sling.query.impl.selector
G
- get(int) - Method in class org.apache.sling.query.impl.util.LazyList
- getArgument() - Method in class org.apache.sling.query.impl.selector.parser.Modifier
- getAttributes() - Method in class org.apache.sling.query.impl.selector.parser.SelectorSegment
- getCurrentModel() - Method in class org.apache.sling.query.impl.iterator.AdaptToIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.AbstractIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.AlternativeIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.DescendantsIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.EmptyElementFilter
- getElement() - Method in class org.apache.sling.query.impl.iterator.ExpandingIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.FilteringIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.LastIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.MergingIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.ParentsIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.ReverseIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.SiblingsIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.SliceIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.SuppIterator
-
The idea behind this method is that index of each element in the input iterator is passed to the function.
- getElement() - Method in class org.apache.sling.query.impl.iterator.tree.BfsTreeIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.tree.DfsTreeIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.UniqueIterator
- getElement() - Method in class org.apache.sling.query.impl.iterator.WarningIterator
- getElement() - Method in class org.apache.sling.query.impl.resource.jcr.JcrQueryIterator
- getFirstSegmentFromEachSelector(List<Selector>) - Static method in class org.apache.sling.query.impl.selector.parser.SelectorParser
- getFunction(String, SearchStrategy, TreeProvider<T>) - Method in enum org.apache.sling.query.impl.selector.FunctionType
- getFunction(SelectorSegment, SearchStrategy, TreeProvider<T>) - Method in enum org.apache.sling.query.impl.selector.HierarchyOperator
- getHierarchyOperator() - Method in class org.apache.sling.query.impl.selector.parser.SelectorSegment
- getJcrQueryFragment(String, String) - Method in enum org.apache.sling.query.impl.resource.jcr.JcrOperator
- getKey() - Method in class org.apache.sling.query.impl.selector.parser.Attribute
- getModifiers() - Method in class org.apache.sling.query.impl.selector.parser.SelectorSegment
- getName() - Method in class org.apache.sling.query.impl.selector.parser.Modifier
- getName() - Method in class org.apache.sling.query.impl.selector.parser.SelectorSegment
- getName(Resource) - Method in class org.apache.sling.query.impl.resource.ResourceTreeProvider
- getOperator() - Method in class org.apache.sling.query.impl.selector.parser.Attribute
- getParent(Resource) - Method in class org.apache.sling.query.impl.resource.ResourceTreeProvider
- getPredicate(String, String, List<Attribute>) - Method in class org.apache.sling.query.impl.resource.ResourceTreeProvider
- getSegments() - Method in class org.apache.sling.query.impl.selector.parser.Selector
- getSelectorOperator(String) - Static method in enum org.apache.sling.query.impl.predicate.SelectorOperator
- getSelectorOperator(String) - Static method in enum org.apache.sling.query.impl.resource.jcr.JcrOperator
- getSelectors() - Method in class org.apache.sling.query.impl.selector.parser.ParserContext
- getState() - Method in class org.apache.sling.query.impl.selector.parser.ParserContext
- getType() - Method in class org.apache.sling.query.impl.selector.parser.SelectorSegment
- getValue() - Method in class org.apache.sling.query.impl.selector.parser.Attribute
- GT - org.apache.sling.query.impl.selector.FunctionType
H
- has(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Pick such Resources from the collection that have descendant matching the selector.
- has(String) - Method in class org.apache.sling.query.AbstractQuery
-
Pick such Resources from the collection that have descendant matching the selector.
- has(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Pick such Resources from the collection that have descendant matching the selector.
- HAS - org.apache.sling.query.impl.selector.FunctionType
- HasFunction<T> - Class in org.apache.sling.query.impl.function
- HasFunction(Iterable<T>, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.HasFunction
- HasFunction(String, SearchStrategy, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.HasFunction
- HasFunction(Predicate<T>, SearchStrategy, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.HasFunction
- hashCode() - Method in class org.apache.sling.query.impl.selector.parser.Attribute
- hashCode() - Method in class org.apache.sling.query.impl.selector.parser.Modifier
- hashCode() - Method in class org.apache.sling.query.impl.selector.parser.SelectorSegment
- hashCode() - Method in class org.apache.sling.query.impl.util.LazyList
- hasNext() - Method in class org.apache.sling.query.impl.iterator.AbstractIterator
- hasNext() - Method in class org.apache.sling.query.impl.iterator.AdaptToIterator
- hasNext() - Method in class org.apache.sling.query.impl.iterator.ArgumentResettingIterator
- hasNext() - Method in class org.apache.sling.query.impl.iterator.OptionDecoratingIterator
- hasNext() - Method in class org.apache.sling.query.impl.iterator.OptionStrippingIterator
- HierarchyOperator - Enum in org.apache.sling.query.impl.selector
I
- IdentityFunction<T> - Class in org.apache.sling.query.impl.function
- IdentityFunction() - Constructor for class org.apache.sling.query.impl.function.IdentityFunction
- IDLE - org.apache.sling.query.impl.selector.parser.State
- indexOf(Object) - Method in class org.apache.sling.query.impl.util.LazyList
- isDescendant(Resource, Resource) - Method in class org.apache.sling.query.impl.resource.ResourceTreeProvider
- isEmpty() - Method in class org.apache.sling.query.impl.util.LazyList
- isJcrType(String) - Method in interface org.apache.sling.query.impl.resource.jcr.JcrTypeResolver
- isJcrType(String) - Method in class org.apache.sling.query.impl.resource.jcr.SessionJcrTypeResolver
- isSubtype(String, String) - Method in interface org.apache.sling.query.impl.resource.jcr.JcrTypeResolver
- isSubtype(String, String) - Method in class org.apache.sling.query.impl.resource.jcr.SessionJcrTypeResolver
- IterableContainsPredicate<T> - Class in org.apache.sling.query.impl.predicate
- IterableContainsPredicate(Iterable<T>, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.predicate.IterableContainsPredicate
- iterator() - Method in class org.apache.sling.query.AbstractQuery
- iterator() - Method in class org.apache.sling.query.impl.util.LazyList
- IteratorToIteratorFunctionWrapper<T> - Class in org.apache.sling.query.impl.function
- IteratorToIteratorFunctionWrapper(Function<?, ?>) - Constructor for class org.apache.sling.query.impl.function.IteratorToIteratorFunctionWrapper
- IteratorUtils - Class in org.apache.sling.query.impl.util
J
- JcrOperator - Enum in org.apache.sling.query.impl.resource.jcr
- JcrQueryBuilder - Class in org.apache.sling.query.impl.resource.jcr.query
- JcrQueryBuilder(JcrTypeResolver) - Constructor for class org.apache.sling.query.impl.resource.jcr.query.JcrQueryBuilder
- JcrQueryIterator - Class in org.apache.sling.query.impl.resource.jcr
- JcrQueryIterator(List<SelectorSegment>, Resource, JcrTypeResolver) - Constructor for class org.apache.sling.query.impl.resource.jcr.JcrQueryIterator
- JcrTypeResolver - Interface in org.apache.sling.query.impl.resource.jcr
L
- last() - Method in class org.apache.sling.query.AbstractQuery
-
Filter Resource collection to the last element.
- LAST - org.apache.sling.query.impl.selector.FunctionType
- LastFunction<T> - Class in org.apache.sling.query.impl.function
- LastFunction() - Constructor for class org.apache.sling.query.impl.function.LastFunction
- lastIndexOf(Object) - Method in class org.apache.sling.query.impl.util.LazyList
- LastIterator<T> - Class in org.apache.sling.query.impl.iterator
- LastIterator(Iterator<Option<T>>) - Constructor for class org.apache.sling.query.impl.iterator.LastIterator
- LazyList<E> - Class in org.apache.sling.query.impl.util
- LazyList(Iterator<E>) - Constructor for class org.apache.sling.query.impl.util.LazyList
- listChildren(Resource) - Method in class org.apache.sling.query.impl.resource.ResourceTreeProvider
- listIterator() - Method in class org.apache.sling.query.impl.util.LazyList
- listIterator(int) - Method in class org.apache.sling.query.impl.util.LazyList
- LT - org.apache.sling.query.impl.selector.FunctionType
M
- map(Class<? extends E>) - Method in class org.apache.sling.query.SlingQuery
-
Transform the whole collection to a new
Iterable
object, invokingAdaptable.adaptTo(Class)
method on each Resource. - MergingIterator<T> - Class in org.apache.sling.query.impl.iterator
- MergingIterator(Iterator<T>...) - Constructor for class org.apache.sling.query.impl.iterator.MergingIterator
- Modifier - Class in org.apache.sling.query.impl.selector.parser
- Modifier(String, String) - Constructor for class org.apache.sling.query.impl.selector.parser.Modifier
- MODIFIER - org.apache.sling.query.impl.selector.parser.State
- MODIFIER_ARGUMENT - org.apache.sling.query.impl.selector.parser.State
N
- NAME - org.apache.sling.query.impl.selector.parser.State
- next() - Method in class org.apache.sling.query.AbstractQuery
-
Return the next sibling for each Resource in the collection.
- next() - Method in class org.apache.sling.query.impl.iterator.AbstractIterator
- next() - Method in class org.apache.sling.query.impl.iterator.AdaptToIterator
- next() - Method in class org.apache.sling.query.impl.iterator.ArgumentResettingIterator
- next() - Method in class org.apache.sling.query.impl.iterator.OptionDecoratingIterator
- next() - Method in class org.apache.sling.query.impl.iterator.OptionStrippingIterator
- next(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return the next sibling for each Resource in the collection and filter it by a selector.
- next(String) - Method in class org.apache.sling.query.AbstractQuery
-
Return the next sibling for each Resource in the collection and filter it by a selector.
- next(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return the next sibling for each Resource in the collection and filter it by a selector.
- NEXT - org.apache.sling.query.impl.iterator.SiblingsIterator.Type
- NEXT_ADJACENT - org.apache.sling.query.impl.selector.HierarchyOperator
- NEXT_SIBLINGS - org.apache.sling.query.impl.selector.HierarchyOperator
- nextAll() - Method in class org.apache.sling.query.AbstractQuery
-
Return all following siblings for each Resource in the collection.
- nextAll(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return all following siblings for each Resource in the collection, filtering them by a selector.
- nextAll(String) - Method in class org.apache.sling.query.AbstractQuery
-
Return all following siblings for each Resource in the collection, filtering them by a selector.
- nextAll(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return all following siblings for each Resource in the collection, filtering them by a selector.
- NextFunction<T> - Class in org.apache.sling.query.impl.function
- NextFunction(Predicate<T>, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.NextFunction
- NextFunction(TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.NextFunction
- nextUntil(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return all following siblings for each Resource in the collection up to, but not including, Resource matched by a selector.
- nextUntil(String) - Method in class org.apache.sling.query.AbstractQuery
-
Return all following siblings for each Resource in the collection up to, but not including, Resource matched by a selector.
- nextUntil(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return all following siblings for each Resource in the collection up to, but not including, Resource matched by a selector.
- NOOP - org.apache.sling.query.impl.selector.HierarchyOperator
- not(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Remove elements from the collection.
- not(String) - Method in class org.apache.sling.query.AbstractQuery
-
Remove elements from the collection.
- not(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Remove elements from the collection.
- NOT - org.apache.sling.query.impl.selector.FunctionType
- NOT_EQUAL - org.apache.sling.query.impl.predicate.SelectorOperator
- NOT_EQUAL - org.apache.sling.query.impl.resource.jcr.JcrOperator
- NotFunction<T> - Class in org.apache.sling.query.impl.function
- NotFunction(IteratorToIteratorFunction<T>) - Constructor for class org.apache.sling.query.impl.function.NotFunction
O
- ODD - org.apache.sling.query.impl.selector.FunctionType
- OptionDecoratingIterator<T> - Class in org.apache.sling.query.impl.iterator
- OptionDecoratingIterator(Iterator<T>) - Constructor for class org.apache.sling.query.impl.iterator.OptionDecoratingIterator
- OptionStrippingIterator<T> - Class in org.apache.sling.query.impl.iterator
- OptionStrippingIterator(Iterator<Option<T>>) - Constructor for class org.apache.sling.query.impl.iterator.OptionStrippingIterator
- OR - org.apache.sling.query.impl.resource.jcr.query.Formula.Operator
- org.apache.sling.query - package org.apache.sling.query
- org.apache.sling.query.api - package org.apache.sling.query.api
- org.apache.sling.query.impl.function - package org.apache.sling.query.impl.function
- org.apache.sling.query.impl.iterator - package org.apache.sling.query.impl.iterator
- org.apache.sling.query.impl.iterator.tree - package org.apache.sling.query.impl.iterator.tree
- org.apache.sling.query.impl.predicate - package org.apache.sling.query.impl.predicate
- org.apache.sling.query.impl.resource - package org.apache.sling.query.impl.resource
- org.apache.sling.query.impl.resource.jcr - package org.apache.sling.query.impl.resource.jcr
- org.apache.sling.query.impl.resource.jcr.query - package org.apache.sling.query.impl.resource.jcr.query
- org.apache.sling.query.impl.selector - package org.apache.sling.query.impl.selector
- org.apache.sling.query.impl.selector.parser - package org.apache.sling.query.impl.selector.parser
- org.apache.sling.query.impl.util - package org.apache.sling.query.impl.util
P
- parent() - Method in class org.apache.sling.query.AbstractQuery
-
Replace each element in the collection with its parent.
- PARENT - org.apache.sling.query.impl.selector.FunctionType
- ParentFunction<T> - Class in org.apache.sling.query.impl.function
- ParentFunction(TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.ParentFunction
- ParentPredicate<T> - Class in org.apache.sling.query.impl.predicate
- ParentPredicate(TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.predicate.ParentPredicate
- parents() - Method in class org.apache.sling.query.AbstractQuery
-
For each element in the collection find its all ancestor.
- parents(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
For each element in the collection find its all ancestor, filtered by a selector.
- parents(String) - Method in class org.apache.sling.query.AbstractQuery
-
For each element in the collection find its all ancestor, filtered by a selector.
- parents(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
For each element in the collection find its all ancestor, filtered by a selector.
- ParentsFunction<T> - Class in org.apache.sling.query.impl.function
- ParentsFunction(Predicate<T>, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.ParentsFunction
- ParentsIterator<T> - Class in org.apache.sling.query.impl.iterator
- ParentsIterator(Predicate<T>, T, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.iterator.ParentsIterator
- parentsUntil(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
For each element in the collection find all of its ancestors until the predicate is met.
- parentsUntil(String) - Method in class org.apache.sling.query.AbstractQuery
-
For each element in the collection find all of its ancestors until the predicate is met.
- parentsUntil(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
For each element in the collection find all of its ancestors until the predicate is met.
- parse(String) - Static method in class org.apache.sling.query.impl.selector.parser.SelectorParser
- ParserContext - Class in org.apache.sling.query.impl.selector.parser
- ParserContext() - Constructor for class org.apache.sling.query.impl.selector.parser.ParserContext
- prev() - Method in class org.apache.sling.query.AbstractQuery
-
Return the previous sibling for each Resource in the collection.
- prev(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return the previous sibling for each Resource in the collection and filter it by a selector.
- prev(String) - Method in class org.apache.sling.query.AbstractQuery
-
Return the previous sibling for each Resource in the collection and filter it by a selector.
- prev(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return the previous sibling for each Resource in the collection and filter it by a selector.
- PREV - org.apache.sling.query.impl.iterator.SiblingsIterator.Type
- prevAll() - Method in class org.apache.sling.query.AbstractQuery
-
Return all previous siblings for each Resource in the collection.
- prevAll(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return all previous siblings for each Resource in the collection, filtering them by a selector.
- prevAll(String) - Method in class org.apache.sling.query.AbstractQuery
-
Return all previous siblings for each Resource in the collection, filtering them by a selector.
- prevAll(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return all previous siblings for each Resource in the collection, filtering them by a selector.
- PrevFunction<T> - Class in org.apache.sling.query.impl.function
- PrevFunction(Predicate<T>, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.PrevFunction
- PrevFunction(TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.PrevFunction
- prevUntil(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return all previous siblings for each Resource in the collection up to, but not including, Resource matched by a selector.
- prevUntil(String) - Method in class org.apache.sling.query.AbstractQuery
-
Return all previous siblings for each Resource in the collection up to, but not including, Resource matched by a selector.
- prevUntil(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return all previous siblings for each Resource in the collection up to, but not including, Resource matched by a selector.
- process(ParserContext, char) - Method in enum org.apache.sling.query.impl.selector.parser.State
Q
- query(List<SelectorSegment>, Resource) - Method in class org.apache.sling.query.impl.resource.ResourceTreeProvider
- QUERY - org.apache.sling.query.api.SearchStrategy
R
- RejectingPredicate<T> - Class in org.apache.sling.query.impl.predicate
- RejectingPredicate() - Constructor for class org.apache.sling.query.impl.predicate.RejectingPredicate
- RejectingPredicate(Predicate<T>) - Constructor for class org.apache.sling.query.impl.predicate.RejectingPredicate
- remove() - Method in class org.apache.sling.query.impl.iterator.AbstractIterator
- remove() - Method in class org.apache.sling.query.impl.iterator.AdaptToIterator
- remove() - Method in class org.apache.sling.query.impl.iterator.ArgumentResettingIterator
- remove() - Method in class org.apache.sling.query.impl.iterator.OptionDecoratingIterator
- remove() - Method in class org.apache.sling.query.impl.iterator.OptionStrippingIterator
- remove(int) - Method in class org.apache.sling.query.impl.util.LazyList
- remove(Object) - Method in class org.apache.sling.query.impl.util.LazyList
- removeAll(Collection<?>) - Method in class org.apache.sling.query.impl.util.LazyList
- ResourcePredicate - Class in org.apache.sling.query.impl.resource
- ResourcePredicate(String, String, List<Attribute>, JcrTypeResolver) - Constructor for class org.apache.sling.query.impl.resource.ResourcePredicate
- ResourcePropertyPredicate - Class in org.apache.sling.query.impl.resource
- ResourcePropertyPredicate(Attribute) - Constructor for class org.apache.sling.query.impl.resource.ResourcePropertyPredicate
- ResourceTreeProvider - Class in org.apache.sling.query.impl.resource
- ResourceTreeProvider(ResourceResolver) - Constructor for class org.apache.sling.query.impl.resource.ResourceTreeProvider
- retainAll(Collection<?>) - Method in class org.apache.sling.query.impl.util.LazyList
- ReverseIterator<T> - Class in org.apache.sling.query.impl.iterator
- ReverseIterator(IteratorToIteratorFunction<T>, Iterator<Option<T>>) - Constructor for class org.apache.sling.query.impl.iterator.ReverseIterator
S
- sameElement(Resource, Resource) - Method in class org.apache.sling.query.impl.resource.ResourceTreeProvider
- searchStrategy(SearchStrategy) - Method in class org.apache.sling.query.AbstractQuery
-
Set new search strategy, which will be used in
AbstractQuery.find()
andAbstractQuery.has(String)
functions. - SearchStrategy - Enum in org.apache.sling.query.api
- Selector - Class in org.apache.sling.query.impl.selector.parser
- Selector() - Constructor for class org.apache.sling.query.impl.selector.parser.Selector
- Selector(List<SelectorSegment>) - Constructor for class org.apache.sling.query.impl.selector.parser.Selector
- SelectorFunction<T> - Class in org.apache.sling.query.impl.selector
- SelectorFunction(String, TreeProvider<T>, SearchStrategy) - Constructor for class org.apache.sling.query.impl.selector.SelectorFunction
- SelectorOperator - Enum in org.apache.sling.query.impl.predicate
- SelectorParser - Class in org.apache.sling.query.impl.selector.parser
- SelectorSegment - Class in org.apache.sling.query.impl.selector.parser
- SelectorSegment(ParserContext, boolean) - Constructor for class org.apache.sling.query.impl.selector.parser.SelectorSegment
- SessionJcrTypeResolver - Class in org.apache.sling.query.impl.resource.jcr
- SessionJcrTypeResolver(ResourceResolver) - Constructor for class org.apache.sling.query.impl.resource.jcr.SessionJcrTypeResolver
- set(int, E) - Method in class org.apache.sling.query.impl.util.LazyList
- siblings() - Method in class org.apache.sling.query.AbstractQuery
-
Return siblings for the given Ts.
- siblings(Iterable<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return siblings for the given Resources filtered by a selector.
- siblings(String) - Method in class org.apache.sling.query.AbstractQuery
-
Return siblings for the given Resources filtered by a selector.
- siblings(Predicate<T>) - Method in class org.apache.sling.query.AbstractQuery
-
Return siblings for the given Resources filtered by a selector.
- SiblingsFunction<T> - Class in org.apache.sling.query.impl.function
- SiblingsFunction(TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.function.SiblingsFunction
- SiblingsIterator<T> - Class in org.apache.sling.query.impl.iterator
- SiblingsIterator(Predicate<T>, T, SiblingsIterator.Type, TreeProvider<T>) - Constructor for class org.apache.sling.query.impl.iterator.SiblingsIterator
- SiblingsIterator.Type - Enum in org.apache.sling.query.impl.iterator
- singleElementIterator(T) - Static method in class org.apache.sling.query.impl.util.IteratorUtils
- size() - Method in class org.apache.sling.query.impl.util.LazyList
- slice(int) - Method in class org.apache.sling.query.AbstractQuery
-
Filter out first
from
Resources from the collection. - slice(int, int) - Method in class org.apache.sling.query.AbstractQuery
-
Reduce the collection to a subcollection specified by a given range.
- SliceFunction<T> - Class in org.apache.sling.query.impl.function
- SliceFunction(int) - Constructor for class org.apache.sling.query.impl.function.SliceFunction
- SliceFunction(int, int) - Constructor for class org.apache.sling.query.impl.function.SliceFunction
- SliceIterator<T> - Class in org.apache.sling.query.impl.iterator
- SliceIterator(Iterator<Option<T>>, int) - Constructor for class org.apache.sling.query.impl.iterator.SliceIterator
- SliceIterator(Iterator<Option<T>>, int, int) - Constructor for class org.apache.sling.query.impl.iterator.SliceIterator
- SlingQuery - Class in org.apache.sling.query
-
SlingQuery is a Sling resource tree traversal tool inspired by the jQuery.
- START - org.apache.sling.query.impl.selector.parser.State
- STARTS_WITH - org.apache.sling.query.impl.predicate.SelectorOperator
- STARTS_WITH - org.apache.sling.query.impl.resource.jcr.JcrOperator
- State - Enum in org.apache.sling.query.impl.selector.parser
- stream() - Method in class org.apache.sling.query.AbstractQuery
- subList(int, int) - Method in class org.apache.sling.query.impl.util.LazyList
- SuppIterator<T> - Class in org.apache.sling.query.impl.iterator
-
This iterator returns all elements of the input list which are mapped to non-empty values by the input function.
- SuppIterator(List<Option<T>>, IteratorToIteratorFunction<T>) - Constructor for class org.apache.sling.query.impl.iterator.SuppIterator
T
- Term - Interface in org.apache.sling.query.impl.resource.jcr.query
- test(Resource) - Method in class org.apache.sling.query.impl.resource.ResourcePredicate
- test(Resource) - Method in class org.apache.sling.query.impl.resource.ResourcePropertyPredicate
- test(T) - Method in class org.apache.sling.query.impl.predicate.IterableContainsPredicate
- test(T) - Method in class org.apache.sling.query.impl.predicate.ParentPredicate
- test(T) - Method in class org.apache.sling.query.impl.predicate.RejectingPredicate
- test(T) - Method in class org.apache.sling.query.impl.selector.SelectorFunction
- toArray() - Method in class org.apache.sling.query.impl.util.LazyList
- toArray(T[]) - Method in class org.apache.sling.query.impl.util.LazyList
- toString() - Method in class org.apache.sling.query.AbstractQuery
- toString() - Method in class org.apache.sling.query.impl.selector.parser.Attribute
- toString() - Method in class org.apache.sling.query.impl.selector.parser.Modifier
- toString() - Method in class org.apache.sling.query.impl.selector.parser.SelectorSegment
- toString() - Method in class org.apache.sling.query.SlingQuery
- TYPE - org.apache.sling.query.impl.selector.parser.State
- TYPE_WITH_SLASHES - org.apache.sling.query.impl.selector.parser.State
U
- unique() - Method in class org.apache.sling.query.AbstractQuery
-
Filter out repeated resources.
- UniqueFunction<T> - Class in org.apache.sling.query.impl.function
- UniqueFunction() - Constructor for class org.apache.sling.query.impl.function.UniqueFunction
- UniqueIterator<T> - Class in org.apache.sling.query.impl.iterator
-
Provides an iteration of unique objects.
- UniqueIterator(Iterator<Option<T>>) - Constructor for class org.apache.sling.query.impl.iterator.UniqueIterator
V
- valueOf(String) - Static method in enum org.apache.sling.query.api.SearchStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.query.impl.iterator.SiblingsIterator.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.query.impl.predicate.SelectorOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.query.impl.resource.jcr.JcrOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.query.impl.resource.jcr.query.Formula.Operator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.query.impl.selector.FunctionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.query.impl.selector.HierarchyOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.query.impl.selector.parser.State
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.sling.query.api.SearchStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.query.impl.iterator.SiblingsIterator.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.query.impl.predicate.SelectorOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.query.impl.resource.jcr.JcrOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.query.impl.resource.jcr.query.Formula.Operator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.query.impl.selector.FunctionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.query.impl.selector.HierarchyOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.query.impl.selector.parser.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WarningIterator<T> - Class in org.apache.sling.query.impl.iterator
- WarningIterator(Iterator<T>) - Constructor for class org.apache.sling.query.impl.iterator.WarningIterator
- WarningIterator(Iterator<T>, int) - Constructor for class org.apache.sling.query.impl.iterator.WarningIterator
All Classes All Packages