Sha256: f95111840e9a11cd50731bc44f218b030d2574bb397b19d3a187da95d8afc5b8

Contents?: true

Size: 468 Bytes

Versions: 5

Compression:

Stored size: 468 Bytes

Contents

module Alf
  module Algebra
    class Union
      include Operator
      include Relational
      include Binary

      signature do |s|
      end

      def heading
        @heading ||= left.heading + right.heading
      end

      def keys
        @keys ||= Keys[ heading.to_attr_list ]
      end

    private

      def _type_check(options)
        same_heading!(left.heading, right.heading)
      end

    end # class Union
  end # module Algebra
end # module Alf

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-core-0.16.3 lib/alf/algebra/operator/union.rb
alf-core-0.16.2 lib/alf/algebra/operator/union.rb
alf-core-0.16.1 lib/alf/algebra/operator/union.rb
alf-core-0.16.0 lib/alf/algebra/operator/union.rb
alf-core-0.15.0 lib/alf/algebra/operator/union.rb