Class: DeltaLake::Metadata
- Inherits:
-
Object
- Object
- DeltaLake::Metadata
- Defined in:
- lib/deltalake/metadata.rb
Instance Method Summary collapse
- #configuration ⇒ Object
- #created_time ⇒ Object
- #description ⇒ Object
- #id ⇒ Object
-
#initialize(table) ⇒ Metadata
constructor
A new instance of Metadata.
- #inspect ⇒ Object
- #name ⇒ Object
- #partition_columns ⇒ Object
Constructor Details
#initialize(table) ⇒ Metadata
Returns a new instance of Metadata.
3 4 5 |
# File 'lib/deltalake/metadata.rb', line 3 def initialize(table) = table. end |
Instance Method Details
#configuration ⇒ Object
27 28 29 |
# File 'lib/deltalake/metadata.rb', line 27 def configuration .configuration end |
#created_time ⇒ Object
23 24 25 |
# File 'lib/deltalake/metadata.rb', line 23 def created_time .created_time end |
#description ⇒ Object
15 16 17 |
# File 'lib/deltalake/metadata.rb', line 15 def description .description end |
#id ⇒ Object
7 8 9 |
# File 'lib/deltalake/metadata.rb', line 7 def id .id end |
#inspect ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/deltalake/metadata.rb', line 31 def inspect attributes = { id: id, name: name, description: description, partition_columns: partition_columns, created_time: created_time, configuration: configuration } "<#{self.class.name} #{attributes.map { |k, v| "#{k}=#{v.inspect}" }.join(", ")}>" end |
#name ⇒ Object
11 12 13 |
# File 'lib/deltalake/metadata.rb', line 11 def name .name end |
#partition_columns ⇒ Object
19 20 21 |
# File 'lib/deltalake/metadata.rb', line 19 def partition_columns .partition_columns end |