package tech.easyflow.datacenter.execution.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.row.Row;
import tech.easyflow.datacenter.execution.model.DatacenterQueryRequest;
import tech.easyflow.datacenter.execution.model.DatacenterSchemaResponse;
import tech.easyflow.datacenter.execution.model.DatacenterSqlQueryRequest;
import tech.easyflow.datacenter.execution.model.DatasetRef;

import java.util.List;

public interface DatacenterDatasetQueryService {
    Page<Row> queryPage(DatacenterQueryRequest request);

    List<Row> queryBySql(DatacenterSqlQueryRequest request);

    DatacenterSchemaResponse getSchema(DatasetRef datasetRef);
}
