/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMVertexFactory<Vertex> getVertexFactory() { return config.getVertexFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMEdgeFactory<Edge> getEdgeFactory() { return config.getEdgeFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMGraphHeadFactory<GraphHead> getGraphHeadFactory() { return config.getGraphHeadFactory(); }
/** * Constructor. * * @param config Gradoop configuration */ public SubgraphDecoder(GradoopFlinkConfig config) { vertexFactory = config.getVertexFactory(); graphHeadFactory = config.getGraphHeadFactory(); edgeFactory = config.getEdgeFactory(); }
@Override public BaseGraphCollectionFactory<GraphHead, Vertex, Edge, GraphCollection> getFactory() { return config.getGraphCollectionFactory(); }
/** * Returns a logical graph containing the complete vertex and edge space of * the database. * This is equivalent to {@link #getLogicalGraph(boolean) getLogicalGraph(true)}. * * @return logical graph of vertex and edge space */ public LogicalGraph getLogicalGraph() { return getLogicalGraph(true); }
/** * Creates a Gradoop Flink configuration using the given parameters. * * @param env Flink execution environment * @param logicalGraphLayoutFactory factory to create logical graph layouts * @param graphCollectionLayoutFactory factory to create graph collection layouts * @return Gradoop Flink configuration */ public static GradoopFlinkConfig createConfig(ExecutionEnvironment env, LogicalGraphLayoutFactory<GraphHead, Vertex, Edge> logicalGraphLayoutFactory, GraphCollectionLayoutFactory<GraphHead, Vertex, Edge> graphCollectionLayoutFactory) { return new GradoopFlinkConfig(env, logicalGraphLayoutFactory, graphCollectionLayoutFactory); }
/** * Valued constructor. * * @param config gradoop flink config */ public GraphTransactionFromText(GradoopFlinkConfig config) { this.graphHeadFactory = config.getGraphHeadFactory(); this.vertexFactory = config.getVertexFactory(); this.edgeFactory = config.getEdgeFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMVertexFactory<Vertex> getVertexFactory() { return config.getVertexFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMEdgeFactory<Edge> getEdgeFactory() { return config.getEdgeFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMGraphHeadFactory<GraphHead> getGraphHeadFactory() { return config.getGraphHeadFactory(); }
/** * Returns a logical graph containing the complete vertex and edge space of * the database. * This is equivalent to {@link #getLogicalGraph(boolean) getLogicalGraph(true)}. * * @return logical graph of vertex and edge space */ public LogicalGraph getLogicalGraph() { return getLogicalGraph(true); }
/** * Valued constructor. * * @param config gradoop flink config */ public GraphTransactionFromText(GradoopFlinkConfig config) { this.graphHeadFactory = config.getGraphHeadFactory(); this.vertexFactory = config.getVertexFactory(); this.edgeFactory = config.getEdgeFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMVertexFactory<Vertex> getVertexFactory() { return config.getVertexFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMEdgeFactory<Edge> getEdgeFactory() { return config.getEdgeFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMGraphHeadFactory<GraphHead> getGraphHeadFactory() { return config.getGraphHeadFactory(); }
/** * Constructor. * * @param config Gradoop configuration */ public SubgraphDecoder(GradoopFlinkConfig config) { vertexFactory = config.getVertexFactory(); graphHeadFactory = config.getGraphHeadFactory(); edgeFactory = config.getEdgeFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMVertexFactory<Vertex> getVertexFactory() { return config.getVertexFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMEdgeFactory<Edge> getEdgeFactory() { return config.getEdgeFactory(); }
/** * {@inheritDoc} * * The factory is passed from {@link GradoopFlinkConfig} at the moment. */ @Override public EPGMGraphHeadFactory<GraphHead> getGraphHeadFactory() { return config.getGraphHeadFactory(); }