use of io.lumeer.storage.mongodb.model.MorphiaView in project engine by Lumeer.
the class MorphiaViewDao method getViews.
@Override
public List<View> getViews(final SuggestionQuery query) {
Query<MorphiaView> viewQuery = createViewSuggestionQuery(query);
FindOptions findOptions = createFindOptions(query);
return new ArrayList<>(viewQuery.asList(findOptions));
}
use of io.lumeer.storage.mongodb.model.MorphiaView in project engine by Lumeer.
the class MorphiaViewDao method getViews.
public List<View> getViews(SearchQuery query) {
Query<MorphiaView> viewQuery = createViewSearchQuery(query);
FindOptions findOptions = createFindOptions(query);
return new ArrayList<>(viewQuery.asList(findOptions));
}
Aggregations