@PublicApi public class Scalars extends java.lang.Object
For more info see http://graphql.org/learn/schema/#scalar-types and more specifically http://facebook.github.io/graphql/#sec-Scalars
Modifier and Type | Field and Description |
---|---|
static GraphQLScalarType |
GraphQLBigDecimal
Deprecated.
The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with
the exact semantics. These will be removed in the future version and moved to another library.
|
static GraphQLScalarType |
GraphQLBigInteger
Deprecated.
The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with
the exact semantics. These will be removed in the future version and moved to another library.
|
static GraphQLScalarType |
GraphQLBoolean
This represents the "Boolean" type as defined in the graphql specification : http://facebook.github.io/graphql/#sec-Boolean
|
static GraphQLScalarType |
GraphQLByte
Deprecated.
The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with
the exact semantics. These will be removed in the future version and moved to another library.
|
static GraphQLScalarType |
GraphQLChar
Deprecated.
The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with
the exact semantics. These will be removed in the future version and moved to another library.
|
static GraphQLScalarType |
GraphQLFloat
This represents the "Float" type as defined in the graphql specification : http://facebook.github.io/graphql/#sec-Float
|
static GraphQLScalarType |
GraphQLID
This represents the "ID" type as defined in the graphql specification : http://facebook.github.io/graphql/#sec-ID
|
static GraphQLScalarType |
GraphQLInt
This represents the "Int" type as defined in the graphql specification : http://facebook.github.io/graphql/#sec-Int
|
static GraphQLScalarType |
GraphQLLong
Deprecated.
The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with
the exact semantics. These will be removed in the future version and moved to another library.
|
static GraphQLScalarType |
GraphQLShort
Deprecated.
The is a non standard scalar and is difficult for clients (such as browser and mobile code) to cope with
the exact semantics. These will be removed in the future version and moved to another library.
|
static GraphQLScalarType |
GraphQLString
This represents the "String" type as defined in the graphql specification : http://facebook.github.io/graphql/#sec-String
|
Constructor and Description |
---|
Scalars() |
public static final GraphQLScalarType GraphQLInt
The Int scalar type represents a signed 32‐bit numeric non‐fractional value.
public static final GraphQLScalarType GraphQLFloat
Note: The Float type in GraphQL is equivalent to Double in Java. (double precision IEEE 754)
public static final GraphQLScalarType GraphQLString
public static final GraphQLScalarType GraphQLBoolean
public static final GraphQLScalarType GraphQLID
The ID scalar type represents a unique identifier, often used to re-fetch an object or as the key for a cache. The ID type is serialized in the same way as a String; however, it is not intended to be human‐readable. While it is often numeric, it should always serialize as a String.
public static final GraphQLScalarType GraphQLLong
public static final GraphQLScalarType GraphQLShort
public static final GraphQLScalarType GraphQLByte
public static final GraphQLScalarType GraphQLBigInteger
public static final GraphQLScalarType GraphQLBigDecimal
public static final GraphQLScalarType GraphQLChar