
com.blazebit.query.spi.DataFetcher 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 DataFetcher {
/**
* Returns the data format of the fetched data.
*
* @return the data format of the fetched data
*/
DataFormat getDataFormat();
/**
* Returns freshly fetched data for a schema object.
*
* @param context The data fetching context
* @return the fetched data
* @throws DataFetcherException when an exception occurs during data fetching
*/
List fetch(DataFetchContext context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy