Package graphql.introspection
Class IntrospectionQueryBuilder
- java.lang.Object
-
- graphql.introspection.IntrospectionQueryBuilder
-
@PublicApi public class IntrospectionQueryBuilder extends java.lang.Object
IntrospectionQueryBuilder
allows you to build introspection queries controlled by the options you specify
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IntrospectionQueryBuilder.Options
-
Constructor Summary
Constructors Constructor Description IntrospectionQueryBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
build()
This will build a default introspection query inString
formstatic java.lang.String
build(IntrospectionQueryBuilder.Options options)
This will build an introspection query inString
form based on the options you providestatic Document
buildDocument(IntrospectionQueryBuilder.Options options)
This will build an introspection query inDocument
form
-
-
-
Method Detail
-
buildDocument
public static Document buildDocument(IntrospectionQueryBuilder.Options options)
This will build an introspection query inDocument
form- Parameters:
options
- the options to use- Returns:
- an introspection query in document form
-
build
public static java.lang.String build(IntrospectionQueryBuilder.Options options)
This will build an introspection query inString
form based on the options you provide- Parameters:
options
- the options to use- Returns:
- an introspection query in string form
-
build
public static java.lang.String build()
This will build a default introspection query inString
form- Returns:
- an introspection query in string form
-
-