Class IntCoercing

    • Constructor Detail

      • IntCoercing

        public IntCoercing​(String customScalarClass)
    • Method Detail

      • serialize

        public BigInteger serialize​(Object input)
                             throws graphql.schema.CoercingSerializeException
        Specified by:
        serialize in interface graphql.schema.Coercing<Object,​BigInteger>
        Throws:
        graphql.schema.CoercingSerializeException
      • parseValue

        public Object parseValue​(Object input)
                          throws graphql.schema.CoercingParseValueException
        Specified by:
        parseValue in interface graphql.schema.Coercing<Object,​BigInteger>
        Throws:
        graphql.schema.CoercingParseValueException
      • parseLiteral

        public Object parseLiteral​(Object input)
                            throws graphql.schema.CoercingParseLiteralException
        Specified by:
        parseLiteral in interface graphql.schema.Coercing<Object,​BigInteger>
        Throws:
        graphql.schema.CoercingParseLiteralException
      • valueToLiteral

        public graphql.language.Value<?> valueToLiteral​(Object input)
        Specified by:
        valueToLiteral in interface graphql.schema.Coercing<Object,​BigInteger>