public static class AvroUtils.FixedBytesField
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static AvroUtils.FixedBytesField |
fromAvroType(Schema type)
Create a
AvroUtils.FixedBytesField from an AVRO type. |
static AvroUtils.FixedBytesField |
fromBeamFieldType(Schema.FieldType fieldType)
Create a
AvroUtils.FixedBytesField from a Beam Schema.FieldType . |
int |
getSize()
Get the size.
|
Schema |
toAvroType()
Convert to an AVRO type.
|
Schema.FieldType |
toBeamType()
Convert to a Beam type.
|
static AvroUtils.FixedBytesField |
withSize(int size)
Create a
AvroUtils.FixedBytesField with the specified size. |
public static AvroUtils.FixedBytesField withSize(int size)
AvroUtils.FixedBytesField
with the specified size.@Nullable public static AvroUtils.FixedBytesField fromBeamFieldType(Schema.FieldType fieldType)
AvroUtils.FixedBytesField
from a Beam Schema.FieldType
.@Nullable public static AvroUtils.FixedBytesField fromAvroType(Schema type)
AvroUtils.FixedBytesField
from an AVRO type.public int getSize()
public Schema.FieldType toBeamType()
public Schema toAvroType()