MCPcopy Create free account
hub / github.com/apache/arrow / is_in

Method is_in

ruby/red-arrow/lib/arrow/array.rb:136–150  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

134
135 alias_method :is_in_raw, :is_in
136 def is_in(values)
137 case values
138 when ::Array
139 if self.class.builder_class.buildable?([values])
140 values = self.class.new(values)
141 else
142 values = self.class.new(value_data_type, values)
143 end
144 is_in_raw(values)
145 when ChunkedArray
146 is_in_chunked_array(values)
147 else
148 is_in_raw(values)
149 end
150 end
151
152 # @api private
153 alias_method :concatenate_raw, :concatenate

Callers 8

test_no_nullMethod · 0.45
test_null_in_leftMethod · 0.45
test_null_in_rightMethod · 0.45
test_null_in_bothMethod · 0.45
test_is_inFunction · 0.45
ArrayTestClass · 0.45
TimestampArrayTestClass · 0.45

Calls 3

builder_classMethod · 0.80
buildable?Method · 0.45
newMethod · 0.45

Tested by 6

test_no_nullMethod · 0.36
test_null_in_leftMethod · 0.36
test_null_in_rightMethod · 0.36
test_null_in_bothMethod · 0.36
test_is_inFunction · 0.36