Class ColumnRenaming

java.lang.Object
oracle.pgx.api.frames.functions.ColumnRenaming

public class ColumnRenaming extends Object
  • Method Details

    • renaming

      public static ColumnRenaming renaming(String columnName, 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 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 String getNewColumnName()
      Retrieve the name that the column should have after renaming
      Returns:
      the name of the column after renaming