com.bigdata.rdf.sparql.ast
Class Update

java.lang.Object
  extended by com.bigdata.bop.CoreBaseBOp
      extended by com.bigdata.bop.ModifiableBOpBase
          extended by com.bigdata.rdf.sparql.ast.ASTBase
              extended by com.bigdata.rdf.sparql.ast.QueryNodeBase
                  extended by com.bigdata.rdf.sparql.ast.GroupMemberNodeBase<IGroupMemberNode>
                      extended by com.bigdata.rdf.sparql.ast.Update
All Implemented Interfaces:
BOp, IGroupMemberNode, IQueryNode, IPropertySet, Serializable, Cloneable
Direct Known Subclasses:
GraphManagement, GraphUpdate

public abstract class Update
extends GroupMemberNodeBase<IGroupMemberNode>

A SPARQL Update operation.

Version:
$Id: Update.java 6269 2012-04-10 15:02:48Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bigdata.bop.CoreBaseBOp
DEFAULT_INITIAL_CAPACITY
 
Fields inherited from interface com.bigdata.bop.BOp
NOANNS, NOARGS
 
Constructor Summary
Update(BOp[] args, Map<String,Object> anns)
           
Update(Update op)
           
Update(UpdateType updateType)
           
 
Method Summary
 ConstantNode getSourceGraph()
          The ConstantNode for the source graph (for operations which have this concept).
 ConstantNode getTargetGraph()
          The ConstantNode for the target graph (for operations which have this concept).
 UpdateType getUpdateType()
           
 boolean isSilent()
          The "SILENT" option (default false) (for operations which have this concept).
 void setSilent(boolean silent)
           
 void setSourceGraph(ConstantNode sourceGraph)
           
 void setTargetGraph(ConstantNode targetGraph)
           
 
Methods inherited from class com.bigdata.rdf.sparql.ast.GroupMemberNodeBase
getContext, getParent, getParentGraphPatternGroup, getParentJoinGroup, setParent
 
Methods inherited from class com.bigdata.rdf.sparql.ast.QueryNodeBase
toString
 
Methods inherited from class com.bigdata.rdf.sparql.ast.ASTBase
getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHints, replaceAllWith, setQueryHint, setQueryHints
 
Methods inherited from class com.bigdata.bop.ModifiableBOpBase
addArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, mutation, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArray
 
Methods inherited from class com.bigdata.bop.CoreBaseBOp
annotationsEqual, annotationsToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, toShortString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.bigdata.rdf.sparql.ast.IQueryNode
toString
 

Constructor Detail

Update

public Update(UpdateType updateType)

Update

public Update(Update op)
Parameters:
op -

Update

public Update(BOp[] args,
              Map<String,Object> anns)
Parameters:
args -
anns -
Method Detail

getUpdateType

public final UpdateType getUpdateType()

getSourceGraph

public ConstantNode getSourceGraph()
The ConstantNode for the source graph (for operations which have this concept).

Throws:
UnsupportedOperationException - if this concept is not supported by this type of Update operation.

setSourceGraph

public void setSourceGraph(ConstantNode sourceGraph)

getTargetGraph

public ConstantNode getTargetGraph()
The ConstantNode for the target graph (for operations which have this concept). If there is only one graph on which the operation will have an effect, then it is modeled by this annotation.

Throws:
UnsupportedOperationException - if this concept is not supported by this type of Update operation.

setTargetGraph

public void setTargetGraph(ConstantNode targetGraph)

isSilent

public boolean isSilent()
The "SILENT" option (default false) (for operations which have this concept).

Throws:
UnsupportedOperationException - if this concept is not supported by this type of Update operation.

setSilent

public void setSilent(boolean silent)


Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.