|
||||||||||
| 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.UnaryFunction
public abstract class UnaryFunction
Base class for SPARQL functions that take a single argument. This base class takes care of checking that only a single argument is passed to a unary function.
| Constructor Summary | |
|---|---|
UnaryFunction()
|
|
| Method Summary | |
|---|---|
RDFTerm |
call(java.util.List<RDFTerm> arguments)
Invokes the function and determines a return value. |
abstract RDFTerm |
call(RDFTerm arg1)
An unpackaged version of FunctionOnValues.call(List) that receives the single
argument to the function. |
| 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 UnaryFunction()
| 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)
throws IncompatibleTypeException
FunctionOnValues.call(List) that receives the single
argument to the function.
arg1 - The single unary argument to the function
IncompatibleTypeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||