Class: RedshiftConnector::DataFileBundleParams

Inherits:
Object
  • Object
show all
Defined in:
lib/redshift_connector/data_file_bundle_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bucketObject (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

#filterObject (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

#loggerObject (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

#schemaObject (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

#tableObject (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_idObject (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