public class RenameFields
extends java.lang.Object
Example use:
 PCollection<Event> events = readEvents();
 PCollection<Row> renamedEvents =
   events.apply(RenameFields.<Event>create()
       .rename("userName", "userId")
       .rename("location.country", "countryCode"));
 | Modifier and Type | Class and Description | 
|---|---|
| static class  | RenameFields.Inner<T>The class implementing the actual PTransform. | 
| Constructor and Description | 
|---|
| RenameFields() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> RenameFields.Inner<T> | create()Create an instance of this transform. | 
public static <T> RenameFields.Inner<T> create()