public class Maps
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
Maps.Builder
RecordBuilder for Maps instances.
|
| Modifier and Type | Field and Description |
|---|---|
java.util.Map<java.lang.CharSequence,java.util.Map<java.lang.CharSequence,java.lang.Integer>> |
maps
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
Maps()
Default constructor.
|
Maps(java.util.Map<java.lang.CharSequence,java.util.Map<java.lang.CharSequence,java.lang.Integer>> maps)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
java.util.Map<java.lang.CharSequence,java.util.Map<java.lang.CharSequence,java.lang.Integer>> |
getMaps()
Gets the value of the 'maps' field.
|
org.apache.avro.Schema |
getSchema() |
static Maps.Builder |
newBuilder()
Creates a new Maps RecordBuilder
|
static Maps.Builder |
newBuilder(Maps.Builder other)
Creates a new Maps RecordBuilder by copying an existing Builder
|
static Maps.Builder |
newBuilder(Maps other)
Creates a new Maps RecordBuilder by copying an existing Maps instance
|
void |
put(int field$,
java.lang.Object value$) |
void |
setMaps(java.util.Map<java.lang.CharSequence,java.util.Map<java.lang.CharSequence,java.lang.Integer>> value)
Sets the value of the 'maps' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public java.util.Map<java.lang.CharSequence,java.util.Map<java.lang.CharSequence,java.lang.Integer>> maps
public Maps()
newBuilder().public Maps(java.util.Map<java.lang.CharSequence,java.util.Map<java.lang.CharSequence,java.lang.Integer>> maps)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic java.lang.Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
java.lang.Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic java.util.Map<java.lang.CharSequence,java.util.Map<java.lang.CharSequence,java.lang.Integer>> getMaps()
public void setMaps(java.util.Map<java.lang.CharSequence,java.util.Map<java.lang.CharSequence,java.lang.Integer>> value)
value - the value to set.public static Maps.Builder newBuilder()
public static Maps.Builder newBuilder(Maps.Builder other)
public static Maps.Builder newBuilder(Maps other)