Node - the node type used by the backendpublic class FirstFunction<Node> extends SelectorFunction<Node>
first node in the argument list.| Constructor and Description | 
|---|
FirstFunction()  | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<Node> | 
apply(RDFBackend<Node> rdfBackend,
     Node context,
     Collection<Node>... args)
Apply the function to the list of nodes passed as arguments and return the result as type T. 
 | 
String | 
getDescription()
A short human-readable description of what the node function does. 
 | 
String | 
getLocalName()
Return the name of the NodeFunction for registration in the function registry 
 | 
String | 
getSignature()
A string describing the signature of this node function, e.g. 
 | 
getPathExpression@SafeVarargs public final Collection<Node> apply(RDFBackend<Node> rdfBackend, Node context, Collection<Node>... args) throws IllegalArgumentException
args - a nested list of KiWiNodescontext - the context of the execution. Same as using the 
 NodeSelector '.' as parameter.IllegalArgumentExceptionpublic String getLocalName()
getLocalName in class SelectorFunction<Node>backend - public String getSignature()
public String getDescription()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.