@Override public G map(GradoopId graphId) throws Exception { G graphHead = graphHeadFactory .createGraphHead(BusinessTransactionGraphs.BTG_LABEL); graphHead.setId(graphId); return graphHead; }
@Override public G map(GradoopId graphId) throws Exception { G graphHead = graphHeadFactory .createGraphHead(BusinessTransactionGraphs.BTG_LABEL); graphHead.setId(graphId); return graphHead; }
@Override public Tuple2<GE, GraphHead> map(GE value) throws Exception { reuseVariableMapping.clear(); reuseVariableMapping.put( PropertyValue.create(this.variable), PropertyValue.create(value.getId()) ); GraphHead graphHead = graphHeadFactory.createGraphHead(); graphHead.setProperty(PatternMatching.VARIABLE_MAPPING_KEY, reuseVariableMapping); value.addGraphId(graphHead.getId()); reuseTuple.f0 = value; reuseTuple.f1 = graphHead; return reuseTuple; } }
@Override public Tuple2<GE, GraphHead> map(GE value) throws Exception { reuseVariableMapping.clear(); reuseVariableMapping.put( PropertyValue.create(this.variable), PropertyValue.create(value.getId()) ); GraphHead graphHead = graphHeadFactory.createGraphHead(); graphHead.setProperty(PatternMatching.VARIABLE_MAPPING_KEY, reuseVariableMapping); value.addGraphId(graphHead.getId()); reuseTuple.f0 = value; reuseTuple.f1 = graphHead; return reuseTuple; } }
.createGraphHead(canonicalLabel, properties);
.createGraphHead(canonicalLabel, properties);
GraphHead graphHead = graphHeadFactory.createGraphHead();
GraphHead graphHead = graphHeadFactory.createGraphHead();
GraphHead graphHead = graphHeadFactory.createGraphHead();
GraphHead graphHead = graphHeadFactory.createGraphHead();