Class GraphQLBsonDecimal128Coercing
java.lang.Object
org.restheart.graphql.scalars.bsonCoercing.GraphQLBsonDecimal128Coercing
- All Implemented Interfaces:
graphql.schema.Coercing<org.bson.BsonDecimal128,org.bson.types.Decimal128>
public class GraphQLBsonDecimal128Coercing
extends Object
implements graphql.schema.Coercing<org.bson.BsonDecimal128,org.bson.types.Decimal128>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bson.BsonDecimal128parseLiteral(Object input)org.bson.BsonDecimal128parseValue(Object input)org.bson.types.Decimal128Methods 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
-
GraphQLBsonDecimal128Coercing
public GraphQLBsonDecimal128Coercing()
-
-
Method Details
-
serialize
public org.bson.types.Decimal128 serialize(Object dataFetcherResult) throws graphql.schema.CoercingSerializeException- Specified by:
serializein interfacegraphql.schema.Coercing<org.bson.BsonDecimal128,org.bson.types.Decimal128>- Throws:
graphql.schema.CoercingSerializeException
-
parseValue
public org.bson.BsonDecimal128 parseValue(Object input) throws graphql.schema.CoercingParseValueException- Specified by:
parseValuein interfacegraphql.schema.Coercing<org.bson.BsonDecimal128,org.bson.types.Decimal128>- Throws:
graphql.schema.CoercingParseValueException
-
parseLiteral
public org.bson.BsonDecimal128 parseLiteral(Object input) throws graphql.schema.CoercingParseLiteralException- Specified by:
parseLiteralin interfacegraphql.schema.Coercing<org.bson.BsonDecimal128,org.bson.types.Decimal128>- Throws:
graphql.schema.CoercingParseLiteralException
-