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.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
setTableName
Value oftableName.Parameters:tableName- The new value fortableName.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.