Package | Description |
---|---|
eu.fbk.rdfpro |
RDFpro library.
|
Modifier and Type | Field and Description |
---|---|
static Transformer |
Transformer.IDENTITY
The identity
Transformer , that maps every input statement to itself. |
static Transformer |
Transformer.NIL
The null
Transformer , that maps each statement to an empty list of statements. |
Modifier and Type | Method and Description |
---|---|
static Transformer |
Transformer.filter(Predicate<? super org.openrdf.model.Statement> predicate)
Returns a
Transformer that emits only statements matching the supplied
Predicate . |
static Transformer |
Transformer.filter(String components,
Predicate<? super org.openrdf.model.Value> predicate)
Returns a
Transformer that emits only statements whose selected component matches
the specified Predicate . |
static Transformer |
Transformer.map(Function<? super org.openrdf.model.Statement,? extends org.openrdf.model.Statement> function)
Returns a
Transformer that applies the supplied function to each input statement,
emitting its output if not null. |
static Transformer |
Transformer.map(String components,
Function<? super org.openrdf.model.Value,? extends org.openrdf.model.Value> function)
Returns a
Transformer that replaces selected components of the input statement
using the supplied function. |
static Transformer |
Transformer.parallel(Transformer... transformers)
Returns a
Transfomer that applies each supplied transformer in parallel, emitting
the concatenation of their results to the supplied RDFHandler . |
static Transformer |
Transformer.parse(String expression)
Parses a
Transformer out of the supplied expression string. |
static Transformer |
Transformer.rules(String rules)
Returns a
Transformer applying the filtering and assignent rules encoded by the
supplied string. |
static Transformer |
Transformer.sequence(Transformer... transformers)
Returns a
Transformer chaining the specified Transformer s. |
static Transformer |
Transformer.set(String components,
org.openrdf.model.Value... values)
Returns a
Transformer that replaces selected components of the input statement with
the replacement values supplied. |
Modifier and Type | Method and Description |
---|---|
static Transformer |
Transformer.parallel(Transformer... transformers)
Returns a
Transfomer that applies each supplied transformer in parallel, emitting
the concatenation of their results to the supplied RDFHandler . |
static Transformer |
Transformer.sequence(Transformer... transformers)
Returns a
Transformer chaining the specified Transformer s. |
static RDFProcessor |
RDFProcessors.transform(Transformer transformer)
Returns a
RDFProcessor that applies the supplied Transformer to each input
triple, producing the transformed triples in output. |
Copyright © 2015–2016 FBK-irst. All rights reserved.