com.bigdata.rdf.sparql.ast
Class UpdateRoot

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<E>
                      extended by com.bigdata.rdf.sparql.ast.GroupNodeBase<Update>
                          extended by com.bigdata.rdf.sparql.ast.UpdateRoot
All Implemented Interfaces:
BOp, IGroupMemberNode, IGroupNode<Update>, IPrefixDecls, IQueryNode, IPropertySet, Serializable, Cloneable, Iterable<Update>

public class UpdateRoot
extends GroupNodeBase<Update>
implements IPrefixDecls

The top level container for a sequence of UPDATE operations.

Version:
$Id: UpdateRoot.java 6167 2012-03-20 17:47:30Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Nested Class Summary
static interface UpdateRoot.Annotations
           
 
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
UpdateRoot()
           
UpdateRoot(BOp[] args, Map<String,Object> anns)
           
UpdateRoot(UpdateRoot op)
           
 
Method Summary
 Map<String,String> getPrefixDecls()
          The namespace prefix declarations map.
 void setPrefixDecls(Map<String,String> prefixDecls)
          Set the namespace prefix declarations map.
 String toString(int indent)
          Simple but robust version of to-String
 
Methods inherited from class com.bigdata.rdf.sparql.ast.GroupNodeBase
addArg, addArg, addChild, clone, getAttachedJoinFilters, isEmpty, iterator, removeArg, removeChild, replaceWith, setArg, setAttachedJoinFilters, size
 
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
addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, mutation, setArgs, setId, setProperty, setUnboundProperty, toArray, toArray
 
Methods inherited from class com.bigdata.bop.CoreBaseBOp
annotationsEqual, annotationsToString, checkArgs, 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.IGroupMemberNode
getContext, getParent, getParentGraphPatternGroup, getParentJoinGroup, setParent
 

Constructor Detail

UpdateRoot

public UpdateRoot()

UpdateRoot

public UpdateRoot(UpdateRoot op)
Parameters:
op -

UpdateRoot

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

getPrefixDecls

public Map<String,String> getPrefixDecls()
Description copied from interface: IPrefixDecls
The namespace prefix declarations map. This is a Map with String keys (prefix) and String values (the uri associated with that prefix).

Specified by:
getPrefixDecls in interface IPrefixDecls
Returns:
The namespace prefix declarations map. If this annotation was not set, then an empty map will be returned. The returned map is immutable to preserve the general contract for notification on mutation.

setPrefixDecls

public void setPrefixDecls(Map<String,String> prefixDecls)
Description copied from interface: IPrefixDecls
Set the namespace prefix declarations map. This is a Map with String keys (prefix) and String values (the uri associated with that prefix).

Specified by:
setPrefixDecls in interface IPrefixDecls

toString

public String toString(int indent)
Description copied from class: GroupNodeBase
Simple but robust version of to-String

Specified by:
toString in interface IQueryNode
Overrides:
toString in class GroupNodeBase<Update>


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