Interface JmespathRuntime.ArrayBuilder<T>

All Known Implementing Classes:
ListArrayBuilder
Enclosing interface:
JmespathRuntime<T>

public static interface JmespathRuntime.ArrayBuilder<T>
A builder interface for new ARRAY values.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(T value)
    Adds the given value to the array being built.
    void
    addAll(T collection)
    If the given value is an ARRAY, adds all the elements of the array.
    Builds the new ARRAY value being built.
  • Method Details

    • add

      void add(T value)
      Adds the given value to the array being built.
    • addAll

      void addAll(T collection)
      If the given value is an ARRAY, adds all the elements of the array. If the given value is an OBJECT, adds all the keys of the object. Otherwise, throws a JmespathException of type INVALID_TYPE.
    • build

      T build()
      Builds the new ARRAY value being built.