Class: Iceberg::RestCatalog
- Defined in:
- lib/iceberg/rest_catalog.rb
Instance Method Summary collapse
-
#initialize(uri:, warehouse: nil, properties: {}) ⇒ RestCatalog
constructor
warehouse is passed to REST server.
Methods inherited from Catalog
#create_namespace, #create_table, #drop_namespace, #drop_table, #inspect, #list_namespaces, #list_tables, #load_table, #namespace_exists?, #namespace_properties, #query, #register_table, #rename_table, #table_exists?, #update_namespace
Constructor Details
#initialize(uri:, warehouse: nil, properties: {}) ⇒ RestCatalog
warehouse is passed to REST server
4 5 6 |
# File 'lib/iceberg/rest_catalog.rb', line 4 def initialize(uri:, warehouse: nil, properties: {}) @catalog = RbCatalog.new_rest(uri, warehouse, properties) end |