Class: VORuby::ADQL::SubQuerySet
- Inherits:
-
InclusionSet
- Object
- InclusionSet
- VORuby::ADQL::SubQuerySet
- Defined in:
- lib/voruby/adql/adql.rb,
lib/voruby/adql/transforms.rb
Overview
Represents the subquery in a SQL IN expression.
Instance Attribute Summary collapse
-
#selection ⇒ Object
Returns the value of attribute selection.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(selection) ⇒ SubQuerySet
constructor
A new instance of SubQuerySet.
- #to_adqls ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(selection) ⇒ SubQuerySet
1352 1353 1354 |
# File 'lib/voruby/adql/adql.rb', line 1352 def initialize(selection) self.selection = selection end |
Instance Attribute Details
#selection ⇒ Object
Returns the value of attribute selection.
1350 1351 1352 |
# File 'lib/voruby/adql/adql.rb', line 1350 def selection @selection end |
Class Method Details
.from_xml(node) ⇒ Object
1365 1366 1367 1368 1369 |
# File 'lib/voruby/adql/adql.rb', line 1365 def self.from_xml(node) select_node = REXML::XPath.first(node, 'Select') select = Select.from_xml(select_node) return SubQuerySet.new(select) end |