public class RoleHistoryMapping
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
RoleHistoryMapping.Builder
RecordBuilder for RoleHistoryMapping instances.
|
| Modifier and Type | Field and Description |
|---|---|
Map<CharSequence,Integer> |
rolemap
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
RoleHistoryMapping()
Default constructor.
|
RoleHistoryMapping(Map<CharSequence,Integer> rolemap)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Map<CharSequence,Integer> |
getRolemap()
Gets the value of the 'rolemap' field.
|
org.apache.avro.Schema |
getSchema() |
static RoleHistoryMapping.Builder |
newBuilder()
Creates a new RoleHistoryMapping RecordBuilder
|
static RoleHistoryMapping.Builder |
newBuilder(RoleHistoryMapping.Builder other)
Creates a new RoleHistoryMapping RecordBuilder by copying an existing Builder
|
static RoleHistoryMapping.Builder |
newBuilder(RoleHistoryMapping other)
Creates a new RoleHistoryMapping RecordBuilder by copying an existing RoleHistoryMapping instance
|
void |
put(int field$,
Object value$) |
void |
setRolemap(Map<CharSequence,Integer> value)
Sets the value of the 'rolemap' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public Map<CharSequence,Integer> rolemap
public RoleHistoryMapping()
public RoleHistoryMapping(Map<CharSequence,Integer> rolemap)
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 Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic Map<CharSequence,Integer> getRolemap()
public void setRolemap(Map<CharSequence,Integer> value)
value - the value to set.public static RoleHistoryMapping.Builder newBuilder()
public static RoleHistoryMapping.Builder newBuilder(RoleHistoryMapping.Builder other)
public static RoleHistoryMapping.Builder newBuilder(RoleHistoryMapping other)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.