public class ShowDatasinkResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showDatasink
.Modifier and Type | Class and Description |
---|---|
static class |
ShowDatasinkResponse.AdditionalInfo
A set of string constants for the
ShowDatasinkResponse parameter
additionalInfo . |
Constructor and Description |
---|
ShowDatasinkResponse()
Constructs a ShowDatasinkResponse 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.
|
List<Map<String,String>> |
getAdditionalInfo()
Additional information about the respective data sinks in
datasinkNames . |
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<String> |
getDatasinkNames()
The data sink names.
|
List<String> |
getDestinationTypes()
The destination type of the data sinks named in
datasinkNames . |
Map<String,String> |
getInfo()
Additional information.
|
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
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.
|
ShowDatasinkResponse |
setAdditionalInfo(List<Map<String,String>> additionalInfo)
Additional information about the respective data sinks in
datasinkNames . |
ShowDatasinkResponse |
setDatasinkNames(List<String> datasinkNames)
The data sink names.
|
ShowDatasinkResponse |
setDestinationTypes(List<String> destinationTypes)
The destination type of the data sinks named in
datasinkNames . |
ShowDatasinkResponse |
setInfo(Map<String,String> info)
Additional information.
|
String |
toString() |
public ShowDatasinkResponse()
public static org.apache.avro.Schema getClassSchema()
public List<String> getDatasinkNames()
datasinkNames
.public ShowDatasinkResponse setDatasinkNames(List<String> datasinkNames)
datasinkNames
- The new value for datasinkNames
.this
to mimic the builder pattern.public List<String> getDestinationTypes()
datasinkNames
.destinationTypes
.public ShowDatasinkResponse setDestinationTypes(List<String> destinationTypes)
datasinkNames
.destinationTypes
- The new value for destinationTypes
.this
to mimic the builder pattern.public List<Map<String,String>> getAdditionalInfo()
datasinkNames
.
DESTINATION
: Destination for
the output data in 'destination_type://path[:port]' format
KAFKA_TOPIC_NAME
: Kafka
topic if the data sink type is a Kafka broker
USER_NAME
: Name of the remote
system user
additionalInfo
.public ShowDatasinkResponse setAdditionalInfo(List<Map<String,String>> additionalInfo)
datasinkNames
.
DESTINATION
: Destination for
the output data in 'destination_type://path[:port]' format
KAFKA_TOPIC_NAME
: Kafka
topic if the data sink type is a Kafka broker
USER_NAME
: Name of the remote
system user
additionalInfo
- The new value for additionalInfo
.this
to mimic the builder pattern.public Map<String,String> getInfo()
info
.public ShowDatasinkResponse setInfo(Map<String,String> info)
info
- The new value for info
.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 © 2025. All rights reserved.