public class HasTypeResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.hasType(HasTypeRequest).| Modifier and Type | Class and Description |
|---|---|
static class |
HasTypeResponse.TypeExists
Indicates whether the type exists or not.
|
| Constructor and Description |
|---|
HasTypeResponse()
Constructs a HasTypeResponse 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.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
boolean |
getTypeExists() |
String |
getTypeId() |
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.
|
HasTypeResponse |
setTypeExists(boolean typeExists) |
HasTypeResponse |
setTypeId(String typeId) |
String |
toString() |
public HasTypeResponse()
public static org.apache.avro.Schema getClassSchema()
public String getTypeId()
typeId.public HasTypeResponse setTypeId(String typeId)
typeId - Value of typeId.this to mimic the builder pattern.public boolean getTypeExists()
public HasTypeResponse setTypeExists(boolean typeExists)
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2017. All rights reserved.