Class SQLQueryDataFetcher
java.lang.Object
io.github.qubitpi.athena.example.books.application.SQLQueryDataFetcher
- All Implemented Interfaces:
graphql.schema.DataFetcher<MetaData>
SQLQueryDataFetcher
fetches file meta data from a SQL data storage via a DataSource
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SQLQueryDataFetcher
Constructor.- Parameters:
dataSource
- a client object against a SQL database to fetch meta data from- Throws:
NullPointerException
- ifdataSource
isnull
-
-
Method Details