Class: Locomotive::RelationalAlgebra::PredGreaterThan
- Defined in:
- lib/locomotive/relational_algebra/operators/join/predicates.rb
Instance Attribute Summary
Attributes inherited from Predicate
Instance Method Summary collapse
Methods inherited from Predicate
Methods included from XML
Constructor Details
This class inherits a constructor from Locomotive::RelationalAlgebra::Predicate
Instance Method Details
#to_xml ⇒ Object
56 57 58 59 60 61 |
# File 'lib/locomotive/relational_algebra/operators/join/predicates.rb', line 56 def to_xml comparison :kind => :gt do [column(:name => first.to_xml, :new => false, :position => 1), column(:name => second.to_xml, :new => false, :position => 2)].join end end |