Search in sources :

Example 1 with CQElement

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);
}
Also used : SecondaryIdQuery(com.bakdata.conquery.apiv1.query.SecondaryIdQuery) SecondaryIdDescription(com.bakdata.conquery.models.datasets.SecondaryIdDescription)

Aggregations

SecondaryIdQuery (com.bakdata.conquery.apiv1.query.SecondaryIdQuery)1 SecondaryIdDescription (com.bakdata.conquery.models.datasets.SecondaryIdDescription)1