Class GraphQLBsonInt64Coercing

java.lang.Object
org.restheart.graphql.scalars.bsonCoercing.GraphQLBsonInt64Coercing
All Implemented Interfaces:
graphql.schema.Coercing<org.bson.BsonInt64,​org.bson.BsonInt64>

public class GraphQLBsonInt64Coercing extends Object implements graphql.schema.Coercing<org.bson.BsonInt64,​org.bson.BsonInt64>
  • Constructor Details

    • GraphQLBsonInt64Coercing

      public GraphQLBsonInt64Coercing()
  • Method Details

    • serialize

      public org.bson.BsonInt64 serialize(Object dataFetcherResult) throws graphql.schema.CoercingSerializeException
      Specified by:
      serialize in interface graphql.schema.Coercing<org.bson.BsonInt64,​org.bson.BsonInt64>
      Throws:
      graphql.schema.CoercingSerializeException
    • parseValue

      public org.bson.BsonInt64 parseValue(Object input)
      Specified by:
      parseValue in interface graphql.schema.Coercing<org.bson.BsonInt64,​org.bson.BsonInt64>
    • parseLiteral

      public org.bson.BsonInt64 parseLiteral(Object AST)
      Specified by:
      parseLiteral in interface graphql.schema.Coercing<org.bson.BsonInt64,​org.bson.BsonInt64>