public interface IgfsTaskArgs<T>
IgniteFs.execute(...)
methods,
all passed parameters are encapsulated in a single IgfsTaskArgs
object. Later on this object is
passed to IgfsTask.createJob(org.apache.ignite.igfs.IgfsPath, IgfsFileRange, IgfsTaskArgs)
method.
Task arguments encapsulates the following data:
IgniteFs.execute()
methodIgfsRecordResolver
for that taskFileSystemConfiguration.getMaximumTaskRangeLength()
)Modifier and Type | Method and Description |
---|---|
String |
igfsName()
Gets IGFS name.
|
long |
maxRangeLength()
Optional maximum allowed range length,
0 by default. |
Collection<IgfsPath> |
paths()
Gets file paths to process.
|
IgfsRecordResolver |
recordResolver()
Gets record resolver for the task.
|
boolean |
skipNonExistentFiles()
Flag indicating whether to fail or simply skip non-existent files.
|
T |
userArgument()
User argument provided for task execution.
|
String igfsName()
Collection<IgfsPath> paths()
IgfsRecordResolver recordResolver()
boolean skipNonExistentFiles()
True
if non-existent files should be skipped.T userArgument()
long maxRangeLength()
0
by default. If not specified, full range including
all consecutive blocks will be used without any limitations.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019