Interface ProjectableDataFetcher<T>

Type Parameters:
T - The schema object type
All Superinterfaces:
DataFetcher<T>

public interface ProjectableDataFetcher<T> extends DataFetcher<T>
An object to fetch schema object data.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    fetch(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

      List<T> fetch(DataFetchContext context, int[][] projection)
      Returns freshly fetched data for a schema object.
      Parameters:
      context - The data fetching context
      projection - The fields that should be projected
      Returns:
      the fetched data
      Throws:
      DataFetcherException - when an exception occurs during data fetching