Class ConnectionDataFetcher<T>

  • All Implemented Interfaces:
    graphql.schema.DataFetcher<graphql.relay.Connection<T>>

    public class ConnectionDataFetcher<T>
    extends java.lang.Object
    implements graphql.schema.DataFetcher<graphql.relay.Connection<T>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      graphql.relay.Connection<T> get​(graphql.schema.DataFetchingEnvironment environment)  
      • Methods inherited from class java.lang.Object

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

      • ConnectionDataFetcher

        public ConnectionDataFetcher​(java.lang.Class<? extends ConnectionFetcher<T>> connection,
                                     graphql.schema.DataFetcher<?> actualDataFetcher)
    • Method Detail

      • get

        public graphql.relay.Connection<T> get​(graphql.schema.DataFetchingEnvironment environment)
                                        throws java.lang.Exception
        Specified by:
        get in interface graphql.schema.DataFetcher<T>
        Throws:
        java.lang.Exception