| Package | Description |
|---|---|
| org.apache.nifi.processors.groovyx.flow |
| Modifier and Type | Class and Description |
|---|---|
class |
GroovySessionFile
SessionFile with groovy specific methods.
|
| Modifier and Type | Method and Description |
|---|---|
SessionFile |
ProcessSessionWrap.append(FlowFile flowFile,
OutputStreamCallback writer)
Executes the given callback against the content corresponding to the
given FlowFile, such that any data written to the OutputStream of the
content will be appended to the end of FlowFile.
|
SessionFile |
SessionFile.append(OutputStreamCallback c)
append flowfile content.
|
SessionFile |
SessionFile.clone(boolean cloneContent)
Clone flowfile with or without content.
|
SessionFile |
ProcessSessionWrap.clone(FlowFile example)
Creates a new FlowFile that is a clone of the given FlowFile as of the
time this is called, both in content and attributes.
|
SessionFile |
ProcessSessionWrap.clone(FlowFile parent,
long offset,
long size)
Creates a new FlowFile whose parent is the given FlowFile.
|
SessionFile |
ProcessSessionWrap.create()
Creates a new FlowFile in the repository with no content and without any
linkage to a parent FlowFile.
|
SessionFile |
ProcessSessionWrap.create(Collection<FlowFile> parents)
Creates a new FlowFile in the repository with no content but with a
parent linkage to the FlowFiles specified by the parents Collection.
|
SessionFile |
ProcessSessionWrap.create(FlowFile parent)
Creates a new FlowFile in the repository with no content but with a
parent linkage to
parent. |
SessionFile |
ProcessSessionWrap.get() |
SessionFile |
ProcessSessionWrap.importFrom(InputStream source,
FlowFile flowFile)
Writes to the given FlowFile all content from the given content path.
|
SessionFile |
ProcessSessionWrap.importFrom(Path source,
boolean keepSourceFile,
FlowFile flowFile)
Writes to the given FlowFile all content from the given content path.
|
SessionFile |
ProcessSessionWrap.merge(Collection<FlowFile> sources,
FlowFile destination)
Combines the content of all given source FlowFiles into a single given
destination FlowFile.
|
SessionFile |
ProcessSessionWrap.merge(Collection<FlowFile> sources,
FlowFile destination,
byte[] header,
byte[] footer,
byte[] demarcator)
Combines the content of all given source FlowFiles into a single given
destination FlowFile.
|
SessionFile |
ProcessSessionWrap.penalize(FlowFile flowFile)
Sets a penalty for the given FlowFile which will make it unavailable to
be operated on any further during the penalty period.
|
SessionFile |
ProcessSessionWrap.putAllAttributes(FlowFile flowFile,
Map<String,String> attributes)
Updates the given FlowFiles attributes with the given key/value pairs.
|
SessionFile |
SessionFile.putAllAttributes(Map<String,String> m)
Copy attributes from map into flowfile.
|
SessionFile |
ProcessSessionWrap.putAttribute(FlowFile flowFile,
String key,
String value)
Updates the given FlowFiles attributes with the given key/value pair.
|
SessionFile |
SessionFile.putAttribute(String key,
String value)
set attribute value.
|
SessionFile |
SessionFile.removeAllAttributes(Collection<String> keys)
Removes attributes by list.
|
SessionFile |
ProcessSessionWrap.removeAllAttributes(FlowFile flowFile,
Pattern keyPattern)
Remove all attributes from the given FlowFile that have keys which match
the given pattern.
|
SessionFile |
ProcessSessionWrap.removeAllAttributes(FlowFile flowFile,
Set<String> keys)
Removes the attributes with the given keys from the given FlowFile.
|
SessionFile |
ProcessSessionWrap.removeAttribute(FlowFile flowFile,
String key)
Removes the given FlowFile attribute with the given key.
|
SessionFile |
SessionFile.removeAttribute(String key)
Removes one attribute.
|
abstract SessionFile |
ProcessSessionWrap.wrap(FlowFile f)
function returns wrapped flowfile with session for the simplified script access.
|
SessionFile |
GroovyProcessSessionWrap.wrap(FlowFile f)
function returns wrapped flow file with session for the simplified script access.
|
SessionFile |
ProcessSessionWrap.write(FlowFile flowFile,
OutputStreamCallback writer)
Executes the given callback against the content corresponding to the
given FlowFile.
|
SessionFile |
ProcessSessionWrap.write(FlowFile flowFile,
StreamCallback writer)
Executes the given callback against the content corresponding to the
given flow file.
|
SessionFile |
SessionFile.write(OutputStreamCallback c)
write flowfile content.
|
SessionFile |
SessionFile.write(StreamCallback c)
write flowfile content.
|
Copyright © 2022 Apache NiFi Project. All rights reserved.