com.bigdata.rdf.internal.constraints
Class FuncBOp

java.lang.Object
  extended by com.bigdata.bop.CoreBaseBOp
      extended by com.bigdata.bop.BOpBase
          extended by com.bigdata.rdf.internal.constraints.IVValueExpression<IV>
              extended by com.bigdata.rdf.internal.constraints.FuncBOp
All Implemented Interfaces:
BOp, IValueExpression<IV>, INeedsMaterialization, IPropertySet, Serializable, Cloneable

public class FuncBOp
extends IVValueExpression<IV>
implements INeedsMaterialization

Call one of the Sesame casting functions.

See Also:
Serialized Form

Nested Class Summary
static interface FuncBOp.Annotations
           
 
Nested classes/interfaces inherited from interface com.bigdata.rdf.internal.constraints.INeedsMaterialization
INeedsMaterialization.Requirement
 
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
FuncBOp(BOp[] args, Map<String,Object> anns)
          Required shallow copy constructor.
FuncBOp(FuncBOp op)
          Required deep copy constructor.
FuncBOp(IValueExpression<? extends IV>[] args, String func, GlobalAnnotations globals)
           
 
Method Summary
 IV get(IBindingSet bs)
          Return the as bound value of the variable, constant, or expression.
 INeedsMaterialization.Requirement getRequirement()
          This bop can only work with materialized terms.
 
Methods inherited from class com.bigdata.rdf.internal.constraints.IVValueExpression
anns, areGlobalsRequired, asIV, asIV, asLiteral, asValue, get, getAndCheckBound, getAndCheckLiteral, getAndCheckLiteralValue, getLexiconConfiguration, getNamespace, getTimestamp, getValueFactory, literalLabel
 
Methods inherited from class com.bigdata.bop.BOpBase
_clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArray
 
Methods inherited from class com.bigdata.bop.CoreBaseBOp
annotationsEqual, annotationsToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, toShortString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.bigdata.bop.BOp
annotations, argIterator, args, arity, clone, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString
 
Methods inherited from interface cutthecrap.utils.striterators.IPropertySet
getProperty
 

Constructor Detail

FuncBOp

public FuncBOp(IValueExpression<? extends IV>[] args,
               String func,
               GlobalAnnotations globals)

FuncBOp

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


FuncBOp

public FuncBOp(FuncBOp op)
Required deep copy constructor.

Method Detail

get

public IV get(IBindingSet bs)
Description copied from interface: IValueExpression
Return the as bound value of the variable, constant, or expression. The as bound value of an 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.

Specified by:
get in interface IValueExpression<IV>
Parameters:
bs - The binding set.
Returns:
The as bound value of the constant, variable, or expression.

getRequirement

public INeedsMaterialization.Requirement getRequirement()
This bop can only work with materialized terms.

Specified by:
getRequirement in interface INeedsMaterialization


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