public class SortFunction<Node> extends SelectorFunction<Node>
Constructor and Description |
---|
SortFunction() |
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
apply(RDFBackend<Node> nodeRDFBackend,
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 representation of the NodeFunction or NodeSelector in the RDF Path Language
|
String |
getSignature()
A string describing the signature of this node function, e.g.
|
getPathExpression
@SafeVarargs public final Collection<Node> apply(RDFBackend<Node> nodeRDFBackend, 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.IllegalArgumentException
public String getLocalName()
getLocalName
in class SelectorFunction<Node>
public String getSignature()
public String getDescription()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.