public class ModifyOperation extends Object implements UpdateOperation
UpdateOperation.GraphSpec
Constructor and Description |
---|
ModifyOperation() |
Modifier and Type | Method and Description |
---|---|
void |
addGraphToDataSet(UriRef graph) |
void |
addNamedGraphToDataSet(UriRef namedGraph) |
Set<UriRef> |
getDestinationGraphs(UriRef defaultGraph,
TcProvider tcProvider) |
Set<UriRef> |
getInputGraphs(UriRef defaultGraph,
TcProvider tcProvider) |
void |
setDataSet(SimpleDataSet dataSet) |
void |
setDeleteOperation(UpdateOperationWithQuads deleteOperation) |
void |
setFallbackGraph(UriRef fallbackGraph) |
void |
setInsertOperation(UpdateOperationWithQuads insertOperation) |
void |
setQueryPattern(GroupGraphPattern queryPattern) |
public void setFallbackGraph(UriRef fallbackGraph)
public void setDeleteOperation(UpdateOperationWithQuads deleteOperation)
public void setInsertOperation(UpdateOperationWithQuads insertOperation)
public void setDataSet(SimpleDataSet dataSet)
public void addGraphToDataSet(UriRef graph)
public void addNamedGraphToDataSet(UriRef namedGraph)
public void setQueryPattern(GroupGraphPattern queryPattern)
public Set<UriRef> getInputGraphs(UriRef defaultGraph, TcProvider tcProvider)
getInputGraphs
in interface UpdateOperation
defaultGraph
- if default graph is referred either implicitly or explicitly as an input graph in this operation
the specified defaultGraph should be returned in the resulting set.tcProvider
- the specified tcProvider is used to get the named graphs referred as input graphs in this operation.public Set<UriRef> getDestinationGraphs(UriRef defaultGraph, TcProvider tcProvider)
getDestinationGraphs
in interface UpdateOperation
defaultGraph
- if default graph is referred either implicitly or explicitly as a destination graph in this operation
the specified defaultGraph should be returned in the resulting set.tcProvider
- the specified tcProvider is used to get the named graphs referred as destination graphs in this operation.Copyright © 2014 The Apache Software Foundation. All Rights Reserved.