public class DataAttribute
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
DataAttribute.Builder
RecordBuilder for DataAttribute instances.
|
Modifier and Type | Field and Description |
---|---|
int |
attributeId
Deprecated.
|
DataValue |
attributeValue
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
DataAttribute()
Default constructor.
|
DataAttribute(Integer attributeId,
DataValue attributeValue)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
Integer |
getAttributeId()
Gets the value of the 'attributeId' field.
|
DataValue |
getAttributeValue()
Gets the value of the 'attributeValue' field.
|
static org.apache.avro.Schema |
getClassSchema() |
org.apache.avro.Schema |
getSchema() |
static DataAttribute.Builder |
newBuilder()
Creates a new DataAttribute RecordBuilder
|
static DataAttribute.Builder |
newBuilder(DataAttribute.Builder other)
Creates a new DataAttribute RecordBuilder by copying an existing Builder
|
static DataAttribute.Builder |
newBuilder(DataAttribute other)
Creates a new DataAttribute RecordBuilder by copying an existing DataAttribute instance
|
void |
put(int field$,
Object value$) |
void |
setAttributeId(Integer value)
Sets the value of the 'attributeId' field.
|
void |
setAttributeValue(DataValue value)
Sets the value of the 'attributeValue' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public int attributeId
@Deprecated public DataValue attributeValue
public DataAttribute()
newBuilder()
.public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public Integer getAttributeId()
public void setAttributeId(Integer value)
value
- the value to set.public DataValue getAttributeValue()
public void setAttributeValue(DataValue value)
value
- the value to set.public static DataAttribute.Builder newBuilder()
public static DataAttribute.Builder newBuilder(DataAttribute.Builder other)
public static DataAttribute.Builder newBuilder(DataAttribute other)
Copyright © 2023 Petroware AS - https://petroware.no