Class: Arrow::RecordBatch
- Inherits:
-
Object
- Object
- Arrow::RecordBatch
show all
- Includes:
- RecordContainable, Enumerable
- Defined in:
- lib/arrow/record-batch.rb
Instance Method Summary
collapse
#each_column, #each_record, #find_column
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
37
38
39
40
41
42
43
|
# File 'lib/arrow/record-batch.rb', line 37
def method_missing(name, *args, &block)
if args.empty?
column = find_column(name)
return column if column
end
super
end
|
Instance Method Details
#columns ⇒ Object
28
29
30
|
# File 'lib/arrow/record-batch.rb', line 28
def columns
@columns ||= columns_raw
end
|
#columns_raw ⇒ Object
27
|
# File 'lib/arrow/record-batch.rb', line 27
alias_method :columns_raw, :columns
|
#respond_to_missing?(name, include_private) ⇒ Boolean
32
33
34
35
|
# File 'lib/arrow/record-batch.rb', line 32
def respond_to_missing?(name, include_private)
return true if find_column(name)
super
end
|