protected void saveTermExtractionResult(
     Vertex artifactGraphVertex, TermExtractionResult termExtractionResult) {
   List<TermMentionWithGraphVertex> termMentionsResults =
       saveTermMentions(artifactGraphVertex, termExtractionResult.getTermMentions());
   saveRelationships(termExtractionResult.getRelationships(), termMentionsResults);
   saveVertexRelationships(termExtractionResult.getVertexRelationships(), termMentionsResults);
 }
示例#2
0
 protected void saveTermExtractionResult(
     Vertex artifactGraphVertex,
     TermExtractionResult termExtractionResult,
     String workspaceId,
     String visibilitySource) {
   List<TermMentionWithGraphVertex> termMentionsResults =
       saveTermMentions(
           artifactGraphVertex,
           termExtractionResult.getTermMentions(),
           workspaceId,
           visibilitySource);
   saveRelationships(termExtractionResult.getRelationships(), termMentionsResults);
   saveVertexRelationships(termExtractionResult.getVertexRelationships(), termMentionsResults);
 }