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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bson.BsonInt64parseLiteral(Object AST)org.bson.BsonInt64parseValue(Object input)org.bson.BsonInt64Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface graphql.schema.Coercing
parseLiteral
-
Constructor Details
-
GraphQLBsonInt64Coercing
public GraphQLBsonInt64Coercing()
-
-
Method Details
-
serialize
public org.bson.BsonInt64 serialize(Object dataFetcherResult) throws graphql.schema.CoercingSerializeException- Specified by:
serializein interfacegraphql.schema.Coercing<org.bson.BsonInt64,org.bson.BsonInt64>- Throws:
graphql.schema.CoercingSerializeException
-
parseValue
- Specified by:
parseValuein interfacegraphql.schema.Coercing<org.bson.BsonInt64,org.bson.BsonInt64>
-
parseLiteral
- Specified by:
parseLiteralin interfacegraphql.schema.Coercing<org.bson.BsonInt64,org.bson.BsonInt64>
-