public class ReplaceBOp extends IVValueExpression<IV> implements INeedsMaterialization
http://www.w3.org/2009/sparql/docs/query-1.1/rq25.xml#func-replace,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplaceBOp.Annotations |
INeedsMaterialization.RequirementDEFAULT_INITIAL_CAPACITY| Constructor and Description |
|---|
ReplaceBOp(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
ReplaceBOp(IValueExpression<? extends IV> var,
IValueExpression<? extends IV> pattern,
IValueExpression<? extends IV> replacement,
GlobalAnnotations globals)
Construct a replace bop without flags.
|
ReplaceBOp(IValueExpression<? extends IV> var,
IValueExpression<? extends IV> pattern,
IValueExpression<? extends IV> replacement,
IValueExpression<? extends IV> flags,
GlobalAnnotations globals)
Construct a replace bop with flags.
|
ReplaceBOp(ReplaceBOp op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode). |
| Modifier and Type | Method and Description |
|---|---|
BigdataLiteral |
evaluate(BigdataValueFactory valueFactory,
org.openrdf.model.Value... args)
Lifted directly from Sesame's Replace operator.
|
IV |
get(IBindingSet bs)
Return the as bound value of the variable, constant, or
expression.
|
INeedsMaterialization.Requirement |
getRequirement()
Does the bop always need materialized variables, or can it sometimes
operate on inline terms without materialization? If sometimes, we'll
run it before the materialization pipeline steps in an effort to avoid
unnecessary materialization overhead.
|
anns, areGlobalsRequired, asIV, asIV, asLiteral, asValue, get, getAndCheckBound, getAndCheckLiteral, getAndCheckLiteralValue, getLexiconConfiguration, getNamespace, getTimestamp, getValueFactory, literalLabel__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waittoStringannotations, argIterator, args, arity, clone, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toStringgetPropertypublic ReplaceBOp(IValueExpression<? extends IV> var, IValueExpression<? extends IV> pattern, IValueExpression<? extends IV> replacement, GlobalAnnotations globals)
public ReplaceBOp(IValueExpression<? extends IV> var, IValueExpression<? extends IV> pattern, IValueExpression<? extends IV> replacement, IValueExpression<? extends IV> flags, GlobalAnnotations globals)
public ReplaceBOp(BOp[] args, Map<String,Object> anns)
public ReplaceBOp(ReplaceBOp op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode).public INeedsMaterialization.Requirement getRequirement()
INeedsMaterializationgetRequirement in interface INeedsMaterializationpublic IV get(IBindingSet bs)
IValueExpressionIConstant is the
contant's value. The as bound value of an IVariable is the
bound value in the given IBindingSet -or- null if
the variable is not bound in the IBindingSet.get in interface IValueExpression<IV>bs - The binding set.public BigdataLiteral evaluate(BigdataValueFactory valueFactory, org.openrdf.model.Value... args) throws org.openrdf.query.algebra.evaluation.ValueExprEvaluationException
org.openrdf.query.algebra.evaluation.ValueExprEvaluationExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.