use of com.bakdata.conquery.apiv1.query.CQElement in project conquery by bakdata.
the class StoredQueriesProcessorTest method mockManagedSecondaryIdQueryFrontEnd.
private static ManagedQuery mockManagedSecondaryIdQueryFrontEnd(User user, ManagedExecutionId id, ExecutionState execState, CQElement root, Dataset dataset) {
final SecondaryIdQuery sid = new SecondaryIdQuery();
sid.setSecondaryId(new SecondaryIdDescription() {
{
setDataset(DATASET_0);
setName("sid");
}
});
sid.setRoot(root);
return mockManagedQuery(sid, user, id, execState, dataset);
}
Aggregations