Class: ElasticGraph::Warehouse::SchemaDefinition::WarehouseTable

Inherits:
Object
  • Object
show all
Defined in:
elasticgraph-warehouse/lib/elastic_graph/warehouse/schema_definition/warehouse_table.rb

Overview

Represents a warehouse table configuration.

Instance Method Summary collapse

Instance Method Details

#to_configHash

Converts the warehouse table to a configuration hash.

Returns:

  • (Hash)

    configuration hash with table_schema



19
20
21
22
23
# File 'elasticgraph-warehouse/lib/elastic_graph/warehouse/schema_definition/warehouse_table.rb', line 19

def to_config
  {
    "table_schema" => table_schema
  }
end