Class ByteFunction

    • Constructor Summary

      Constructors 
      Constructor Description
      ByteFunction()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      graphql.schema.GraphQLType buildType​(boolean input, java.lang.Class<?> aClass, java.lang.reflect.AnnotatedType annotatedType, ProcessingElementsContainer container)
      Build a GraphQLType object from a java type.
      boolean canBuildType​(java.lang.Class<?> aClass, java.lang.reflect.AnnotatedType annotatedType)
      Get whether this builder handles the given type.
      java.lang.String getTypeName​(java.lang.Class<?> aClass, java.lang.reflect.AnnotatedType annotatedType)
      Get the graphql type name that will be used to build the type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteFunction

        public ByteFunction()
    • Method Detail

      • canBuildType

        public boolean canBuildType​(java.lang.Class<?> aClass,
                                    java.lang.reflect.AnnotatedType annotatedType)
        Description copied from interface: TypeFunction
        Get whether this builder handles the given type.
        Specified by:
        canBuildType in interface TypeFunction
        Parameters:
        aClass - The java type to build the type name for
        annotatedType - The AnnotatedType of the java type, which may be a {link AnnotatedParameterizedType}
        Returns:
        True if this builder can build the type
      • buildType

        public graphql.schema.GraphQLType buildType​(boolean input,
                                                    java.lang.Class<?> aClass,
                                                    java.lang.reflect.AnnotatedType annotatedType,
                                                    ProcessingElementsContainer container)
        Description copied from interface: TypeFunction
        Build a GraphQLType object from a java type.
        Specified by:
        buildType in interface TypeFunction
        Parameters:
        input - is InputType
        aClass - The java type to build the type name for
        annotatedType - The AnnotatedType of the java type, which may be a {link AnnotatedParameterizedType}
        container - a class that hold several members that are required in order to build schema
        Returns:
        The built GraphQLType