public class GpudbResponse extends Object implements org.apache.avro.generic.IndexedRecord
Constructor and Description |
---|
GpudbResponse()
Constructs a GpudbResponse 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.
|
GpudbResponse |
setData(ByteBuffer data) |
GpudbResponse |
setDataStr(String dataStr) |
GpudbResponse |
setDataType(String dataType) |
GpudbResponse |
setMessage(String message) |
GpudbResponse |
setStatus(String status) |
String |
toString() |
public GpudbResponse()
public static org.apache.avro.Schema getClassSchema()
public String getStatus()
public GpudbResponse setStatus(String status)
status
- this
to mimic the builder pattern.public String getMessage()
public GpudbResponse setMessage(String message)
message
- this
to mimic the builder pattern.public String getDataType()
public GpudbResponse setDataType(String dataType)
dataType
- this
to mimic the builder pattern.public ByteBuffer getData()
public GpudbResponse setData(ByteBuffer data)
data
- this
to mimic the builder pattern.public String getDataStr()
public GpudbResponse 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 © 2017. All rights reserved.