org.apache.avro.generic
Class GenericData.Fixed

java.lang.Object
  extended by org.apache.avro.generic.GenericData.Fixed
All Implemented Interfaces:
GenericFixed
Direct Known Subclasses:
SpecificFixed
Enclosing class:
GenericData

public static class GenericData.Fixed
extends Object
implements GenericFixed


Constructor Summary
protected GenericData.Fixed()
           
  GenericData.Fixed(byte[] bytes)
           
  GenericData.Fixed(Schema schema)
           
 
Method Summary
 byte[] bytes()
          Return the data.
 void bytes(byte[] bytes)
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericData.Fixed

public GenericData.Fixed(Schema schema)

GenericData.Fixed

public GenericData.Fixed(byte[] bytes)

GenericData.Fixed

protected GenericData.Fixed()
Method Detail

bytes

public void bytes(byte[] bytes)

bytes

public byte[] bytes()
Description copied from interface: GenericFixed
Return the data.

Specified by:
bytes in interface GenericFixed

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 The Apache Software Foundation