Package com.blazebit.query.spi
Interface ProjectableDataFetcher<T>
- Type Parameters:
T
- The schema object type
- All Superinterfaces:
DataFetcher<T>
An object to fetch schema object data.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionfetch
(DataFetchContext context, int[][] projection) Returns freshly fetched data for a schema object.Methods inherited from interface com.blazebit.query.spi.DataFetcher
fetch, getDataFormat
-
Method Details
-
fetch
Returns freshly fetched data for a schema object.- Parameters:
context
- The data fetching contextprojection
- The fields that should be projected- Returns:
- the fetched data
- Throws:
DataFetcherException
- when an exception occurs during data fetching
-