Class MutationStrategyBuilder<B extends MutationStrategyBuilder<B>>

    • Method Detail

      • setNewGraphName

        public B setNewGraphName​(java.lang.String newGraphName)
        Set name of new graph name. If null, the new graphname will be generated.
        Parameters:
        newGraphName -
      • setKeptVertexProperties

        public B setKeptVertexProperties​(java.util.Collection<VertexProperty<?,​?>> propsToKeep)
        Set vertex properties that will be kept By default (without calling this) all vertexProperties will be kept.
        Parameters:
        propsToKeep -
      • setKeptEdgeProperties

        public B setKeptEdgeProperties​(java.util.Collection<EdgeProperty<?>> propsToKeep)
        Set edge properties that will be kept By default (without calling this) all edgeProperties will be kept.
        Parameters:
        propsToKeep -
      • dropVertexProperty

        public B dropVertexProperty​(VertexProperty<?,​?> vertexProperty)
        Set vertex property that will be dropped after the mutation. By default (without calling this) all vertexProperties will be kept.
        Parameters:
        vertexProperty -
      • dropEdgeProperty

        public B dropEdgeProperty​(EdgeProperty<?> edgeProperty)
        Set edge property that will be dropped after the mutation. By default (without calling this) all edgeProperties will be kept.
        Parameters:
        edgeProperty -
      • dropVertexProperties

        public B dropVertexProperties​(java.util.Collection<VertexProperty<?,​?>> vertexProperties)
        Set vertex properties that will be dropped after the mutation. By default (without calling this) all edgeProperties will be kept.
        Parameters:
        vertexProperties -
      • dropEdgeProperties

        public B dropEdgeProperties​(java.util.Collection<EdgeProperty<?>> edgeProperties)
        Set edge properties that will be dropped after the mutation. By default (without calling this) all edgeProperties will be kept.
        Parameters:
        edgeProperties -
      • build

        public abstract oracle.pgx.common.mutations.MutationStrategy build()
                                                                    throws java.util.concurrent.ExecutionException,
                                                                           java.lang.InterruptedException
        Builds the MutationStrategy with the chosen parameters. Parameters that were not set, are instantiated with default values.
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException