Class: VORuby::ADQL::AllSelectionItem
- Inherits:
-
SelectionItem
- Object
- SelectionItem
- VORuby::ADQL::AllSelectionItem
- Defined in:
- lib/voruby/adql/adql.rb,
lib/voruby/adql/transforms.rb
Overview
Represent all columns as in Select * query.
Constant Summary collapse
- @@value =
'*'
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ AllSelectionItem
constructor
A new instance of AllSelectionItem.
- #to_adqls ⇒ Object
- #to_adqlx(element_name) ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ AllSelectionItem
Returns a new instance of AllSelectionItem.
757 |
# File 'lib/voruby/adql/adql.rb', line 757 def initialize;end |
Class Method Details
.from_xml(node) ⇒ Object
767 768 769 |
# File 'lib/voruby/adql/adql.rb', line 767 def self.from_xml(node) return AllSelectionItem.new() end |
.value ⇒ Object
759 760 761 |
# File 'lib/voruby/adql/adql.rb', line 759 def self.value return @@value end |
Instance Method Details
#to_adqls ⇒ Object
163 164 165 |
# File 'lib/voruby/adql/transforms.rb', line 163 def to_adqls '*' end |
#to_adqlx(element_name) ⇒ Object
167 168 169 |
# File 'lib/voruby/adql/transforms.rb', line 167 def to_adqlx(element_name) "<#{element_name} xsi:type=\"allSelectionItemType\"/>" end |
#to_s ⇒ Object
763 764 765 |
# File 'lib/voruby/adql/adql.rb', line 763 def to_s "{expression=#{self.value}}" end |