public static class GenericData.Fixed extends Object implements GenericFixed, Comparable<GenericData.Fixed>
GenericFixed.| Modifier | Constructor and Description |
|---|---|
protected |
GenericData.Fixed() |
|
GenericData.Fixed(Schema schema) |
|
GenericData.Fixed(Schema schema,
byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
bytes()
Return the data.
|
void |
bytes(byte[] bytes) |
int |
compareTo(GenericData.Fixed that) |
boolean |
equals(Object o) |
Schema |
getSchema()
The schema of this instance.
|
int |
hashCode() |
protected void |
setSchema(Schema schema) |
String |
toString() |
public GenericData.Fixed(Schema schema)
public GenericData.Fixed(Schema schema, byte[] bytes)
protected GenericData.Fixed()
protected void setSchema(Schema schema)
public Schema getSchema()
GenericContainergetSchema in interface GenericContainerpublic void bytes(byte[] bytes)
public byte[] bytes()
GenericFixedbytes in interface GenericFixedpublic int compareTo(GenericData.Fixed that)
compareTo in interface Comparable<GenericData.Fixed>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.