Sha256: 4055188e07f566f2253a520d9ab4500f567c4fdfc5b46b099ee94ec293d43a5b

Contents?: true

Size: 442 Bytes

Versions: 3

Compression:

Stored size: 442 Bytes

Contents

module Veritas
  class Relation

    # An empty relation
    class Empty < Materialized
      ZERO_TUPLE = [].freeze

      # 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 Veritas

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
veritas-0.0.3 lib/veritas/relation/empty.rb
veritas-0.0.2 lib/veritas/relation/empty.rb
veritas-0.0.1 lib/veritas/relation/empty.rb