com.bigdata.rdf.sparql.ast
Class ConstructNode

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<E>
                          extended by com.bigdata.rdf.sparql.ast.AbstractStatementContainer<StatementPatternNode>
                              extended by com.bigdata.rdf.sparql.ast.ConstructNode
All Implemented Interfaces:
BOp, IGroupMemberNode, IGroupNode<StatementPatternNode>, IQueryNode, IStatementContainer, IPropertySet, Serializable, Cloneable, Iterable<StatementPatternNode>

public class ConstructNode
extends AbstractStatementContainer<StatementPatternNode>
implements IStatementContainer

A template for the construction of one or more graphs based on the solutions projected by a query.

Version:
$Id: ConstructNode.java 6163 2012-03-19 17:12:44Z 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
ConstructNode()
           
ConstructNode(BOp[] args, Map<String,Object> anns)
          Required shallow copy constructor.
ConstructNode(ConstructNode op)
          Required deep copy constructor.
 
Method Summary
 IGroupNode<StatementPatternNode> addChild(StatementPatternNode child)
          Add a child to this group.
 String toString(int indent)
          Simple but robust version of to-String
 
Methods inherited from class com.bigdata.rdf.sparql.ast.GroupNodeBase
addArg, addArg, 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

ConstructNode

public ConstructNode()

ConstructNode

public ConstructNode(ConstructNode op)
Required deep copy constructor.


ConstructNode

public ConstructNode(BOp[] args,
                     Map<String,Object> anns)
Required shallow copy constructor.

Method Detail

addChild

public IGroupNode<StatementPatternNode> addChild(StatementPatternNode child)
Description copied from interface: IGroupNode
Add a child to this group. Child can be a statement pattern, a filter, or another group.

Specified by:
addChild in interface IGroupNode<StatementPatternNode>
Overrides:
addChild in class GroupNodeBase<StatementPatternNode>
Returns:
this

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<StatementPatternNode>


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