org.vertexium.query.Query.search()方法的使用及代码示例

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

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

Query.search介绍

暂无

代码示例

代码示例来源:origin: org.visallo/visallo-core

protected QueryResultsIterable<? extends VertexiumObject> getSearchResults(QueryAndData queryAndData, EnumSet<FetchHint> fetchHints) {
  //noinspection unused
  try (TraceSpan trace = Trace.start("getSearchResults")) {
    return queryAndData.getQuery().search(getResultType(), fetchHints);
  }
}

代码示例来源:origin: org.vertexium/vertexium-test

.search();
assertResultsCount(2, 2, items);

代码示例来源:origin: visallo/vertexium

.search();
assertResultsCount(2, 2, items);

代码示例来源:origin: visallo/vertexium

.search();
assertEquals(1, searchResults.getTotalHits());
List<? extends VertexiumObject> searchResultsList = toList(searchResults);
    .search();
assertEquals(1, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
    .search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);

代码示例来源:origin: org.vertexium/vertexium-test

.has(dateColumnName, date1)
    .sort(dateColumnName, SortDirection.ASCENDING)
    .search();
assertEquals(1, searchResults.getTotalHits());
List<? extends VertexiumObject> searchResultsList = toList(searchResults);
    .search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
    .search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);

代码示例来源:origin: org.vertexium/vertexium-test

.search();
assertEquals(1, searchResults.getTotalHits());
List<? extends VertexiumObject> searchResultsList = toList(searchResults);
    .search();
assertEquals(1, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
    .search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);

代码示例来源:origin: visallo/vertexium

.has(dateColumnName, date1)
    .sort(dateColumnName, SortDirection.ASCENDING)
    .search();
assertEquals(1, searchResults.getTotalHits());
List<? extends VertexiumObject> searchResultsList = toList(searchResults);
    .search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);
    .search();
assertEquals(2, searchResults.getTotalHits());
searchResultsList = toList(searchResults);

代码示例来源:origin: visallo/vertexium

assertResultsCount(0, 0, results);
searchResults = graph.query(AUTHORIZATIONS_A).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(0, 0, searchResults);
assertResultsCount(0, 0, results);
searchResults = graph.query(AUTHORIZATIONS_B).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(0, 0, searchResults);
assertResultsCount(2, 2, results);
searchResults = graph.query(AUTHORIZATIONS_A_AND_B).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(2, 2, searchResults);

代码示例来源:origin: org.vertexium/vertexium-test

assertResultsCount(0, 0, results);
searchResults = graph.query(AUTHORIZATIONS_A).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(0, 0, searchResults);
assertResultsCount(0, 0, results);
searchResults = graph.query(AUTHORIZATIONS_B).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(0, 0, searchResults);
assertResultsCount(2, 2, results);
searchResults = graph.query(AUTHORIZATIONS_A_AND_B).hasExtendedData(ElementType.VERTEX, "v1").search();
assertResultsCount(2, 2, searchResults);

相关文章