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, setTargetGraphgetContext, getParent, getParentGraphPatternGroup, getParentJoinGroup, setParentgetQueryHints, toStringaddExplainHint, getExplainHints, getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHintAsInteger, replaceAllWith, setQueryHint, setQueryHintsaddArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, indexOf, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortStringfinalize, getClass, notify, notifyAll, wait, wait, waitannotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toStringgetPropertypublic 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 IDataSetNodepublic DatasetNode getDataset()
IDataSetNodegetDataset in interface IDataSetNodepublic GraphPatternGroup getWhereClause()
GraphPatternGroup for the WHERE clause.null.public GraphPatternGroup<IGroupMemberNode> getGraphPattern()
IGraphPatternContainergetGraphPattern in interface IGraphPatternContainerpublic void setWhereClause(GraphPatternGroup<IGroupMemberNode> whereClause)
public void setGraphPattern(GraphPatternGroup<IGroupMemberNode> graphPattern)
IGraphPatternContainersetGraphPattern in interface IGraphPatternContainerpublic QuadsDataOrNamedSolutionSet getDeleteClause()
public QuadsDataOrNamedSolutionSet getInsertClause()
public void setDeleteClause(QuadsDataOrNamedSolutionSet data)
public void setInsertClause(QuadsDataOrNamedSolutionSet data)
public final String toString(int indent)
CoreBaseBOpCoreBaseBOp.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 BOptoString in interface IQueryNodetoString in class CoreBaseBOpCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.