- All Implemented Interfaces:
graphql.schema.DataFetcher<CDPTopic>
public class TopicDataFetcher
extends Object
implements graphql.schema.DataFetcher<CDPTopic>
-
Constructor Summary
Constructors
-
Method Summary
get(graphql.schema.DataFetchingEnvironment environment)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TopicDataFetcher
public TopicDataFetcher(String topicId)
-
Method Details
-
get
public CDPTopic get(graphql.schema.DataFetchingEnvironment environment)
throws Exception
- Specified by:
get
in interface graphql.schema.DataFetcher<CDPTopic>
- Throws:
Exception