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
Returns a new instance of SubQuerySet.
1331 1332 1333 |
# File 'lib/voruby/adql/adql.rb', line 1331 def initialize(selection) self.selection = selection end |
Instance Attribute Details
#selection ⇒ Object
Returns the value of attribute selection.
1329 1330 1331 |
# File 'lib/voruby/adql/adql.rb', line 1329 def selection @selection end |
Class Method Details
.from_xml(node) ⇒ Object
1344 1345 1346 1347 1348 |
# File 'lib/voruby/adql/adql.rb', line 1344 def self.from_xml(node) select_node = REXML::XPath.first(node, 'Select') select = Select.from_xml(select_node) return SubQuerySet.new(select) end |