public static class AvroUtils.FixedBytesField
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static @Nullable AvroUtils.FixedBytesField |
fromAvroType(Schema type)
Create a
AvroUtils.FixedBytesField from an AVRO type. |
static @Nullable AvroUtils.FixedBytesField |
fromBeamFieldType(Schema.FieldType fieldType)
Create a
AvroUtils.FixedBytesField from a Beam Schema.FieldType . |
int |
getSize()
Get the size.
|
Schema |
toAvroType(java.lang.String name,
java.lang.String namespace)
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.public static @Nullable AvroUtils.FixedBytesField fromBeamFieldType(Schema.FieldType fieldType)
AvroUtils.FixedBytesField
from a Beam Schema.FieldType
.public static @Nullable AvroUtils.FixedBytesField fromAvroType(Schema type)
AvroUtils.FixedBytesField
from an AVRO type.public int getSize()
public Schema.FieldType toBeamType()
public Schema toAvroType(java.lang.String name, java.lang.String namespace)