public class RawGpudbResponse extends Object implements org.apache.avro.generic.IndexedRecord
Constructor and Description |
---|
RawGpudbResponse()
Constructs a RawGpudbResponse object with default parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
ByteBuffer |
getData() |
String |
getDataStr() |
String |
getDataType() |
String |
getMessage() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
String |
getStatus() |
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
RawGpudbResponse |
setData(ByteBuffer data) |
RawGpudbResponse |
setDataStr(String dataStr) |
RawGpudbResponse |
setDataType(String dataType) |
RawGpudbResponse |
setMessage(String message) |
RawGpudbResponse |
setStatus(String status) |
String |
toString() |
public RawGpudbResponse()
public static org.apache.avro.Schema getClassSchema()
public String getStatus()
public RawGpudbResponse setStatus(String status)
status
- this
to mimic the builder pattern.public String getMessage()
public RawGpudbResponse setMessage(String message)
message
- this
to mimic the builder pattern.public String getDataType()
public RawGpudbResponse setDataType(String dataType)
dataType
- this
to mimic the builder pattern.public ByteBuffer getData()
public RawGpudbResponse setData(ByteBuffer data)
data
- this
to mimic the builder pattern.public String getDataStr()
public RawGpudbResponse setDataStr(String dataStr)
dataStr
- this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2019. All rights reserved.