public class StrLeftFunction<Node> extends SelectorFunction<Node>
Constructor and Description |
---|
StrLeftFunction() |
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
apply(RDFBackend<Node> backend,
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.
|
protected String |
getLocalName() |
String |
getSignature()
A string describing the signature of this node function, e.g.
|
getPathExpression
public Collection<Node> apply(RDFBackend<Node> backend, Node context, Collection<Node>... args) throws IllegalArgumentException
NodeFunction
context
- the context of the execution. Same as using the
NodeSelector
'.' as parameter.args
- a nested list of KiWiNodesIllegalArgumentException
public String getSignature()
NodeFunction
public String getDescription()
NodeFunction
protected String getLocalName()
getLocalName
in class SelectorFunction<Node>
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.