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()
GenericContainer
getSchema
in interface GenericContainer
public void bytes(byte[] bytes)
public byte[] bytes()
GenericFixed
bytes
in interface GenericFixed
public int compareTo(GenericData.Fixed that)
compareTo
in interface Comparable<GenericData.Fixed>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.