All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blazebit.query.spi.ProjectableDataFetcher Maven / Gradle / Ivy

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