public static FetchHintsBuilder builder() { return new FetchHintsBuilder(); }
public static FetchHintsBuilder builder(FetchHints fetchHints) { return new FetchHintsBuilder(fetchHints); }
public static FetchHintsBuilder builder() { return new FetchHintsBuilder(); }
public static FetchHintsBuilder builder(FetchHints fetchHints) { return new FetchHintsBuilder(fetchHints); }
@Override public Iterable<String> findRelatedEdgeIds(Iterable<String> vertexIds, Long endTime, Authorizations authorizations) { FetchHints fetchHints = new FetchHintsBuilder() .setIncludeOutEdgeRefs(true) .build(); return findRelatedEdgeIdsForVertices(getVertices(vertexIds, fetchHints, endTime, authorizations), authorizations); }
@Override public Iterable<RelatedEdge> findRelatedEdgeSummary(Iterable<String> vertexIds, Long endTime, Authorizations authorizations) { FetchHints fetchHints = new FetchHintsBuilder() .setIncludeOutEdgeRefs(true) .build(); return findRelatedEdgeSummaryForVertices(getVertices(vertexIds, fetchHints, endTime, authorizations), authorizations); }
@Override public Iterable<String> findRelatedEdgeIds(Iterable<String> vertexIds, Long endTime, Authorizations authorizations) { FetchHints fetchHints = new FetchHintsBuilder() .setIncludeOutEdgeRefs(true) .build(); return findRelatedEdgeIdsForVertices(getVertices(vertexIds, fetchHints, endTime, authorizations), authorizations); }
@Override public Iterable<RelatedEdge> findRelatedEdgeSummary(Iterable<String> vertexIds, Long endTime, Authorizations authorizations) { FetchHints fetchHints = new FetchHintsBuilder() .setIncludeOutEdgeRefs(true) .build(); return findRelatedEdgeSummaryForVertices(getVertices(vertexIds, fetchHints, endTime, authorizations), authorizations); }
graph.flush(); FetchHints fetchHints = new FetchHintsBuilder() .setPropertyNamesToInclude("propBmeta") .build(); assertEquals("value2", vertex.getProperty("propBmeta").getMetadata().getEntry("meta1").getValue()); fetchHints = new FetchHintsBuilder() .setPropertyNamesToInclude("propBmeta") .build();
graph.flush(); FetchHints fetchHints = new FetchHintsBuilder() .setPropertyNamesToInclude("propBmeta") .build(); assertEquals("value2", vertex.getProperty("propBmeta").getMetadata().getEntry("meta1").getValue()); fetchHints = new FetchHintsBuilder() .setPropertyNamesToInclude("propBmeta") .build();