public static class GenericData.Fixed extends Object implements GenericFixed, Comparable<GenericData.Fixed>
GenericFixed
.Modifier | Constructor and Description |
---|---|
protected |
Fixed() |
|
Fixed(Schema schema) |
|
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 Fixed(Schema schema)
public Fixed(Schema schema, byte[] bytes)
protected 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–2021 The Apache Software Foundation. All rights reserved.