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 ObjectparseLiteral(Object input)ObjectparseValue(Object input)BigIntegerserialize(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:
serializein interfacegraphql.schema.Coercing<Object,BigInteger>- Throws:
graphql.schema.CoercingSerializeException
-
parseValue
public Object parseValue(Object input) throws graphql.schema.CoercingParseValueException
- Specified by:
parseValuein interfacegraphql.schema.Coercing<Object,BigInteger>- Throws:
graphql.schema.CoercingParseValueException
-
parseLiteral
public Object parseLiteral(Object input) throws graphql.schema.CoercingParseLiteralException
- Specified by:
parseLiteralin interfacegraphql.schema.Coercing<Object,BigInteger>- Throws:
graphql.schema.CoercingParseLiteralException
-
valueToLiteral
public graphql.language.Value<?> valueToLiteral(Object input)
- Specified by:
valueToLiteralin interfacegraphql.schema.Coercing<Object,BigInteger>
-
-