Module: ElasticGraph::Warehouse::SchemaDefinition::EnumTypeExtension

Defined in:
elasticgraph-warehouse/lib/elastic_graph/warehouse/schema_definition/enum_type_extension.rb

Overview

Extends SchemaDefinition::SchemaElements::EnumType to add warehouse column type conversion.

Instance Method Summary collapse

Instance Method Details

#to_warehouse_column_typeString

Returns the warehouse column type representation for this enum type.

Returns:

  • (String)

    the SQL type string "STRING"



17
18
19
# File 'elasticgraph-warehouse/lib/elastic_graph/warehouse/schema_definition/enum_type_extension.rb', line 17

def to_warehouse_column_type
  "STRING"
end