Class: ClickHouse::Type::LowCardinalityType

Inherits:
BaseType
  • Object
show all
Defined in:
lib/click_house/type/low_cardinality_type.rb

Instance Method Summary collapse

Methods inherited from BaseType

#cast, #ddl?, #map?, #serialize_each, #tuple?

Instance Method Details

#cast_each(value, *_argv) {|value| ... } ⇒ Object

Yields:

  • (value)


6
7
8
# File 'lib/click_house/type/low_cardinality_type.rb', line 6

def cast_each(value, *_argv)
  yield(value) unless value.nil?
end

#container?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/click_house/type/low_cardinality_type.rb', line 10

def container?
  true
end