| Modifier and Type | Field and Description |
|---|---|
private boolean |
isRootPath |
private static org.slf4j.Logger |
logger |
private RootPathToken |
root |
| Constructor and Description |
|---|
CompiledPath(RootPathToken root,
boolean isRootPath) |
| Modifier and Type | Method and Description |
|---|---|
EvaluationContext |
evaluate(java.lang.Object document,
java.lang.Object rootDocument,
Configuration configuration)
Evaluates this path
|
EvaluationContext |
evaluate(java.lang.Object document,
java.lang.Object rootDocument,
Configuration configuration,
boolean forUpdate)
Evaluates this path
|
boolean |
isDefinite() |
boolean |
isFunctionPath() |
boolean |
isRootPath() |
java.lang.String |
toString() |
private static final org.slf4j.Logger logger
private final RootPathToken root
private final boolean isRootPath
public CompiledPath(RootPathToken root, boolean isRootPath)
public boolean isRootPath()
isRootPath in interface Pathpublic EvaluationContext evaluate(java.lang.Object document, java.lang.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(java.lang.Object document, java.lang.Object rootDocument, Configuration configuration)
Pathpublic boolean isDefinite()
isDefinite in interface Pathpublic boolean isFunctionPath()
isFunctionPath in interface Pathpublic java.lang.String toString()
toString in class java.lang.Object