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?, #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)
end

#container?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/click_house/type/low_cardinality_type.rb', line 14

def container?
  true
end

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

Yields:

  • (value)


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

def serialize_each(value, *_argv)
  yield(value)
end