Sha256: ddab8beb6cd82c20e42381ad3638c49cf18751c764ac6664f51a54750ca54db9

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

# encoding: utf-8

module Axiom
  class Relation

    # An empty relation
    class Empty < Materialized

      # Initialize an empty Relation
      #
      # @param [Header] header
      #   the header for the empty relation
      #
      # @return [undefined]
      #
      # @api public
      def initialize(header)
        super(header, ZERO_TUPLE)
      end

    end # class Empty
  end # class Relation
end # module Axiom

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 lib/axiom/relation/empty.rb
axiom-0.1.1 lib/axiom/relation/empty.rb