Class: Iceberg::RestCatalog

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

Instance Method Summary collapse

Methods inherited from Catalog

#_initialize, #create_namespace, #create_table, #drop_namespace, #drop_table, #inspect, #list_namespaces, #list_tables, #load_table, #namespace_exists?, #namespace_properties, #purge_table, #register_table, #rename_table, #sql, #table_exists?, #update_namespace

Constructor Details

#initialize(uri:, warehouse: nil, properties: {}, default_namespace: nil) ⇒ RestCatalog

warehouse is passed to REST server



4
5
6
7
8
9
# File 'lib/iceberg/rest_catalog.rb', line 4

def initialize(uri:, warehouse: nil, properties: {}, default_namespace: nil)
  _initialize(
    RbCatalog.new_rest(uri, warehouse, properties),
    default_namespace:
  )
end