本文整理了Java中org.molgenis.data.Query.in
方法的一些代码示例,展示了Query.in
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.in
方法的具体详情如下:
包路径:org.molgenis.data.Query
类名称:Query
方法名:in
暂无
代码示例来源:origin: org.molgenis/molgenis-data-index
private IndexDependencyModel createIndexDependencyModel(Set<Impact> changes) {
Set<String> entityTypeIds = changes.stream().map(Impact::getEntityTypeId).collect(toSet());
boolean hasReferences =
dataService.query(ATTRIBUTE_META_DATA).in(REF_ENTITY_TYPE, entityTypeIds).count() > 0;
if (hasReferences) {
return new IndexDependencyModel(getEntityTypes());
} else {
return new IndexDependencyModel(emptyList());
}
}
代码示例来源:origin: org.molgenis/molgenis-omx-biobankconnect
new QueryImpl().in(ObservableFeature.DEFINITIONS, featureOfInterest.getDefinitions()).and()
.in(ObservableFeature.ID, candidateFeatureIds), ObservableFeature.class);
代码示例来源:origin: org.molgenis/molgenis-omx-biobankconnect
Iterable<ObservedValue> observedValueIterators = dataService.findAll(
ObservedValue.ENTITY_NAME,
new QueryImpl().and().in(ObservedValue.FEATURE, featureIterators).and()
.in(ObservedValue.OBSERVATIONSET, observationSets), ObservedValue.class);
代码示例来源:origin: org.molgenis/molgenis-data-validation
if (dataService
.query(refEntityType.getId())
.in(
refEntityType.getIdAttribute().getName(),
StreamSupport.stream(refEntitiesValue.spliterator(), false)
内容来源于网络,如有侵权,请联系作者删除!