Class: Waterworks::MySqlDataNode
- Inherits:
-
PipelineObject
- Object
- PipelineObject
- Waterworks::MySqlDataNode
- Defined in:
- lib/waterworks/data_nodes/my_sql_data_node.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id = nil, name = nil) ⇒ MySqlDataNode
constructor
A new instance of MySqlDataNode.
Methods inherited from PipelineObject
#<=>, base_attrs, #collect_attrs!, from_hash, from_json, #set_attrs, #sourceify, #to_fhash, #to_hash, #to_json
Constructor Details
#initialize(id = nil, name = nil) ⇒ MySqlDataNode
Returns a new instance of MySqlDataNode.
41 42 43 |
# File 'lib/waterworks/data_nodes/my_sql_data_node.rb', line 41 def initialize(id = nil, name = nil) super(id, name).set_attrs(type: 'MySqlDataNode') end |
Class Method Details
.safe_fields ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/waterworks/data_nodes/my_sql_data_node.rb', line 5 def self.safe_fields { attemptStatus: :string, attemptTimeout: :string, connectionString: :string, createTableSql: :string, database: :ref, dependsOn: :ref, failureAndRerunMode: :string, insertQuery: :string, lateAfterTimeout: :string, maxActiveInstances: :string, maximumRetries: :string, onFail: :ref, onLateAction: :ref, onSuccess: :ref, parent: :ref, password: :string, pipelineLogUri: :string, precondition: :ref, reportProgressTimeout: :string, retryDelay: :string, runsOn: :ref, scheduleType: :string, schemaName: :string, selectQuery: :string, workerGroup: :string, table: :string, username: :string, schedule: :ref, type: :string, }.merge superclass.safe_fields end |