Class ColumnRenaming


  • public class ColumnRenaming
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getColumnName()
      Retrieve the name of the original column that should be renamed
      java.lang.String getNewColumnName()
      Retrieve the name that the column should have after renaming
      static ColumnRenaming renaming​(java.lang.String columnName, java.lang.String newColumnName)
      Create a new column renaming from the old column name to the new column name
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • renaming

        public static ColumnRenaming renaming​(java.lang.String columnName,
                                              java.lang.String newColumnName)
        Create a new column renaming from the old column name to the new column name
        Parameters:
        columnName - the name of the column to rename
        newColumnName - the new name to give to the column
        Returns:
        the renaming object
      • getColumnName

        public java.lang.String getColumnName()
        Retrieve the name of the original column that should be renamed
        Returns:
        the name of the column that should be renamed
      • getNewColumnName

        public java.lang.String getNewColumnName()
        Retrieve the name that the column should have after renaming
        Returns:
        the name of the column after renaming