Class Cast.Narrowing
java.lang.Object
org.apache.beam.sdk.schemas.transforms.Cast.Narrowing
- All Implemented Interfaces:
 Serializable,Cast.Validator
Narrowing changes type without guarantee to preserve data.
 
Standard narrowing conversions:
- any conversions of 
Cast.Widening - conversions the opposite to 
Cast.Widening 
Row narrowing
- wider schema to schema with a subset of fields
 - non-nullable fields to nullable fields
 - nullable fields to non-nullable fields
 
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Narrowing
public Narrowing() 
 - 
 - 
Method Details
- 
of
 - 
toString
 - 
apply
- Specified by:
 applyin interfaceCast.Validator
 
 -