org.apache.avro.generic
Class GenericData.Record
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.apache.avro.generic.GenericData.Record
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<GenericData.Record>, Map<String,Object>, GenericContainer, GenericRecord
- Enclosing class:
- GenericData
public static class GenericData.Record
- extends HashMap<String,Object>
- implements GenericRecord, Comparable<GenericData.Record>
Default implementation of GenericRecord
.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
GenericData.Record
public GenericData.Record(Schema schema)
getSchema
public Schema getSchema()
- Description copied from interface:
GenericContainer
- The schema of this instance.
- Specified by:
getSchema
in interface GenericContainer
compareTo
public int compareTo(GenericData.Record that)
- Specified by:
compareTo
in interface Comparable<GenericData.Record>
Copyright © 2009 The Apache Software Foundation