Class NestedScope


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

    • NestedScope

      public NestedScope()
  • Method Details

    • getObjectMapper

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

      public NestedObjectMapper nextLevel(NestedObjectMapper 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.