Package com.gpudb.protocol
Class ShowDatasinkResponse
- java.lang.Object
-
- com.gpudb.protocol.ShowDatasinkResponse
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer,org.apache.avro.generic.IndexedRecord
public class ShowDatasinkResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned byGPUdb.showDatasink.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShowDatasinkResponse.AdditionalInfoA set of string constants for theShowDatasinkResponseparameteradditionalInfo.
-
Constructor Summary
Constructors Constructor Description ShowDatasinkResponse()Constructs a ShowDatasinkResponse object with default parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Objectget(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 indatasinkNames.static org.apache.avro.SchemagetClassSchema()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 indatasinkNames.Map<String,String>getInfo()Additional information.org.apache.avro.SchemagetSchema()This method supports the Avro framework and is not intended to be called directly by the user.inthashCode()voidput(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.ShowDatasinkResponsesetAdditionalInfo(List<Map<String,String>> additionalInfo)Additional information about the respective data sinks indatasinkNames.ShowDatasinkResponsesetDatasinkNames(List<String> datasinkNames)The data sink names.ShowDatasinkResponsesetDestinationTypes(List<String> destinationTypes)The destination type of the data sinks named indatasinkNames.ShowDatasinkResponsesetInfo(Map<String,String> info)Additional information.StringtoString()
-
-
-
Method Detail
-
getClassSchema
public static org.apache.avro.Schema getClassSchema()
This method supports the Avro framework and is not intended to be called directly by the user.- Returns:
- The schema for the class.
-
getDatasinkNames
public List<String> getDatasinkNames()
The data sink names.- Returns:
- The current value of
datasinkNames.
-
setDatasinkNames
public ShowDatasinkResponse setDatasinkNames(List<String> datasinkNames)
The data sink names.- Parameters:
datasinkNames- The new value fordatasinkNames.- Returns:
thisto mimic the builder pattern.
-
getDestinationTypes
public List<String> getDestinationTypes()
The destination type of the data sinks named indatasinkNames.- Returns:
- The current value of
destinationTypes.
-
setDestinationTypes
public ShowDatasinkResponse setDestinationTypes(List<String> destinationTypes)
The destination type of the data sinks named indatasinkNames.- Parameters:
destinationTypes- The new value fordestinationTypes.- Returns:
thisto mimic the builder pattern.
-
getAdditionalInfo
public List<Map<String,String>> getAdditionalInfo()
Additional information about the respective data sinks indatasinkNames.DESTINATION: Destination for the output data in 'destination_type://path[:port]' formatKAFKA_TOPIC_NAME: Kafka topic if the data sink type is a Kafka brokerUSER_NAME: Name of the remote system user
- Returns:
- The current value of
additionalInfo.
-
setAdditionalInfo
public ShowDatasinkResponse setAdditionalInfo(List<Map<String,String>> additionalInfo)
Additional information about the respective data sinks indatasinkNames.DESTINATION: Destination for the output data in 'destination_type://path[:port]' formatKAFKA_TOPIC_NAME: Kafka topic if the data sink type is a Kafka brokerUSER_NAME: Name of the remote system user
- Parameters:
additionalInfo- The new value foradditionalInfo.- Returns:
thisto mimic the builder pattern.
-
getInfo
public Map<String,String> getInfo()
Additional information.- Returns:
- The current value of
info.
-
setInfo
public ShowDatasinkResponse setInfo(Map<String,String> info)
Additional information.- Parameters:
info- The new value forinfo.- Returns:
thisto mimic the builder pattern.
-
getSchema
public org.apache.avro.Schema getSchema()
This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
getSchemain interfaceorg.apache.avro.generic.GenericContainer- Returns:
- The schema object describing this class.
-
get
public Object get(int index)
This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
getin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to get- Returns:
- value of the field with the given index.
- Throws:
IndexOutOfBoundsException
-
put
public void put(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
putin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to setvalue- the value to set- Throws:
IndexOutOfBoundsException
-
-