| Constructor and Description |
|---|
CompiledPath(RootPathToken root,
boolean isRootPath) |
| Modifier and Type | Method and Description |
|---|---|
EvaluationContext |
evaluate(Object document,
Object rootDocument,
Configuration configuration)
Evaluates this path
|
EvaluationContext |
evaluate(Object document,
Object rootDocument,
Configuration configuration,
boolean forUpdate)
Evaluates this path
|
boolean |
isDefinite() |
boolean |
isFunctionPath() |
boolean |
isRootPath() |
String |
toString() |
public CompiledPath(RootPathToken root, boolean isRootPath)
public boolean isRootPath()
isRootPath in interface Pathpublic EvaluationContext evaluate(Object document, Object rootDocument, Configuration configuration, boolean forUpdate)
Pathevaluate in interface Pathdocument - the json document to apply the path onrootDocument - the root json document that started this evaluationconfiguration - configuration to useforUpdate - is this a read or a write operationpublic EvaluationContext evaluate(Object document, Object rootDocument, Configuration configuration)
Pathpublic boolean isDefinite()
isDefinite in interface Pathpublic boolean isFunctionPath()
isFunctionPath in interface PathCopyright © 2016. All rights reserved.