public class DigestBOp extends IVValueExpression<IV> implements INeedsMaterialization
IValueExpression
operand. The
operation to be applied to the operands is specified by the
DigestBOp.Annotations.OP
annotation.Modifier and Type | Class and Description |
---|---|
static interface |
DigestBOp.Annotations |
static class |
DigestBOp.DigestOp |
INeedsMaterialization.Requirement
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
DigestBOp(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
DigestBOp(DigestBOp op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
DigestBOp(IValueExpression<? extends IV> left,
DigestBOp.DigestOp op,
GlobalAnnotations globals) |
Modifier and Type | Method and Description |
---|---|
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.
|
DigestBOp.DigestOp |
op() |
static String |
toHexString(byte[] buf) |
String |
toString()
Return a non-recursive representation of the arguments and annotations
for this
BOp . |
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, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
toString
annotations, argIterator, args, arity, clone, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString
getProperty
public DigestBOp(IValueExpression<? extends IV> left, DigestBOp.DigestOp op, GlobalAnnotations globals)
left
- The left operand.right
- The right operand.op
- The annotation specifying the operation to be performed on
those operands.public DigestBOp(BOp[] args, Map<String,Object> anns)
args
- The operands.op
- The operation.public DigestBOp(DigestBOp op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode)
.op
- public static String toHexString(byte[] buf)
public INeedsMaterialization.Requirement getRequirement()
INeedsMaterialization
getRequirement
in interface INeedsMaterialization
public IV get(IBindingSet bs) throws SparqlTypeErrorException
IValueExpression
IConstant
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.SparqlTypeErrorException
public DigestBOp.DigestOp op()
public String toString()
CoreBaseBOp
BOp
.toString
in interface BOp
toString
in class CoreBaseBOp
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.