public class ImageRecord extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord, ImageEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageRecord.Builder
RecordBuilder for ImageRecord instances.
|
| Modifier and Type | Field and Description |
|---|---|
ByteBuffer |
data
Deprecated.
|
int |
height
Deprecated.
|
long |
imageId
Deprecated.
|
String |
imageSourceId
Deprecated.
|
long |
imageTimestampMillisecUTC
Deprecated.
|
int |
nChannels
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
int |
width
Deprecated.
|
int |
widthStep
Deprecated.
|
| Constructor and Description |
|---|
ImageRecord() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
ByteBuffer |
getData()
Gets the value of the 'data' field.
|
Integer |
getHeight()
Gets the value of the 'height' field.
|
Long |
getImageId()
Gets the value of the 'imageId' field.
|
String |
getImageSourceId()
Gets the value of the 'imageSourceId' field.
|
Long |
getImageTimestampMillisecUTC()
Gets the value of the 'imageTimestampMillisecUTC' field.
|
Integer |
getNChannels()
Gets the value of the 'nChannels' field.
|
org.apache.avro.Schema |
getSchema() |
Integer |
getWidth()
Gets the value of the 'width' field.
|
Integer |
getWidthStep()
Gets the value of the 'widthStep' field.
|
static ImageRecord.Builder |
newBuilder()
Creates a new ImageRecord RecordBuilder
|
static ImageRecord.Builder |
newBuilder(ImageRecord.Builder other)
Creates a new ImageRecord RecordBuilder by copying an existing Builder
|
static ImageRecord.Builder |
newBuilder(ImageRecord other)
Creates a new ImageRecord RecordBuilder by copying an existing ImageRecord instance
|
void |
put(int field$,
Object value$) |
void |
setData(ByteBuffer value)
Sets the value of the 'data' field.
|
void |
setHeight(Integer value)
Sets the value of the 'height' field.
|
void |
setImageId(Long value)
Sets the value of the 'imageId' field.
|
void |
setImageSourceId(String value)
Sets the value of the 'imageSourceId' field.
|
void |
setImageTimestampMillisecUTC(Long value)
Sets the value of the 'imageTimestampMillisecUTC' field.
|
void |
setNChannels(Integer value)
Sets the value of the 'nChannels' field.
|
void |
setWidth(Integer value)
Sets the value of the 'width' field.
|
void |
setWidthStep(Integer value)
Sets the value of the 'widthStep' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public String imageSourceId
@Deprecated public long imageId
@Deprecated public long imageTimestampMillisecUTC
@Deprecated public int width
@Deprecated public int height
@Deprecated public int nChannels
@Deprecated public int widthStep
@Deprecated public ByteBuffer data
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 String getImageSourceId()
getImageSourceId in interface ImageEventpublic void setImageSourceId(String value)
value - the value to set.public Long getImageId()
getImageId in interface ImageEventpublic void setImageId(Long value)
value - the value to set.public Long getImageTimestampMillisecUTC()
getImageTimestampMillisecUTC in interface ImageEventpublic void setImageTimestampMillisecUTC(Long value)
value - the value to set.public Integer getWidth()
getWidth in interface ImageEventpublic void setWidth(Integer value)
value - the value to set.public Integer getHeight()
getHeight in interface ImageEventpublic void setHeight(Integer value)
value - the value to set.public Integer getNChannels()
getNChannels in interface ImageEventpublic void setNChannels(Integer value)
value - the value to set.public Integer getWidthStep()
getWidthStep in interface ImageEventpublic void setWidthStep(Integer value)
value - the value to set.public ByteBuffer getData()
getData in interface ImageEventpublic void setData(ByteBuffer value)
value - the value to set.public static ImageRecord.Builder newBuilder()
public static ImageRecord.Builder newBuilder(ImageRecord.Builder other)
public static ImageRecord.Builder newBuilder(ImageRecord other)
Copyright © 2011-2016. All Rights Reserved.