public class DeleteInsertGraph extends GraphUpdate implements IGraphPatternContainer, IDataSetNode
( WITH IRIref )? ( ( DeleteClause InsertClause? ) | InsertClause ) ( USING ( NAMED )? IRIref )* WHERE GroupGraphPatternThe DeleteClause and InsertClause forms can be broken down as follows:
DeleteClause ::= DELETE QuadPattern InsertClause ::= INSERT QuadPattern
http://www.w3.org/TR/sparql11-update/#deleteInsert
,
Serialized FormDEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
DeleteInsertGraph() |
DeleteInsertGraph(BOp[] args,
Map<String,Object> anns) |
DeleteInsertGraph(DeleteInsertGraph op) |
Modifier and Type | Method and Description |
---|---|
DatasetNode |
getDataset()
Return the dataset.
|
QuadsDataOrNamedSolutionSet |
getDeleteClause()
Return the template for the DELETE clause.
|
GraphPatternGroup<IGroupMemberNode> |
getGraphPattern()
Return the graph pattern.
|
QuadsDataOrNamedSolutionSet |
getInsertClause()
Return the template for the INSERT clause.
|
GraphPatternGroup |
getWhereClause()
Return the
GraphPatternGroup for the WHERE clause. |
void |
setDataset(DatasetNode dataset)
Set the dataset.
|
void |
setDeleteClause(QuadsDataOrNamedSolutionSet data) |
void |
setGraphPattern(GraphPatternGroup<IGroupMemberNode> graphPattern)
Set the graph pattern.
|
void |
setInsertClause(QuadsDataOrNamedSolutionSet data) |
void |
setWhereClause(GraphPatternGroup<IGroupMemberNode> whereClause)
Set the WHERE clause.
|
String |
toString(int indent)
The contract of this method at this level is under-specified.
|
getDatasetClauses, getDesiredBound, getRequiredBound, getSourceGraph, getTargetGraph, getUpdateType, isSilent, setDatasetClauses, setSilent, setSourceGraph, setTargetGraph
getContext, getParent, getParentGraphPatternGroup, getParentJoinGroup, setParent
getQueryHints, toString
addExplainHint, getExplainHints, getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHintAsInteger, replaceAllWith, setQueryHint, setQueryHints
addArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, indexOf, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString
finalize, getClass, notify, notifyAll, wait, wait, wait
annotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString
getProperty
public DeleteInsertGraph()
public DeleteInsertGraph(DeleteInsertGraph op)
op
- public void setDataset(DatasetNode dataset)
Note: The data set can only be specified for the general case of DELETE/INSERT. The data set is specific to the DELETE/INSERT operation to which it is attached (it is not inherited or combined with the data set for later operations in a sequence).
setDataset
in interface IDataSetNode
public DatasetNode getDataset()
IDataSetNode
getDataset
in interface IDataSetNode
public GraphPatternGroup getWhereClause()
GraphPatternGroup
for the WHERE clause.null
.public GraphPatternGroup<IGroupMemberNode> getGraphPattern()
IGraphPatternContainer
getGraphPattern
in interface IGraphPatternContainer
public void setWhereClause(GraphPatternGroup<IGroupMemberNode> whereClause)
public void setGraphPattern(GraphPatternGroup<IGroupMemberNode> graphPattern)
IGraphPatternContainer
setGraphPattern
in interface IGraphPatternContainer
public QuadsDataOrNamedSolutionSet getDeleteClause()
public QuadsDataOrNamedSolutionSet getInsertClause()
public void setDeleteClause(QuadsDataOrNamedSolutionSet data)
public void setInsertClause(QuadsDataOrNamedSolutionSet data)
public final String toString(int indent)
CoreBaseBOp
CoreBaseBOp.toString()
Or:
- return a pretty-print representation of the object with indent
Note that the former contract may or may not include recursive descent through a tree-like
object, whereas the latter almost certainly does.toString
in interface BOp
toString
in interface IQueryNode
toString
in class CoreBaseBOp
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.