
com.blazebit.query.spi.ProjectableDataFetcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blaze-query-core-api Show documentation
Show all versions of blaze-query-core-api Show documentation
A multi-platform querying library
The newest version!
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright Blazebit
*/
package com.blazebit.query.spi;
import java.util.List;
/**
* An object to fetch schema object data.
*
* @param The schema object type
* @author Christian Beikov
* @since 1.0.0
*/
public interface ProjectableDataFetcher extends DataFetcher {
/**
* Returns freshly fetched data for a schema object.
*
* @param context The data fetching context
* @param projection The fields that should be projected
* @return the fetched data
* @throws DataFetcherException when an exception occurs during data fetching
*/
List fetch(DataFetchContext context, int[][] projection);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy