public class QuadData extends AbstractStatementContainer<IStatementContainer> implements IStatementContainer
StatementPatternNode
s. This is used
for InsertData
and DeleteData
. It gets flattened out and
turned into an ISPO
[].IQueryNode.Annotations
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
QuadData() |
QuadData(BOp[] args,
Map<String,Object> anns) |
QuadData(IStatementContainer child) |
QuadData(QuadData op) |
Modifier and Type | Method and Description |
---|---|
ConstructNode |
flatten(ConstructNode template)
Flatten the
QuadData into a simple ConstructNode . |
JoinGroupNode |
flatten(JoinGroupNode container)
Flatten the
StatementPatternNode s into the caller's
JoinGroupNode . |
String |
toString(int indent)
Simple but robust version of to-String
|
getDesiredBound, getRequiredBound
addArg, addArg, addChild, clone, getAttachedJoinFilters, getChildren, isEmpty, iterator, removeArg, removeChild, replaceWith, setArg, setAttachedJoinFilters, size
getContext, getParent, getParentGraphPatternGroup, getParentJoinGroup, setParent
getQueryHints, toString
addExplainHint, getExplainHints, getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHintAsInteger, replaceAllWith, setQueryHint, setQueryHints
addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, indexOf, setArgs, setId, setProperty, setUnboundProperty, toArray, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString
finalize, getClass, notify, notifyAll, wait, wait, wait
getContext, getParent, getParentGraphPatternGroup, getParentJoinGroup, setParent
annotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString
getProperty
getDesiredBound, getRequiredBound
public QuadData()
public QuadData(QuadData op)
op
- public QuadData(IStatementContainer child)
public ConstructNode flatten(ConstructNode template)
QuadData
into a simple ConstructNode
. The
ConstructNode
MAY use variables as well as constants and supports
the context position, so this is really a quads construct template.template
- The ConstructNode
for the template.public JoinGroupNode flatten(JoinGroupNode container)
StatementPatternNode
s into the caller's
JoinGroupNode
.container
- The caller's container.public String toString(int indent)
GroupNodeBase
toString
in interface BOp
toString
in interface IQueryNode
toString
in class GroupNodeBase<IStatementContainer>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.