| Package | Description |
|---|---|
| org.aksw.jena_sparql_api.io.endpoint | |
| org.aksw.jena_sparql_api.io.filter.sys |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FileDestination |
| Modifier and Type | Class and Description |
|---|---|
class |
DestinationFilter |
class |
DestinationFromByteSource |
class |
DestinationFromFile
Destination from an existing file
|
class |
DestinationFromFileCreation
Destination of a file that does not yet exist
|
class |
DestinationFromSwitch
Switching destination
If a file for a DestinationFromFileCreation finishes, it can replace itself with
a DestinationFromFile
Right now I am not sure whether this is useful: If a stream is requested, it has to
do all the preparation work anyway
If we think of a source + filter as a virtual source, then it is actually ok:
Let's not forget that a destination is a supplier for input streams
Repeatedly executing such a workflow may re-use prior generated files instead of
repeating the process again from the source file
However, the purpose of this framework is not to do full caching, but only
abstract java and system filters, but allow controlling what should happen with the files
in case they get generated.
|
| Modifier and Type | Field and Description |
|---|---|
protected Destination |
DestinationFromSwitch.destination |
protected Destination |
FilterExecutionJava.source |
| Modifier and Type | Method and Description |
|---|---|
static Destination |
Destinations.fromFile(Path path) |
Destination |
DestinationFromSwitch.getDestination() |
Destination |
FilterBuilder.getInput() |
Destination |
FilterBuilder.getOutput() |
Destination |
FilterConfig.outputToStream()
If the execution requires the generation of an intermediate file, the
handler for ifNeedsFileOutput should be called
|
Destination |
FilterExecutionJava.outputToStream() |
| Modifier and Type | Method and Description |
|---|---|
FilterConfig |
FilterEngine.forInput(Destination destination) |
FilterConfig |
FilterEngineJava.forInput(Destination destination) |
| Constructor and Description |
|---|
FilterExecutionJava(Function<InputStream,InputStream> processor,
Destination source) |
| Modifier and Type | Field and Description |
|---|---|
protected Destination |
FilterExecutionFromSysFunction.source |
| Modifier and Type | Method and Description |
|---|---|
Destination |
FilterExecutionFromSysFunction.getEffectiveSource() |
Destination |
FilterExecutionFromSysFunction.outputToStream() |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<HotFile> |
FilterExecutionFromSysFunction.awaitOrAllocateInputFileAndFilterToFile(Destination effectiveSource,
Path tgtPath) |
io.reactivex.rxjava3.core.Single<InputStreamSupplier> |
FilterExecutionFromSysFunction.awaitOrAllocateInputFileAndFilterToStream(Destination effectiveSource) |
Path |
FilterExecutionFromSysFunction.extractKnownPathFromDestination(Destination destination) |
io.reactivex.rxjava3.core.Single<? extends FileCreation> |
FilterExecutionFromSysFunction.forceInputFileCreation(Destination effectiveSource) |
FilterConfig |
FilterEngineFromSysFunction.forInput(Destination destination) |
io.reactivex.rxjava3.core.Single<? extends FileCreation> |
FilterExecutionFromSysFunction.tryGetFileCreation(Destination destination) |
| Constructor and Description |
|---|
FilterExecutionFromSysFunction(SysCallFn cmdFactory,
Destination source) |
Copyright © 2020. All rights reserved.