public class IgfsTaskArgsImpl<T> extends Object implements IgfsTaskArgs<T>, Externalizable
| Constructor and Description |
|---|
IgfsTaskArgsImpl()
Externalizable support. |
IgfsTaskArgsImpl(String igfsName,
Collection<IgfsPath> paths,
IgfsRecordResolver recRslvr,
boolean skipNonExistentFiles,
long maxRangeLen,
T usrArg)
Constructor.
|
| 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.
|
void |
readExternal(ObjectInput in) |
IgfsRecordResolver |
recordResolver()
Gets record resolver for the task.
|
boolean |
skipNonExistentFiles()
Flag indicating whether to fail or simply skip non-existent files.
|
String |
toString() |
T |
userArgument()
User argument provided for task execution.
|
void |
writeExternal(ObjectOutput out) |
public IgfsTaskArgsImpl()
Externalizable support.public IgfsTaskArgsImpl(String igfsName, Collection<IgfsPath> paths, IgfsRecordResolver recRslvr, boolean skipNonExistentFiles, long maxRangeLen, T usrArg)
igfsName - IGFS name.paths - Paths.recRslvr - Record resolver.skipNonExistentFiles - Skip non existent files flag.maxRangeLen - Maximum range length.usrArg - User argument.public String igfsName()
igfsName in interface IgfsTaskArgs<T>public Collection<IgfsPath> paths()
paths in interface IgfsTaskArgs<T>public IgfsRecordResolver recordResolver()
recordResolver in interface IgfsTaskArgs<T>public boolean skipNonExistentFiles()
skipNonExistentFiles in interface IgfsTaskArgs<T>True if non-existent files should be skipped.public long maxRangeLength()
0 by default. If not specified, full range including
all consecutive blocks will be used without any limitations.maxRangeLength in interface IgfsTaskArgs<T>public T userArgument()
userArgument in interface IgfsTaskArgs<T>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018