@Experimental(value=SCHEMAS) public class FixedBytes extends java.lang.Object implements Schema.LogicalType<byte[],byte[]>
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
IDENTIFIER  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Integer | 
getArgument()
An optional argument to configure the type. 
 | 
Schema.FieldType | 
getArgumentType()
A schema type representing how to interpret the argument. 
 | 
Schema.FieldType | 
getBaseType()
The base  
Schema.FieldType used to store values of this type. | 
java.lang.String | 
getIdentifier()
The unique identifier for this type. 
 | 
int | 
getLength()  | 
static FixedBytes | 
of(int byteArraySize)  | 
byte[] | 
toBaseType(byte[] input)
Convert the input type to the type Java type used by the base  
Schema.FieldType. | 
byte[] | 
toInputType(byte[] base)
Convert the Java type used by the base  
Schema.FieldType to the input type. | 
java.lang.String | 
toString()  | 
public static final java.lang.String IDENTIFIER
public static FixedBytes of(int byteArraySize)
public int getLength()
public java.lang.String getIdentifier()
Schema.LogicalTypegetIdentifier in interface Schema.LogicalType<byte[],byte[]>public Schema.FieldType getArgumentType()
Schema.LogicalTypenull indicates this logical
 type is not parameterized by an argument.getArgumentType in interface Schema.LogicalType<byte[],byte[]>public java.lang.Integer getArgument()
Schema.LogicalTypegetArgument in interface Schema.LogicalType<byte[],byte[]>public Schema.FieldType getBaseType()
Schema.LogicalTypeSchema.FieldType used to store values of this type.getBaseType in interface Schema.LogicalType<byte[],byte[]>public byte[] toBaseType(byte[] input)
Schema.LogicalTypeSchema.FieldType.toBaseType in interface Schema.LogicalType<byte[],byte[]>public byte[] toInputType(byte[] base)
Schema.LogicalTypeSchema.FieldType to the input type.toInputType in interface Schema.LogicalType<byte[],byte[]>public java.lang.String toString()
toString in class java.lang.Object