Sha256: 56075d454bc019856b102ab697128a5bf98c765470e9664884815fe848b9887a
Contents?: true
Size: 717 Bytes
Versions: 1
Compression:
Stored size: 717 Bytes
Contents
module Cmap; class PropositionsToSql attr_reader :propositions_path, :table_name, :schema_name, :subquery_gsubs def initialize(args) @propositions_path = args.fetch(:propositions_path) @table_name = args.fetch(:table_name) @schema_name = args.fetch(:schema_name) @subquery_gsubs = args.fetch(:subquery_gsubs, []) end def queries graph_to_sql.queries end def propositions_to_graph PropositionsToGraph.new(propositions_path) end def raw_graph propositions_to_graph.graph end def sanitized_graph GraphSanitizer.new(raw_graph).sanitized_graph end def graph_to_sql GraphToSql.new(table_name, schema_name, sanitized_graph, subquery_gsubs) end end; end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cmap-0.4.0 | lib/cmap/propositions_to_sql.rb |