public class ScalarInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<GraphQLScalarType> |
GRAPHQL_SPECIFICATION_SCALARS
A list of the built-in scalar types as defined by the graphql specification
|
static java.util.Map<java.lang.String,ScalarTypeDefinition> |
STANDARD_SCALAR_DEFINITIONS
A map of scalar type definitions provided by graphql-java
|
static java.util.List<GraphQLScalarType> |
STANDARD_SCALARS
A list of the scalar types provided by graphql-java
|
| Constructor and Description |
|---|
ScalarInfo() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isGraphqlSpecifiedScalar(GraphQLScalarType scalarType)
Returns true if the scalar type is a scalar that is specified by the graphql specification
|
static boolean |
isGraphqlSpecifiedScalar(java.lang.String scalarTypeName)
Returns true if the scalar type is a scalar that is specified by the graphql specification
|
static boolean |
isStandardScalar(GraphQLScalarType scalarType)
Returns true if the scalar type is a standard one provided by graphql-java
|
static boolean |
isStandardScalar(java.lang.String scalarTypeName)
Returns true if the scalar type is a standard one provided by graphql-java
|
public static final java.util.List<GraphQLScalarType> STANDARD_SCALARS
public static final java.util.List<GraphQLScalarType> GRAPHQL_SPECIFICATION_SCALARS
public static final java.util.Map<java.lang.String,ScalarTypeDefinition> STANDARD_SCALAR_DEFINITIONS
public static boolean isStandardScalar(GraphQLScalarType scalarType)
scalarType - the type in questionpublic static boolean isStandardScalar(java.lang.String scalarTypeName)
scalarTypeName - the name of the scalar type in questionpublic static boolean isGraphqlSpecifiedScalar(java.lang.String scalarTypeName)
scalarTypeName - the name of the scalar type in questionpublic static boolean isGraphqlSpecifiedScalar(GraphQLScalarType scalarType)
scalarType - the type in question