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.IndexedRecordA set of results returned by
GPUdb.showDatasink.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theShowDatasinkResponseparameteradditionalInfo.Constructor Summary
ConstructorsConstructorDescriptionConstructs a ShowDatasinkResponse object with default parameters.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.Additional information about the respective data sinks indatasinkNames.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The data sink names.The destination type of the data sinks named indatasinkNames.getInfo()Additional information.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setAdditionalInfo(List<Map<String, String>> additionalInfo) Additional information about the respective data sinks indatasinkNames.setDatasinkNames(List<String> datasinkNames) The data sink names.setDestinationTypes(List<String> destinationTypes) The destination type of the data sinks named indatasinkNames.Additional information.toString()
Method Details
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.setDatasinkNames
The data sink names.Parameters:datasinkNames- The new value fordatasinkNames.Returns:thisto mimic the builder pattern.getDestinationTypes
The destination type of the data sinks named indatasinkNames.Returns:The current value ofdestinationTypes.setDestinationTypes
The destination type of the data sinks named indatasinkNames.Parameters:destinationTypes- The new value fordestinationTypes.Returns:thisto mimic the builder pattern.getAdditionalInfo
Additional information about the respective data sinks indatasinkNames.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.
Returns:The current value ofadditionalInfo.setAdditionalInfo
Additional information about the respective data sinks indatasinkNames.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.
Parameters:additionalInfo- The new value foradditionalInfo.Returns:thisto mimic the builder pattern.setInfo
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.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: