Class: Iceberg::MemoryCatalog

Inherits:
Catalog
  • Object
show all
Defined in:
lib/iceberg/memory_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(warehouse: nil) ⇒ MemoryCatalog

warehouse is default storage location



4
5
6
# File 'lib/iceberg/memory_catalog.rb', line 4

def initialize(warehouse: nil)
  @catalog = RbCatalog.new_memory(warehouse)
end