Class: RedshiftConnector::DataFileBundleParams
- Inherits:
-
Object
- Object
- RedshiftConnector::DataFileBundleParams
- Defined in:
- lib/redshift_connector/data_file_bundle_params.rb
Instance Attribute Summary collapse
-
#bucket ⇒ Object
readonly
Returns the value of attribute bucket.
-
#filter ⇒ Object
readonly
Returns the value of attribute filter.
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
-
#txn_id ⇒ Object
readonly
Returns the value of attribute txn_id.
Instance Method Summary collapse
-
#initialize(bucket: nil, schema:, table:, txn_id: nil, filter:, logger: RedshiftConnector.logger) ⇒ DataFileBundleParams
constructor
A new instance of DataFileBundleParams.
Constructor Details
#initialize(bucket: nil, schema:, table:, txn_id: nil, filter:, logger: RedshiftConnector.logger) ⇒ DataFileBundleParams
Returns a new instance of DataFileBundleParams.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/redshift_connector/data_file_bundle_params.rb', line 5 def initialize( bucket: nil, schema:, table:, txn_id: nil, filter:, logger: RedshiftConnector.logger ) @bucket = bucket @schema = schema @table = table @txn_id = txn_id @filter = filter @logger = logger end |
Instance Attribute Details
#bucket ⇒ Object (readonly)
Returns the value of attribute bucket.
21 22 23 |
# File 'lib/redshift_connector/data_file_bundle_params.rb', line 21 def bucket @bucket end |
#filter ⇒ Object (readonly)
Returns the value of attribute filter.
25 26 27 |
# File 'lib/redshift_connector/data_file_bundle_params.rb', line 25 def filter @filter end |
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
26 27 28 |
# File 'lib/redshift_connector/data_file_bundle_params.rb', line 26 def logger @logger end |
#schema ⇒ Object (readonly)
Returns the value of attribute schema.
22 23 24 |
# File 'lib/redshift_connector/data_file_bundle_params.rb', line 22 def schema @schema end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
23 24 25 |
# File 'lib/redshift_connector/data_file_bundle_params.rb', line 23 def table @table end |
#txn_id ⇒ Object (readonly)
Returns the value of attribute txn_id.
24 25 26 |
# File 'lib/redshift_connector/data_file_bundle_params.rb', line 24 def txn_id @txn_id end |