com.bigdata.rdf.rules
Class RejectAnythingSameAsItself

java.lang.Object
  extended by com.bigdata.bop.CoreBaseBOp
      extended by com.bigdata.bop.BOpBase
          extended by com.bigdata.rdf.rules.RejectAnythingSameAsItself
All Implemented Interfaces:
BOp, BooleanValueExpression, IValueExpression<Boolean>, IPropertySet, Serializable, Cloneable

public class RejectAnythingSameAsItself
extends BOpBase
implements BooleanValueExpression

Rejects (x y z) iff x==z and y==owl:sameAs, where x, y, and z are variables.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.bigdata.bop.BOp
BOp.Annotations
 
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
RejectAnythingSameAsItself(BOp[] values, Map<String,Object> annotations)
          Required shallow copy constructor.
RejectAnythingSameAsItself(IVariable<Long> s, IVariable<Long> p, IVariable<Long> o, IConstant<Long> owlSameAs)
           
RejectAnythingSameAsItself(RejectAnythingSameAsItself op)
          Required deep copy constructor.
 
Method Summary
 Boolean get(IBindingSet bindingSet)
          Return the as bound value of the variable, constant, or expression.
 
Methods inherited from class com.bigdata.bop.BOpBase
_clearProperty, _set, _setProperty, annotations, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, get, 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, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString
 
Methods inherited from interface cutthecrap.utils.striterators.IPropertySet
getProperty
 

Constructor Detail

RejectAnythingSameAsItself

public RejectAnythingSameAsItself(BOp[] values,
                                  Map<String,Object> annotations)
Required shallow copy constructor.


RejectAnythingSameAsItself

public RejectAnythingSameAsItself(RejectAnythingSameAsItself op)
Required deep copy constructor.


RejectAnythingSameAsItself

public RejectAnythingSameAsItself(IVariable<Long> s,
                                  IVariable<Long> p,
                                  IVariable<Long> o,
                                  IConstant<Long> owlSameAs)
Parameters:
s -
p -
o -
owlSameAs -
Method Detail

get

public Boolean get(IBindingSet bindingSet)
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 BooleanValueExpression
Specified by:
get in interface IValueExpression<Boolean>
Parameters:
bindingSet - The binding set.
Returns:
The as bound value of the constant, variable, or expression.


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