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