@PublicApi public class IntrospectionResultToSchema extends java.lang.Object
| Constructor and Description |
|---|
IntrospectionResultToSchema() |
| Modifier and Type | Method and Description |
|---|---|
Document |
createSchemaDefinition(ExecutionResult introspectionResult)
Returns a IDL Document that represents the schema as defined by the introspection execution result
|
Document |
createSchemaDefinition(java.util.Map<java.lang.String,java.lang.Object> introspectionResult)
Returns a IDL Document that represents the schema as defined by the introspection result map
|
public Document createSchemaDefinition(ExecutionResult introspectionResult)
introspectionResult - the result of an introspection query on a schemapublic Document createSchemaDefinition(java.util.Map<java.lang.String,java.lang.Object> introspectionResult)
introspectionResult - the result of an introspection query on a schema