Class GlobalDatasParser

    • Field Detail

      • DEFAULT_LIMIT_REQUEST

        public static final int DEFAULT_LIMIT_REQUEST
        Default limit for Request (sanity check)
        See Also:
        Constant Field Values
      • limitRequest

        public static int limitRequest
        Default limit for Request (sanity check)
      • NB_ACTIONS

        public static final int NB_ACTIONS
        Default limit for number of projections
        See Also:
        Constant Field Values
      • DEFAULT_SCROLL_TIMEOUT

        public static final int DEFAULT_SCROLL_TIMEOUT
        default limit scroll timeout
        See Also:
        Constant Field Values
    • Constructor Detail

      • GlobalDatasParser

        protected GlobalDatasParser()
    • Method Detail

      • getJsonNodedepth

        public static final int getJsonNodedepth​(com.fasterxml.jackson.databind.JsonNode jsonNode)
        calculate JsonNode depth
        Parameters:
        jsonNode - JsonNode
        Returns:
        number of child of JsonNode
      • getArray

        public static final com.fasterxml.jackson.databind.node.ArrayNode getArray​(com.fasterxml.jackson.databind.JsonNode value)
                                                                            throws InvalidParseOperationException
        Parameters:
        value -
        Returns:
        the ArrayNode for value
        Throws:
        InvalidParseOperationException - if value could not parse to JSON