Package com.gpudb.protocol
Class CreateTableMonitorResponse
java.lang.Object
com.gpudb.protocol.CreateTableMonitorResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordpublic class CreateTableMonitorResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned by
GPUdb.createTableMonitor.Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA set of string constants for theCreateTableMonitorResponseparameterinfo.Constructor Summary
ConstructorsConstructorDescriptionConstructs a CreateTableMonitorResponse 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.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.getInfo()Additional information.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Value oftableName.The ZMQ topic ID to subscribe to for table events.JSON Avro schema of the table, for use in decoding published records.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.Additional information.setTableName(String tableName) Value oftableName.setTopicId(String topicId) The ZMQ topic ID to subscribe to for table events.setTypeSchema(String typeSchema) JSON Avro schema of the table, for use in decoding published records.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.setTopicId
The ZMQ topic ID to subscribe to for table events.Parameters:topicId- The new value fortopicId.Returns:thisto mimic the builder pattern.setTableName
Value oftableName.Parameters:tableName- The new value fortableName.Returns:thisto mimic the builder pattern.setTypeSchema
JSON Avro schema of the table, for use in decoding published records.Parameters:typeSchema- The new value fortypeSchema.Returns:thisto mimic the builder pattern.getInfo
Additional information.TTL: For insert_table/delete_table events, the ttl of the table.INSERT_TOPIC_ID: The topic id for ‘insert’EVENTinoptions.UPDATE_TOPIC_ID: The topic id for ‘update’EVENTinoptions.DELETE_TOPIC_ID: The topic id for ‘delete’EVENTinoptions.INSERT_TYPE_SCHEMA: The JSON Avro schema of the table intableName.UPDATE_TYPE_SCHEMA: The JSON Avro schema for ‘update’ events.DELETE_TYPE_SCHEMA: The JSON Avro schema for ‘delete’ events.
Map.Returns:The current value ofinfo.setInfo
Additional information.TTL: For insert_table/delete_table events, the ttl of the table.INSERT_TOPIC_ID: The topic id for ‘insert’EVENTinoptions.UPDATE_TOPIC_ID: The topic id for ‘update’EVENTinoptions.DELETE_TOPIC_ID: The topic id for ‘delete’EVENTinoptions.INSERT_TYPE_SCHEMA: The JSON Avro schema of the table intableName.UPDATE_TYPE_SCHEMA: The JSON Avro schema for ‘update’ events.DELETE_TYPE_SCHEMA: The JSON Avro schema for ‘delete’ events.
Map.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: