|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.glitter.expression.FunctionBase
org.openanzo.glitter.expression.BinaryFunction
public abstract class BinaryFunction
BinaryFunction is a base class for SPARQL functions that take two arguments. It
checks the number of arguments supplied and defers to an abstract method call(RDFTerm, RDFTerm) that
unpackages the binary arguments from the original argument list.
| Constructor Summary | |
|---|---|
BinaryFunction()
|
|
| Method Summary | |
|---|---|
RDFTerm |
call(java.util.List<RDFTerm> arguments)
Invokes the function and determines a return value. |
abstract RDFTerm |
call(RDFTerm arg1,
RDFTerm arg2)
Invoke a binary function explicitly with two arguments. |
| Methods inherited from class org.openanzo.glitter.expression.FunctionBase |
|---|
compareBooleans, compareBooleans, compareDateTimes, compareNumerics, compareStringLiterals, operatesOnTypeErrors, operatesOnValues |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openanzo.glitter.expression.Function |
|---|
getIdentifier, operatesOnTypeErrors, operatesOnValues |
| Constructor Detail |
|---|
public BinaryFunction()
| Method Detail |
|---|
public RDFTerm call(java.util.List<RDFTerm> arguments)
throws ExpressionEvaluationException
FunctionOnValues
call in interface FunctionOnValuesarguments - The (evaluated) RDF terms being passed to the function
ExpressionEvaluationException - For invalid types, or other expression evalutaion problems
public abstract RDFTerm call(RDFTerm arg1,
RDFTerm arg2)
throws ExpressionEvaluationException
arg1 - First argument to the functionarg2 - Second argument to the function
ExpressionEvaluationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||