Class NestedScope


  • public final class NestedScope
    extends java.lang.Object
    During query parsing this keeps track of the current nested level.
    • Constructor Detail

      • NestedScope

        public NestedScope()
    • Method Detail

      • getObjectMapper

        public ObjectMapper getObjectMapper()
        Returns:
        For the current nested level returns the object mapper that belongs to that
      • nextLevel

        public ObjectMapper nextLevel​(ObjectMapper level)
        Sets the new current nested level and pushes old current nested level down the stack returns that level.
      • previousLevel

        public ObjectMapper previousLevel()
        Sets the previous nested level as current nested level and removes and returns the current nested level.