Class AvroUtils.FixedBytesField
java.lang.Object
org.apache.beam.sdk.extensions.avro.schemas.utils.AvroUtils.FixedBytesField
- Enclosing class:
 AvroUtils
Wrapper for fixed byte fields.
- 
Method Summary
Modifier and TypeMethodDescriptionfromAvroType(Schema type) Create aAvroUtils.FixedBytesFieldfrom an AVRO type.fromBeamFieldType(Schema.FieldType fieldType) Create aAvroUtils.FixedBytesFieldfrom a BeamSchema.FieldType.intgetSize()Get the size.toAvroType(String name, String namespace) Convert to an AVRO type.Convert to a Beam type.static AvroUtils.FixedBytesFieldwithSize(int size) Create aAvroUtils.FixedBytesFieldwith the specified size. 
- 
Method Details
- 
withSize
Create aAvroUtils.FixedBytesFieldwith the specified size. - 
fromBeamFieldType
Create aAvroUtils.FixedBytesFieldfrom a BeamSchema.FieldType. - 
fromAvroType
Create aAvroUtils.FixedBytesFieldfrom an AVRO type. - 
getSize
public int getSize()Get the size. - 
toBeamType
Convert to a Beam type. - 
toAvroType
Convert to an AVRO type. 
 -