Class NestedScope
java.lang.Object
org.elasticsearch.index.query.support.NestedScope
During query parsing this keeps track of the current nested level.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnextLevel(ObjectMapper level)
Sets the new current nested level and pushes old current nested level down the stack returns that level.Sets the previous nested level as current nested level and removes and returns the current nested level.
-
Constructor Details
-
NestedScope
public NestedScope()
-
-
Method Details
-
getObjectMapper
- Returns:
- For the current nested level returns the object mapper that belongs to that
-
nextLevel
Sets the new current nested level and pushes old current nested level down the stack returns that level. -
previousLevel
Sets the previous nested level as current nested level and removes and returns the current nested level.
-