mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
2716df8ab2
Added: * IDataTypeDomain interface; * method DataTypeFactory::registerDataTypeDomain for registering domains; * DataTypeDomainWithSimpleSerialization domain base class with simple serialization/deserialization; * Concrete IPv4 and IPv6 domain implementations: DataTypeDomanIPv6 and DataTypeDomanIPv4; Updated: * IDataType text serialization/deserialization methods; * IDataType implementation to use domain for text serialization/deserialization; * Refactored implementation of the IPv4/IPv6 functions to use formatIPv4/v6 and parseIPv4/v6 from Common/formatIPv6.h; Tests: * Added test cases for IPv4 and IPv6 domains. * Updated IPv4/v6 functions tests to validate more cases; * Added performance tests for IPv4 and IPv6 related functions;
97 lines
1.8 KiB
Plaintext
97 lines
1.8 KiB
Plaintext
1
|
|
1
|
|
1
|
|
1
|
|
1 1
|
|
1 1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
1
|
|
00000000000000000000FFFF4D583737
|
|
00000000000000000000FFFF4D583737
|
|
00000000000000000000FFFF7F000001
|
|
00000000000000000000FFFFC1FC110A
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f000
|
|
2001:db8:ac10:fe01:feed:babe:cafe:0
|
|
2001:db8:ac10:fe01:feed:babe:ca00:0
|
|
2001:db8:ac10:fe01:feed:babe::
|
|
2001:db8:ac10:fe01:feed:ba00::
|
|
2001:db8:ac10:fe01:feed::
|
|
2001:db8:ac10:fe01:fe00::
|
|
2001:db8:ac10:fe01::
|
|
2001:db8:ac10:fe00::
|
|
2001:db8:ac10::
|
|
2001:db8:ac00::
|
|
2001:db8::
|
|
2001:d00::
|
|
2001::
|
|
2000::
|
|
::
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
2001:db8:ac10:fe01:feed:babe:cafe:f00d
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.10
|
|
::ffff:193.252.17.0
|
|
::ffff:193.252.0.0
|
|
::ffff:193.0.0.0
|
|
::ffff:0.0.0.0
|
|
::ff00:0:0
|
|
::
|
|
::
|
|
::
|
|
::
|
|
::
|
|
::
|
|
::
|
|
::
|
|
::
|
|
::
|
|
::
|
|
2001:db8:ac10:fe01:abad:babe:fa00:0
|
|
2001:db8:ac10:fe01:dead:c0de:ca00:0
|
|
2001:db8:ac10:fe01:feed:babe:ca00:0
|
|
::ffff:77.0.0.0
|
|
::ffff:127.0.0.0
|
|
::ffff:193.0.0.0
|