AbstractLowCodeSaveOptionsProvider

Inheritance: java.lang.Object

public abstract class AbstractLowCodeSaveOptionsProvider

Implementation to provide multiple save options for processes that require multiple outputs. For example, SpreadsheetSplitter feature requires multiple destinations to save the split files.

Constructors

ConstructorDescription
AbstractLowCodeSaveOptionsProvider()

Methods

MethodDescription
equals(Object arg0)
finish(LowCodeSaveOptions part)Releases resources after processing currently split part.
getClass()
getSaveOptions(SplitPartInfo part)Gets the save options from which to get the output settings for currently split part.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AbstractLowCodeSaveOptionsProvider()

public AbstractLowCodeSaveOptionsProvider()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

finish(LowCodeSaveOptions part)

public void finish(LowCodeSaveOptions part)

Releases resources after processing currently split part.

Remarks

By default this method just closes the stream specified by the LowCodeSaveOptions.getOutputStream() directly(if the save options specified a Stream as destination). User may overwrite this method to control how to release resources according to their requirement and the implementation of getSaveOptions(SplitPartInfo).

Parameters:

ParameterTypeDescription
partLowCodeSaveOptionsthe save options used for currently split part.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getSaveOptions(SplitPartInfo part)

public abstract LowCodeSaveOptions getSaveOptions(SplitPartInfo part)

Gets the save options from which to get the output settings for currently split part. Returning null denotes to skip given part.

Parameters:

ParameterTypeDescription
partSplitPartInfo

Returns: LowCodeSaveOptions

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int