public class SchemaBuilder extends Object
It starts scanning all queries and mutation, building the operations for those. The operation reference some types (via Reference) that should be created and added to the schema.
The creation of these type them self create more references to types (via Reference) that should be created and added to the scheme.
It does above recursively until there is no more things to create.
| Modifier and Type | Method and Description |
|---|---|
static Schema |
build(org.jboss.jandex.IndexView index)
This builds the Schema from Jandex
|
static Schema |
build(org.jboss.jandex.IndexView index,
TypeAutoNameStrategy autoNameStrategy)
This builds the Schema from Jandex
|
public static Schema build(org.jboss.jandex.IndexView index)
index - the Jandex indexpublic static Schema build(org.jboss.jandex.IndexView index, TypeAutoNameStrategy autoNameStrategy)
index - the Jandex indexautoNameStrategy - the naming strategyCopyright © 2018–2022. All rights reserved.