Constructor and Description |
---|
LDPath(RDFBackend<Node> backend)
Initialise a new LDPath instance for querying the backend passed as argument with the default configuration.
|
LDPath(RDFBackend<Node> backend,
Configuration<Node> config)
Initialise a new LDPath instance for querying the backend passed as argument with a custom configuration
for default functions, transformers and namespaces.
|
Modifier and Type | Method and Description |
---|---|
T |
NodeFunction.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.
|
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
NodeSelector.select(RDFBackend<Node> backend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
NodeTest.accept(RDFBackend<Node> backend,
Node context,
Node candidate) |
Boolean |
NodeTest.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Modifier and Type | Method and Description |
---|---|
T |
NodeTransformer.transform(RDFBackend<Node> backend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
Modifier and Type | Class and Description |
---|---|
class |
FileBackend
Add file description here!
Author: Sebastian Schaffert
|
Modifier and Type | Class and Description |
---|---|
class |
GenericJenaBackend
Add file description here!
Author: Sebastian Schaffert
|
Modifier and Type | Class and Description |
---|---|
class |
LDCacheBackend
A Linked Data backend with persistent caching of the retrieved data.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSesameBackend |
class |
ContextAwareSesameConnectionBackend
SesameConnectionBackend that considers only data from the provided contexts. |
class |
SesameConnectionBackend |
class |
SesameRepositoryBackend
Generic implementation of a Sesame backend for LDPath.
|
class |
ThreadingSesameBackend
Deprecated.
threading must be handled explicitly.
|
Modifier and Type | Method and Description |
---|---|
Collection<T> |
FieldMapping.getValues(RDFBackend<Node> backend,
Node context)
Get the values of this mapping for the context node passed as argument, transformed into the
datatype generated by the transformer.
|
Collection<T> |
FieldMapping.getValues(RDFBackend<Node> backend,
Node context,
Map<Node,List<Node>> paths)
Get the values of this mapping for the context node passed as argument, transformed into the
datatype generated by the transformer.
|
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
SortFunction.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.
|
Collection<Node> |
LastFunction.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.
|
Collection<Node> |
FirstFunction.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.
|
Collection<Node> |
CountFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
ConcatenateFunction.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.
|
Collection<Node> |
AbstractTextFilterFunction.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.
|
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
GetFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
SubListFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
FlattenFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
protected boolean |
AbstractCollFunction.hasType(RDFBackend<Node> backend,
Node node,
String type) |
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
LatestDateFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
EarliestDateFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Modifier and Type | Method and Description |
---|---|
Collection<KiWiNode> |
CssSelectFunction.apply(RDFBackend<KiWiNode> rdfBackend,
KiWiNode context,
Collection<KiWiNode>... args)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
SumFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
RoundFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
MinFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
MaxFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
protected Node |
SumFunction.calc(RDFBackend<Node> backend,
Collection<Node> arg) |
protected Node |
MinFunction.calc(RDFBackend<Node> backend,
Collection<Node> arg) |
protected Node |
MaxFunction.calc(RDFBackend<Node> backend,
Collection<Node> arg) |
protected Node |
RoundFunction.calc(RDFBackend<Node> backend,
Node node) |
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
WordCountFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
SubstringFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
StrRightFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
StrLenFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
StrLeftFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
StrJoinFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Collection<Node> |
ReplaceFunction.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
XPathFunction.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.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Collection<?>> |
Program.execute(RDFBackend<Node> backend,
Node context)
Executes this Program on the parsed
backend . |
Map<String,Collection<?>> |
Program.execute(RDFBackend<Node> backend,
Node context,
Map<Node,List<Node>> paths)
Executes this Program on the parsed
backend . |
Modifier and Type | Method and Description |
---|---|
Collection<Node> |
UnionSelector.select(RDFBackend<Node> rdfBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
TestingSelector.select(RDFBackend<Node> rdfBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
StringConstantSelector.select(RDFBackend<Node> rdfBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
SelfSelector.select(RDFBackend<Node> nodeRDFBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
ReversePropertySelector.select(RDFBackend<Node> rdfBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
RecursivePathSelector.select(RDFBackend<Node> rdfBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
PropertySelector.select(RDFBackend<Node> rdfBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
PathSelector.select(RDFBackend<Node> rdfBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
IntersectionSelector.select(RDFBackend<Node> nodeRDFBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
GroupedSelector.select(RDFBackend<Node> rdfBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Collection<Node> |
FunctionSelector.select(RDFBackend<Node> nodeRDFBackend,
Node context,
List<Node> path,
Map<Node,List<Node>> resultPaths)
Apply the selector to the context node passed as argument and return the collection
of selected nodes in appropriate order.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PathTest.accept(RDFBackend<Node> rdfBackend,
Node context,
Node candidate)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
boolean |
PathEqualityTest.accept(RDFBackend<Node> rdfBackend,
Node context,
Node candidate)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
boolean |
OrTest.accept(RDFBackend<Node> rdfBackend,
Node context,
Node args)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
boolean |
NotTest.accept(RDFBackend<Node> backend,
Node context,
Node args) |
boolean |
LiteralTypeTest.accept(RDFBackend<Node> rdfBackend,
Node context,
Node node)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
boolean |
LiteralLanguageTest.accept(RDFBackend<Node> rdfBackend,
Node context,
Node node)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
boolean |
FunctionTest.accept(RDFBackend<Node> backend,
Node context,
Node target) |
boolean |
AndTest.accept(RDFBackend<Node> rdfBackend,
Node context,
Node args)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
BinaryNumericTest.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
protected boolean |
BinaryNumericTest.test(RDFBackend<Node> backend,
Node leftNode,
Node rightNode) |
Modifier and Type | Method and Description |
---|---|
Boolean |
AbstractStringTest.apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args) |
Constructor and Description |
---|
AbstractStringTest.ToStringFunction(RDFBackend<Node> backend) |
Modifier and Type | Method and Description |
---|---|
Date |
TimeTransformer.transform(RDFBackend<Node> rdfBackend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
String |
StringTransformer.transform(RDFBackend<Node> backend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
Short |
ShortTransformer.transform(RDFBackend<Node> backend,
Node node,
Map<String,String> configuration) |
Long |
LongTransformer.transform(RDFBackend<Node> rdfBackend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
Integer |
IntTransformer.transform(RDFBackend<Node> rdfBackend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
Node |
IdentityTransformer.transform(RDFBackend<Node> nodeRDFBackend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
Float |
FloatTransformer.transform(RDFBackend<Node> rdfBackend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
Duration |
DurationTransformer.transform(RDFBackend<Node> backend,
Node node,
Map<String,String> configuration) |
Double |
DoubleTransformer.transform(RDFBackend<Node> rdfBackend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
Date |
DateTransformer.transform(RDFBackend<Node> rdfBackend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
Date |
DateTimeTransformer.transform(RDFBackend<Node> rdfBackend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
Byte |
ByteTransformer.transform(RDFBackend<Node> backend,
Node node,
Map<String,String> configuration) |
Boolean |
BooleanTransformer.transform(RDFBackend<Node> rdfBackend,
Node node,
Map<String,String> configuration)
Transform the KiWiNode node into the datatype T.
|
BigInteger |
BigIntegerTransformer.transform(RDFBackend<Node> backend,
Node node,
Map<String,String> configuration) |
BigDecimal |
BigDecimalTransformer.transform(RDFBackend<Node> backend,
Node node,
Map<String,String> configuration) |
Modifier and Type | Class and Description |
---|---|
class |
LMFBackend
Deprecated.
Use a
SesameConnectionBackend instead
and handle transactions manually. |
Modifier and Type | Method and Description |
---|---|
Collection<org.openrdf.model.Value> |
ContentFunction.apply(RDFBackend<org.openrdf.model.Value> kiWiNodeRDFBackend,
org.openrdf.model.Value context,
Collection<org.openrdf.model.Value>... args)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
Collection<org.openrdf.model.Value> |
JsoupFunction.apply(RDFBackend<org.openrdf.model.Value> rdfBackend,
org.openrdf.model.Value context,
Collection<org.openrdf.model.Value>... args)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.