Class: Iceberg::TableScan

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scan, table) ⇒ TableScan

Returns a new instance of TableScan.



5
6
7
8
# File 'lib/iceberg/table_scan.rb', line 5

def initialize(scan, table)
  @scan = scan
  @table = table
end

Instance Attribute Details

#tableObject (readonly)

Returns the value of attribute table.



3
4
5
# File 'lib/iceberg/table_scan.rb', line 3

def table
  @table
end

Instance Method Details

#plan_filesObject



10
11
12
# File 'lib/iceberg/table_scan.rb', line 10

def plan_files
  @scan.plan_files
end

#snapshotObject



14
15
16
# File 'lib/iceberg/table_scan.rb', line 14

def snapshot
  @scan.snapshot
end