Class RenameFields
java.lang.Object
org.apache.beam.sdk.schemas.transforms.RenameFields
A transform for renaming fields inside an existing schema. Top level or nested fields can be
 renamed. When renaming a nested field, the nested prefix does not need to be specified again when
 specifying the new name.
 
Example use:
PCollection<Event> events = readEvents();
 PCollection<Row> renamedEvents =
   events.apply(RenameFields.<Event>create()
       .rename("userName", "userId")
       .rename("location.country", "countryCode"));
 - 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe class implementing the actual PTransform. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic <T> RenameFields.Inner<T> create()Create an instance of this transform. 
- 
Constructor Details
- 
RenameFields
public RenameFields() 
 - 
 - 
Method Details
- 
create
Create an instance of this transform. 
 -