Class NumberCoercing
java.lang.Object
io.smallrye.graphql.scalar.number.NumberCoercing
- All Implemented Interfaces:
graphql.schema.Coercing
The Coercing used by numbers
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseLiteral(Object input) parseValue(Object input) graphql.language.Value<?> valueToLiteral(Object input) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface graphql.schema.Coercing
parseLiteral, parseLiteral, parseValue, serialize, valueToLiteral
-
Constructor Details
-
NumberCoercing
-
-
Method Details
-
serialize
- Specified by:
serializein interfacegraphql.schema.Coercing
-
parseValue
- Specified by:
parseValuein interfacegraphql.schema.Coercing
-
parseLiteral
- Specified by:
parseLiteralin interfacegraphql.schema.Coercing
-
valueToLiteral
- Specified by:
valueToLiteralin interfacegraphql.schema.Coercing
-