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