org.molgenis.data.Query.in()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(111)

本文整理了Java中org.molgenis.data.Query.in方法的一些代码示例,展示了Query.in的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.in方法的具体详情如下:
包路径:org.molgenis.data.Query
类名称:Query
方法名:in

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)

相关文章