AbstractLowCodeLoadOptionsProvider

AbstractLowCodeLoadOptionsProvider class

Implementation to provide multiple load options for processes that use multiple inputs(such as template files).

class AbstractLowCodeLoadOptionsProvider;

Remarks

For example, SpreadsheetMerger feature requires multiple template files to merge.

Methods

MethodDescription
moveNext()Checks whether there is more input.
finish(LowCodeLoadOptions)Releases resources after processing currently part of input.
isNull()Checks whether the implementation object is null.
getCurrent()Gets the load options from which to load data of currently processed part.

moveNext()

Checks whether there is more input.

moveNext() : boolean;

finish(LowCodeLoadOptions)

Releases resources after processing currently part of input.

finish(part: LowCodeLoadOptions) : void;

Parameters:

ParameterTypeDescription
partLowCodeLoadOptionsthe load options used for currently split part.

Remarks

By default this method just closes the stream specified by the LowCodeLoadOptions.InputStream directly(if the load options specified a Stream as source). User may overwrite this method to control how to release resources according to their requirement and the implementation of Current.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

getCurrent()

Gets the load options from which to load data of currently processed part.

getCurrent() : LowCodeLoadOptions;

Returns

LowCodeLoadOptions