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