Class IntCoercing
- java.lang.Object
-
- io.smallrye.graphql.scalar.custom.IntCoercing
-
- All Implemented Interfaces:
graphql.schema.Coercing<Object,BigInteger>
public class IntCoercing extends Object implements graphql.schema.Coercing<Object,BigInteger>
-
-
Constructor Summary
Constructors Constructor Description IntCoercing(String customScalarClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
parseLiteral(Object input)
Object
parseValue(Object input)
BigInteger
serialize(Object input)
graphql.language.Value<?>
valueToLiteral(Object input)
-
-
-
Constructor Detail
-
IntCoercing
public IntCoercing(String customScalarClass)
-
-
Method Detail
-
serialize
public BigInteger serialize(Object input) throws graphql.schema.CoercingSerializeException
- Specified by:
serialize
in interfacegraphql.schema.Coercing<Object,BigInteger>
- Throws:
graphql.schema.CoercingSerializeException
-
parseValue
public Object parseValue(Object input) throws graphql.schema.CoercingParseValueException
- Specified by:
parseValue
in interfacegraphql.schema.Coercing<Object,BigInteger>
- Throws:
graphql.schema.CoercingParseValueException
-
parseLiteral
public Object parseLiteral(Object input) throws graphql.schema.CoercingParseLiteralException
- Specified by:
parseLiteral
in interfacegraphql.schema.Coercing<Object,BigInteger>
- Throws:
graphql.schema.CoercingParseLiteralException
-
valueToLiteral
public graphql.language.Value<?> valueToLiteral(Object input)
- Specified by:
valueToLiteral
in interfacegraphql.schema.Coercing<Object,BigInteger>
-
-