Class: VORuby::Services::Schema::SchemaRetrieval::GetMetaColumns
- Inherits:
-
SchemaRetrievalGeneric
- Object
- SchemaRetrievalGeneric
- VORuby::Services::Schema::SchemaRetrieval::GetMetaColumns
- Includes:
- HTTPGetQuery
- Defined in:
- lib/voruby/services/schema/schema.rb
Overview
Just like getColumns but with additional metadata info.
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#query_timeout ⇒ Object
readonly
Returns the value of attribute query_timeout.
-
#response ⇒ Object
Returns the value of attribute response.
-
#ssl_files ⇒ Object
readonly
Returns the value of attribute ssl_files.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(uri, table_name, ssl_files = nil, query_timeout = 30) ⇒ GetMetaColumns
constructor
A new instance of GetMetaColumns.
- #required_parameters ⇒ Object
- #to_s ⇒ Object
Methods included from HTTPGetQuery
#fetch, #query_timeout=, #ssl_files=, #uri=
Methods inherited from SchemaRetrievalGeneric
Constructor Details
#initialize(uri, table_name, ssl_files = nil, query_timeout = 30) ⇒ GetMetaColumns
Returns a new instance of GetMetaColumns.
548 549 550 551 552 553 554 555 556 557 558 |
# File 'lib/voruby/services/schema/schema.rb', line 548 def initialize(uri, table_name, ssl_files=nil, query_timeout=30) self.uri = uri self.table_name = table_name self.ssl_files = ssl_files self.query_timeout = query_timeout self.method = 'getMetaColumns' self.response = nil end |
Instance Attribute Details
#method ⇒ Object (readonly)
Returns the value of attribute method.
545 546 547 |
# File 'lib/voruby/services/schema/schema.rb', line 545 def method @method end |
#query_timeout ⇒ Object (readonly)
Returns the value of attribute query_timeout.
545 546 547 |
# File 'lib/voruby/services/schema/schema.rb', line 545 def query_timeout @query_timeout end |
#response ⇒ Object
Returns the value of attribute response.
546 547 548 |
# File 'lib/voruby/services/schema/schema.rb', line 546 def response @response end |
#ssl_files ⇒ Object (readonly)
Returns the value of attribute ssl_files.
545 546 547 |
# File 'lib/voruby/services/schema/schema.rb', line 545 def ssl_files @ssl_files end |
#table_name ⇒ Object
Returns the value of attribute table_name.
545 546 547 |
# File 'lib/voruby/services/schema/schema.rb', line 545 def table_name @table_name end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
545 546 547 |
# File 'lib/voruby/services/schema/schema.rb', line 545 def uri @uri end |
Instance Method Details
#required_parameters ⇒ Object
564 565 566 |
# File 'lib/voruby/services/schema/schema.rb', line 564 def required_parameters [self.method.to_p, self.table_name.to_p] end |
#to_s ⇒ Object
568 569 570 |
# File 'lib/voruby/services/schema/schema.rb', line 568 def to_s super.to_s + ";table_name=#{self.table_name.to_s}" end |