Class: SeaDuck::RestCatalog
- Defined in:
- lib/seaduck/rest_catalog.rb
Instance Method Summary collapse
-
#initialize(uri:, warehouse: nil, default_namespace: "main", _secret_options: nil) ⇒ RestCatalog
constructor
A new instance of RestCatalog.
Methods inherited from Catalog
#_initialize, #attach, #create_namespace, #detach, #drop_namespace, #drop_table, #inspect, #list_namespaces, #list_tables, #namespace_exists?, #quote, #quote_identifier, #snapshots, #sql, #table_exists?, #transaction
Constructor Details
#initialize(uri:, warehouse: nil, default_namespace: "main", _secret_options: nil) ⇒ RestCatalog
Returns a new instance of RestCatalog.
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/seaduck/rest_catalog.rb', line 3 def initialize(uri:, warehouse: nil, default_namespace: "main", _secret_options: nil) = { endpoint: uri, authorization_type: "none" } _initialize( warehouse.to_s, default_namespace:, attach_options:, secret_options: ) end |