RenameStrategy

Inheritance: java.lang.Object

public final class RenameStrategy

Strategy option for duplicate names of columns.

Remarks

When processing data with headers, some scenarios require the headers to be no duplication for all columns. For example, when exporting data to a datatable and the header is required to be taken as datatable’s column name, duplicated values of the header are invalid. For such kind of situations, user may determine how to handle them by specifying this strategy.

Fields

FieldDescription
DIGITNamed with digit.
EXCEPTIONThrows exception.
LETTERNamed with letter..

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

DIGIT

public static final int DIGIT

Named with digit. Duplicated names will become …1, …2, etc.

EXCEPTION

public static final int EXCEPTION

Throws exception.

LETTER

public static final int LETTER

Named with letter.. Duplicated names will become …A, …B, etc.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

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