Package org.apache.unomi.graphql.scalars
Class JSONFunction
java.lang.Object
org.apache.unomi.graphql.scalars.JSONFunction
- All Implemented Interfaces:
graphql.annotations.processor.typeFunctions.TypeFunction
public class JSONFunction
extends Object
implements graphql.annotations.processor.typeFunctions.TypeFunction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongraphql.schema.GraphQLTypebuildType(boolean input, Class<?> aClass, AnnotatedType annotatedType, graphql.annotations.processor.ProcessingElementsContainer container) booleancanBuildType(Class<?> aClass, AnnotatedType annotatedType) getTypeName(Class<?> aClass, AnnotatedType annotatedType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface graphql.annotations.processor.typeFunctions.TypeFunction
buildType
-
Field Details
-
JSON_SCALAR
public static final graphql.scalars.object.JsonScalar JSON_SCALAR
-
-
Constructor Details
-
JSONFunction
public JSONFunction()
-
-
Method Details
-
getTypeName
- Specified by:
getTypeNamein interfacegraphql.annotations.processor.typeFunctions.TypeFunction
-
canBuildType
- Specified by:
canBuildTypein interfacegraphql.annotations.processor.typeFunctions.TypeFunction
-
buildType
public graphql.schema.GraphQLType buildType(boolean input, Class<?> aClass, AnnotatedType annotatedType, graphql.annotations.processor.ProcessingElementsContainer container) - Specified by:
buildTypein interfacegraphql.annotations.processor.typeFunctions.TypeFunction
-