public interface Scoping
Step implementations that access labeled path steps, side-effects or
Map values by key, such as select('a') step. Note that a step like project() is non-scoping
because while it creates a Map it does not introspect them.| Modifier and Type | Interface and Description |
|---|---|
static class |
Scoping.Variable |
| Modifier and Type | Method and Description |
|---|---|
default <S> S |
getNullableScopeValue(Pop pop,
String key,
Traverser.Admin<?> traverser) |
Set<String> |
getScopeKeys()
Get the labels that this scoping step will access during the traversal
|
default <S> S |
getScopeValue(Pop pop,
String key,
Traverser.Admin<?> traverser) |
default <S> S getScopeValue(Pop pop, String key, Traverser.Admin<?> traverser) throws IllegalArgumentException
IllegalArgumentExceptiondefault <S> S getNullableScopeValue(Pop pop, String key, Traverser.Admin<?> traverser)
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.