Class: Iceberg::RestCatalog

Inherits:
Catalog
  • Object
show all
Defined in:
lib/iceberg/rest_catalog.rb

Instance Method Summary collapse

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