| Package | Description |
|---|---|
| net.morimekta.providence.graphql.gql |
| Modifier and Type | Interface and Description |
|---|---|
interface |
GQLFragment
A fragment is a piece of a field list representing a single
type as part of a struct, union, union list, interface list
etc.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GQLField
Representation of a field in the response JSON.
|
class |
GQLFragmentDefinition
A fragment definition, as part of the query.
|
class |
GQLFragmentReference
A reference to a fragment.
|
class |
GQLInlineFragment
An inline fragment, defining type-conditional field
in-place.
|
class |
GQLIntrospection
A introspection is very much like a 'normal' field, but
has special meaning to graphql.
|
class |
GQLMethodCall
Representation of a method call in an operation.
|
class |
GQLOperation
Representing a single GQL operation, which is either a query
or a mutation.
|
| Modifier and Type | Method and Description |
|---|---|
default List<GQLSelection> |
GQLSelection.getSelection(net.morimekta.providence.descriptor.PField<?> field)
Get all selection entries related to the given field.
|
List<GQLSelection> |
GQLOperation.getSelection(net.morimekta.providence.descriptor.PField<?> field) |
List<GQLSelection> |
GQLField.getSelectionSet() |
List<GQLSelection> |
GQLFragmentDefinition.getSelectionSet() |
List<GQLSelection> |
GQLFragment.getSelectionSet() |
List<GQLSelection> |
GQLSelection.getSelectionSet() |
List<GQLSelection> |
GQLInlineFragment.getSelectionSet() |
List<GQLSelection> |
GQLOperation.getSelectionSet() |
List<GQLSelection> |
GQLIntrospection.getSelectionSet() |
List<GQLSelection> |
GQLFragmentReference.getSelectionSet() |
List<GQLSelection> |
GQLMethodCall.getSelectionSet() |
| Constructor and Description |
|---|
GQLField(net.morimekta.providence.descriptor.PField field,
List<GQLSelection> selectionSet)
Make a simple field selection based on a message field.
|
GQLField(net.morimekta.providence.descriptor.PField field,
String alias,
net.morimekta.providence.PMessage<?> arguments,
List<GQLSelection> selectionSet)
Make a full field selection definition.
|
GQLFragmentDefinition(String name,
net.morimekta.providence.descriptor.PMessageDescriptor<?> descriptor,
List<GQLSelection> selectionSet) |
GQLInlineFragment(net.morimekta.providence.descriptor.PMessageDescriptor<?> descriptor,
List<GQLSelection> selectionSet)
Inline fragment with field set.
|
GQLIntrospection(GQLIntrospection.Field field,
String alias,
net.morimekta.providence.PMessage<?> arguments,
List<GQLSelection> selectionSet) |
GQLMethodCall(net.morimekta.providence.descriptor.PServiceMethod method,
String alias,
net.morimekta.providence.PMessage<?> arguments,
List<GQLSelection> selectionSet)
Make a full field selection definition.
|
GQLOperation(net.morimekta.providence.descriptor.PService service,
boolean mutation,
String name,
List<GQLSelection> selectionSet) |
Copyright © 2015–2020 morimekta.net. All rights reserved.