Module: ElasticGraph::Warehouse::SchemaDefinition::ResultsExtension

Defined in:
lib/elastic_graph/warehouse/schema_definition/results_extension.rb

Overview

Extension module for SchemaDefinition::Results that adds warehouse configuration support.

Instance Method Summary collapse

Instance Method Details

#warehouse_configHash<String, Hash>

Returns the warehouse configuration generated from the schema definition.

Returns:

  • (Hash<String, Hash>)

    a hash mapping table names to their configuration



21
22
23
# File 'lib/elastic_graph/warehouse/schema_definition/results_extension.rb', line 21

def warehouse_config
  @warehouse_config ||= generate_warehouse_config
end