Class GraphQLBsonInt32Coercing
java.lang.Object
org.restheart.graphql.scalars.bsonCoercing.GraphQLBsonInt32Coercing
- All Implemented Interfaces:
graphql.schema.Coercing<org.bson.BsonInt32,org.bson.BsonInt32>
public class GraphQLBsonInt32Coercing
extends Object
implements graphql.schema.Coercing<org.bson.BsonInt32,org.bson.BsonInt32>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bson.BsonInt32parseLiteral(Object AST)org.bson.BsonInt32parseValue(Object input)org.bson.BsonInt32Methods 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
-
GraphQLBsonInt32Coercing
public GraphQLBsonInt32Coercing()
-
-
Method Details
-
serialize
public org.bson.BsonInt32 serialize(Object dataFetcherResult) throws graphql.schema.CoercingSerializeException- Specified by:
serializein interfacegraphql.schema.Coercing<org.bson.BsonInt32,org.bson.BsonInt32>- Throws:
graphql.schema.CoercingSerializeException
-
parseValue
- Specified by:
parseValuein interfacegraphql.schema.Coercing<org.bson.BsonInt32,org.bson.BsonInt32>
-
parseLiteral
- Specified by:
parseLiteralin interfacegraphql.schema.Coercing<org.bson.BsonInt32,org.bson.BsonInt32>
-