Package org.apache.avro.generic
Class GenericData.Fixed
java.lang.Object
org.apache.avro.generic.GenericData.Fixed
- All Implemented Interfaces:
Comparable<GenericData.Fixed>
,GenericContainer
,GenericFixed
- Enclosing class:
GenericData
public static class GenericData.Fixed
extends Object
implements GenericFixed, Comparable<GenericData.Fixed>
Default implementation of
GenericFixed
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Fixed
-
Fixed
-
Fixed
protected Fixed()
-
-
Method Details
-
setSchema
-
getSchema
Description copied from interface:GenericContainer
The schema of this instance.- Specified by:
getSchema
in interfaceGenericContainer
-
bytes
public void bytes(byte[] bytes) -
bytes
public byte[] bytes()Description copied from interface:GenericFixed
Return the data.- Specified by:
bytes
in interfaceGenericFixed
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<GenericData.Fixed>
-