Class: Axiom::Relation::Empty

Inherits:
Materialized show all
Defined in:
lib/axiom/relation/empty.rb

Overview

An empty relation

Constant Summary

Constants inherited from Materialized

Materialized::ZERO_TUPLE

Instance Attribute Summary

Attributes inherited from Materialized

#directions

Attributes inherited from Axiom::Relation

#header

Instance Method Summary collapse

Methods inherited from Materialized

#materialize, #materialized?, new, #size

Methods inherited from Axiom::Relation

#==, #[], #directions, #each, #empty?, #include?, #materialize, #materialized?, new, #replace

Methods included from Visitable

#accept

Constructor Details

#initialize(header) ⇒ undefined

Initialize an empty Relation

Parameters:

  • header (Header)

    the header for the empty relation



17
18
19
# File 'lib/axiom/relation/empty.rb', line 17

def initialize(header)
  super(header, ZERO_TUPLE)
end