public class DataItem
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
DataItem.Builder
RecordBuilder for DataItem instances.
|
Modifier and Type | Field and Description |
---|---|
long |
channelId
Deprecated.
|
List<Long> |
indexes
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
DataValue |
value
Deprecated.
|
List<DataAttribute> |
valueAttributes
Deprecated.
|
Constructor and Description |
---|
DataItem()
Default constructor.
|
DataItem(List<Long> indexes,
Long channelId,
DataValue value,
List<DataAttribute> valueAttributes)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
Long |
getChannelId()
Gets the value of the 'channelId' field.
|
static org.apache.avro.Schema |
getClassSchema() |
List<Long> |
getIndexes()
Gets the value of the 'indexes' field.
|
org.apache.avro.Schema |
getSchema() |
DataValue |
getValue()
Gets the value of the 'value' field.
|
List<DataAttribute> |
getValueAttributes()
Gets the value of the 'valueAttributes' field.
|
static DataItem.Builder |
newBuilder()
Creates a new DataItem RecordBuilder
|
static DataItem.Builder |
newBuilder(DataItem.Builder other)
Creates a new DataItem RecordBuilder by copying an existing Builder
|
static DataItem.Builder |
newBuilder(DataItem other)
Creates a new DataItem RecordBuilder by copying an existing DataItem instance
|
void |
put(int field$,
Object value$) |
void |
setChannelId(Long value)
Sets the value of the 'channelId' field.
|
void |
setIndexes(List<Long> value)
Sets the value of the 'indexes' field.
|
void |
setValue(DataValue value)
Sets the value of the 'value' field.
|
void |
setValueAttributes(List<DataAttribute> value)
Sets the value of the 'valueAttributes' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public List<Long> indexes
@Deprecated public long channelId
@Deprecated public DataValue value
@Deprecated public List<DataAttribute> valueAttributes
public DataItem()
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 void setIndexes(List<Long> value)
value
- the value to set.public Long getChannelId()
public void setChannelId(Long value)
value
- the value to set.public DataValue getValue()
public void setValue(DataValue value)
value
- the value to set.public List<DataAttribute> getValueAttributes()
public void setValueAttributes(List<DataAttribute> value)
value
- the value to set.public static DataItem.Builder newBuilder()
public static DataItem.Builder newBuilder(DataItem.Builder other)
public static DataItem.Builder newBuilder(DataItem other)
Copyright © 2023 Petroware AS - https://petroware.no