public interface MutableRowValue
| Modifier and Type | Method and Description |
|---|---|
Object |
getColumnValue(String columnName)
Get the value of a column by its name.
|
void |
renameColumn(String originalName,
String newName)
Rename a column.
|
void |
setColumnValue(String columnName,
Object value)
Set the value of a column by its name.
|
Object getColumnValue(String columnName) throws NotFoundException
columnName - the name of the column. Once column was renamed, new name should be used to get the value.NotFoundException - if the given column name doesn't exist.void setColumnValue(String columnName, Object value)
columnName - the latest name of a column.value - the value of the column.IllegalArgumentException - if the given column name is null.void renameColumn(String originalName, String newName)
originalName - the original name of the column to be renamed.newName - the new name of the column.IllegalArgumentException - will be thrown if the original column name doesn't exist or the new column name
already exists.Copyright © 2023 CDAP Licensed under the Apache License, Version 2.0.