Class ListArrayBuilder<T>
java.lang.Object
software.amazon.smithy.jmespath.evaluation.ListArrayBuilder<T>
- All Implemented Interfaces:
JmespathRuntime.ArrayBuilder<T>
A default implementation of
JmespathRuntime.ArrayBuilder.
using a List as the backing store.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ListArrayBuilder
-
-
Method Details
-
add
Description copied from interface:JmespathRuntime.ArrayBuilderAdds the given value to the array being built.- Specified by:
addin interfaceJmespathRuntime.ArrayBuilder<T>
-
addAll
Description copied from interface:JmespathRuntime.ArrayBuilderIf 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.- Specified by:
addAllin interfaceJmespathRuntime.ArrayBuilder<T>
-
build
Description copied from interface:JmespathRuntime.ArrayBuilderBuilds the new ARRAY value being built.- Specified by:
buildin interfaceJmespathRuntime.ArrayBuilder<T>
-