Class CollectionCreator
java.lang.Object
io.smallrye.graphql.execution.datafetcher.CollectionCreator
Helping with creating collection instances
This gets the new collection when creating arguments to call the method.
We get a Collection from graph-ql java, and we go through all elements, potentially transforming them,
and then we need to create a new collection of the correct type to call the method via reflection.
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<?> newCollection(String className, int initialSize)
-
Constructor Details
-
CollectionCreator
public CollectionCreator()
-
-
Method Details
-
newCollection
-