You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by is...@apache.org on 2022/09/28 16:33:19 UTC

[ignite-3] branch main updated (3e689e86ee -> c685b099ef)

This is an automated email from the ASF dual-hosted git repository.

isapego pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


    from 3e689e86ee IGNITE-17711 Append element count to the end of BinaryTuplePrefix (#1126)
     add c685b099ef IGNITE-17424 Basic C++ client (#1085)

No new revisions were added by this update.

Summary of changes:
 .gitignore                                         |   2 +
 modules/platforms/cpp/CMakeLists.txt               |  69 +++-
 modules/platforms/cpp/DEVNOTES.md                  |  64 ++++
 .../cpp/{common => client-test}/CMakeLists.txt     |  22 +-
 .../platforms/cpp/client-test/src/gtest_logger.h   |  93 ++++++
 .../cpp/client-test/src/ignite_client_test.cpp     | 158 +++++++++
 modules/platforms/cpp/client-test/src/main.cpp     |  64 ++++
 modules/platforms/cpp/client/CMakeLists.txt        |  55 ++++
 .../cpp/client/include/ignite/ignite_client.h      | 131 ++++++++
 .../include/ignite/ignite_client_configuration.h   | 144 +++++++++
 .../cpp/client/include/ignite/ignite_logger.h      |  72 +++++
 .../cpp/client/include/ignite/table/table.h        |  89 +++++
 .../cpp/client/include/ignite/table/tables.h       |  96 ++++++
 .../Config.h => client/src/client_operation.h}     |  63 ++--
 .../cpp/client/src/cluster_connection.cpp          | 186 +++++++++++
 .../platforms/cpp/client/src/cluster_connection.h  | 227 +++++++++++++
 modules/platforms/cpp/client/src/ignite_client.cpp |  83 +++++
 .../platforms/cpp/client/src/ignite_client_impl.h  | 110 +++++++
 .../platforms/cpp/client/src/node_connection.cpp   | 150 +++++++++
 modules/platforms/cpp/client/src/node_connection.h | 199 ++++++++++++
 .../Config.h => client/src/protocol_context.h}     |  73 +++--
 .../platforms/cpp/client/src/protocol_version.h    | 188 +++++++++++
 .../platforms/cpp/client/src/response_handler.h    | 141 ++++++++
 .../Config.h => client/src/table/table.cpp}        |  43 +--
 .../platforms/cpp/client/src/table/table_impl.h    |  74 +++++
 .../Config.h => client/src/table/tables.cpp}       |  60 ++--
 .../platforms/cpp/client/src/table/tables_impl.cpp |  48 +++
 .../platforms/cpp/client/src/table/tables_impl.h   |  61 ++++
 modules/platforms/cpp/common/CMakeLists.txt        |  12 +-
 modules/platforms/cpp/common/Config.h              |   9 +
 .../platforms/cpp/common/{Config.h => Platform.h}  |  46 ++-
 .../platforms/cpp/common/{Config.h => factory.h}   |  52 ++-
 modules/platforms/cpp/common/guid.h                | 249 ++++++++++++++
 modules/platforms/cpp/common/ignite_error.h        | 134 ++++++++
 modules/platforms/cpp/common/ignite_result.h       | 357 +++++++++++++++++++++
 modules/platforms/cpp/common/{Config.h => utils.h} |  73 +++--
 modules/platforms/cpp/conanfile.txt                |   9 +
 modules/platforms/cpp/network/CMakeLists.txt       |  68 ++++
 .../include/ignite/network/async_client_pool.h     |  66 ++++
 .../network/include/ignite/network/async_handler.h |  80 +++++
 .../include/ignite/network/codec.h}                |  72 +++--
 .../include/ignite/network/codec_data_filter.h     |  99 ++++++
 .../network/include/ignite/network/data_buffer.h   | 226 +++++++++++++
 .../network/include/ignite/network/data_filter.h   |  90 ++++++
 .../include/ignite/network/data_filter_adapter.h   | 130 ++++++++
 .../cpp/network/include/ignite/network/data_sink.h |  56 ++++
 .../cpp/network/include/ignite/network/end_point.h | 145 +++++++++
 .../include/ignite/network/length_prefix_codec.h   | 111 +++++++
 .../include/ignite/network/network.h}              |  41 +--
 .../cpp/network/include/ignite/network/tcp_range.h | 165 ++++++++++
 .../os/linux/src/network/connecting_context.cpp    | 103 ++++++
 .../os/linux/src/network/connecting_context.h      |  94 ++++++
 .../os/linux/src/network/linux_async_client.cpp    | 182 +++++++++++
 .../os/linux/src/network/linux_async_client.h      | 243 ++++++++++++++
 .../linux/src/network/linux_async_client_pool.cpp  | 205 ++++++++++++
 .../os/linux/src/network/linux_async_client_pool.h | 191 +++++++++++
 .../src/network/linux_async_worker_thread.cpp      | 349 ++++++++++++++++++++
 .../linux/src/network/linux_async_worker_thread.h  | 163 ++++++++++
 .../cpp/network/os/linux/src/network/sockets.cpp   | 114 +++++++
 .../cpp/network/os/linux/src/network/sockets.h     |  60 ++++
 .../os/linux/src/network/utils.cpp}                |  59 ++--
 .../cpp/network/os/win/src/network/sockets.cpp     | 166 ++++++++++
 .../cpp/network/os/win/src/network/sockets.h       |  64 ++++
 .../os/win/src/network/utils.cpp}                  |  54 ++--
 .../os/win/src/network/win_async_client.cpp        | 176 ++++++++++
 .../network/os/win/src/network/win_async_client.h  | 270 ++++++++++++++++
 .../os/win/src/network/win_async_client_pool.cpp   | 239 ++++++++++++++
 .../os/win/src/network/win_async_client_pool.h     | 204 ++++++++++++
 .../src/network/win_async_connecting_thread.cpp    | 259 +++++++++++++++
 .../win/src/network/win_async_connecting_thread.h  | 129 ++++++++
 .../os/win/src/network/win_async_worker_thread.cpp | 144 +++++++++
 .../os/win/src/network/win_async_worker_thread.h   |  74 +++++
 .../src/network/async_client_pool_adapter.cpp      |  70 ++++
 .../src/network/async_client_pool_adapter.h        |  98 ++++++
 .../cpp/network/src/network/codec_data_filter.cpp  | 100 ++++++
 .../network/src/network/error_handling_filter.cpp  |  87 +++++
 .../network/src/network/error_handling_filter.h    |  85 +++++
 .../network/src/network/length_prefix_codec.cpp    |  89 +++++
 .../Config.h => network/src/network/network.cpp}   |  44 +--
 .../cpp/network/src/network/tcp_range.cpp          | 137 ++++++++
 modules/platforms/cpp/network/src/network/utils.h  | 116 +++++++
 modules/platforms/cpp/pom.xml                      |   4 +-
 .../cpp/{common => protocol}/CMakeLists.txt        |  23 +-
 .../include/ignite/protocol/buffer_adapter.h       |  87 +++++
 .../include/ignite/protocol/extension_types.h}     |  62 ++--
 .../cpp/protocol/include/ignite/protocol/reader.h  | 148 +++++++++
 .../cpp/protocol/include/ignite/protocol/utils.h   | 224 +++++++++++++
 .../cpp/protocol/include/ignite/protocol/writer.h  | 145 +++++++++
 .../Config.h => protocol/src/buffer_adapter.cpp}   |  42 +--
 modules/platforms/cpp/protocol/src/reader.cpp      | 118 +++++++
 modules/platforms/cpp/protocol/src/utils.cpp       |  57 ++++
 .../{common/Config.h => protocol/src/writer.cpp}   |  65 ++--
 .../platforms/cpp/schema/BinaryTupleBuilder.cpp    |  11 +-
 modules/platforms/cpp/schema/BinaryTupleBuilder.h  |   5 +-
 modules/platforms/cpp/schema/BinaryTupleParser.cpp |  10 +-
 modules/platforms/cpp/schema/BinaryTupleParser.h   |   2 +-
 modules/platforms/cpp/schema/BinaryTupleSchema.h   |   2 +-
 modules/platforms/cpp/schema/DataType.cpp          |   1 +
 .../cpp/{common => test-common}/CMakeLists.txt     |  20 +-
 .../cpp/test-common/include/cmd_process.h          |  74 +++++
 .../include/ignite_runner.h}                       |  73 +++--
 .../Config.h => test-common/include/test_utils.h}  |  50 ++-
 .../cpp/test-common/src/ignite_runner.cpp          |  86 +++++
 .../cpp/test-common/src/linux/linux_process.h      | 147 +++++++++
 .../Config.h => test-common/src/process.cpp}       |  46 ++-
 .../platforms/cpp/test-common/src/test_utils.cpp   |  96 ++++++
 .../cpp/test-common/src/win/win_process.h          | 192 +++++++++++
 modules/platforms/cpp/tests/CMakeLists.txt         |  13 +-
 modules/platforms/cpp/tests/testBytes.cpp          |   2 +-
 109 files changed, 10630 insertions(+), 598 deletions(-)
 create mode 100644 modules/platforms/cpp/DEVNOTES.md
 copy modules/platforms/cpp/{common => client-test}/CMakeLists.txt (67%)
 create mode 100644 modules/platforms/cpp/client-test/src/gtest_logger.h
 create mode 100644 modules/platforms/cpp/client-test/src/ignite_client_test.cpp
 create mode 100644 modules/platforms/cpp/client-test/src/main.cpp
 create mode 100644 modules/platforms/cpp/client/CMakeLists.txt
 create mode 100644 modules/platforms/cpp/client/include/ignite/ignite_client.h
 create mode 100644 modules/platforms/cpp/client/include/ignite/ignite_client_configuration.h
 create mode 100644 modules/platforms/cpp/client/include/ignite/ignite_logger.h
 create mode 100644 modules/platforms/cpp/client/include/ignite/table/table.h
 create mode 100644 modules/platforms/cpp/client/include/ignite/table/tables.h
 copy modules/platforms/cpp/{common/Config.h => client/src/client_operation.h} (51%)
 create mode 100644 modules/platforms/cpp/client/src/cluster_connection.cpp
 create mode 100644 modules/platforms/cpp/client/src/cluster_connection.h
 create mode 100644 modules/platforms/cpp/client/src/ignite_client.cpp
 create mode 100644 modules/platforms/cpp/client/src/ignite_client_impl.h
 create mode 100644 modules/platforms/cpp/client/src/node_connection.cpp
 create mode 100644 modules/platforms/cpp/client/src/node_connection.h
 copy modules/platforms/cpp/{common/Config.h => client/src/protocol_context.h} (51%)
 create mode 100644 modules/platforms/cpp/client/src/protocol_version.h
 create mode 100644 modules/platforms/cpp/client/src/response_handler.h
 copy modules/platforms/cpp/{common/Config.h => client/src/table/table.cpp} (51%)
 create mode 100644 modules/platforms/cpp/client/src/table/table_impl.h
 copy modules/platforms/cpp/{common/Config.h => client/src/table/tables.cpp} (51%)
 create mode 100644 modules/platforms/cpp/client/src/table/tables_impl.cpp
 create mode 100644 modules/platforms/cpp/client/src/table/tables_impl.h
 copy modules/platforms/cpp/common/{Config.h => Platform.h} (51%)
 copy modules/platforms/cpp/common/{Config.h => factory.h} (51%)
 create mode 100644 modules/platforms/cpp/common/guid.h
 create mode 100644 modules/platforms/cpp/common/ignite_error.h
 create mode 100644 modules/platforms/cpp/common/ignite_result.h
 copy modules/platforms/cpp/common/{Config.h => utils.h} (51%)
 create mode 100644 modules/platforms/cpp/conanfile.txt
 create mode 100644 modules/platforms/cpp/network/CMakeLists.txt
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/async_client_pool.h
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/async_handler.h
 copy modules/platforms/cpp/{common/Config.h => network/include/ignite/network/codec.h} (50%)
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/codec_data_filter.h
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/data_buffer.h
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/data_filter.h
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/data_filter_adapter.h
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/data_sink.h
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/end_point.h
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/length_prefix_codec.h
 copy modules/platforms/cpp/{common/Config.h => network/include/ignite/network/network.h} (51%)
 create mode 100644 modules/platforms/cpp/network/include/ignite/network/tcp_range.h
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/connecting_context.cpp
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/connecting_context.h
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/linux_async_client.cpp
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/linux_async_client.h
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/linux_async_client_pool.cpp
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/linux_async_client_pool.h
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/linux_async_worker_thread.cpp
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/linux_async_worker_thread.h
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/sockets.cpp
 create mode 100644 modules/platforms/cpp/network/os/linux/src/network/sockets.h
 copy modules/platforms/cpp/{common/Config.h => network/os/linux/src/network/utils.cpp} (51%)
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/sockets.cpp
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/sockets.h
 copy modules/platforms/cpp/{common/Config.h => network/os/win/src/network/utils.cpp} (51%)
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/win_async_client.cpp
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/win_async_client.h
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/win_async_client_pool.cpp
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/win_async_client_pool.h
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/win_async_connecting_thread.cpp
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/win_async_connecting_thread.h
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/win_async_worker_thread.cpp
 create mode 100644 modules/platforms/cpp/network/os/win/src/network/win_async_worker_thread.h
 create mode 100644 modules/platforms/cpp/network/src/network/async_client_pool_adapter.cpp
 create mode 100644 modules/platforms/cpp/network/src/network/async_client_pool_adapter.h
 create mode 100644 modules/platforms/cpp/network/src/network/codec_data_filter.cpp
 create mode 100644 modules/platforms/cpp/network/src/network/error_handling_filter.cpp
 create mode 100644 modules/platforms/cpp/network/src/network/error_handling_filter.h
 create mode 100644 modules/platforms/cpp/network/src/network/length_prefix_codec.cpp
 copy modules/platforms/cpp/{common/Config.h => network/src/network/network.cpp} (51%)
 create mode 100644 modules/platforms/cpp/network/src/network/tcp_range.cpp
 create mode 100644 modules/platforms/cpp/network/src/network/utils.h
 copy modules/platforms/cpp/{common => protocol}/CMakeLists.txt (63%)
 create mode 100644 modules/platforms/cpp/protocol/include/ignite/protocol/buffer_adapter.h
 copy modules/platforms/cpp/{common/Config.h => protocol/include/ignite/protocol/extension_types.h} (51%)
 create mode 100644 modules/platforms/cpp/protocol/include/ignite/protocol/reader.h
 create mode 100644 modules/platforms/cpp/protocol/include/ignite/protocol/utils.h
 create mode 100644 modules/platforms/cpp/protocol/include/ignite/protocol/writer.h
 copy modules/platforms/cpp/{common/Config.h => protocol/src/buffer_adapter.cpp} (51%)
 create mode 100644 modules/platforms/cpp/protocol/src/reader.cpp
 create mode 100644 modules/platforms/cpp/protocol/src/utils.cpp
 copy modules/platforms/cpp/{common/Config.h => protocol/src/writer.cpp} (51%)
 copy modules/platforms/cpp/{common => test-common}/CMakeLists.txt (65%)
 create mode 100644 modules/platforms/cpp/test-common/include/cmd_process.h
 copy modules/platforms/cpp/{common/Config.h => test-common/include/ignite_runner.h} (51%)
 copy modules/platforms/cpp/{common/Config.h => test-common/include/test_utils.h} (51%)
 create mode 100644 modules/platforms/cpp/test-common/src/ignite_runner.cpp
 create mode 100644 modules/platforms/cpp/test-common/src/linux/linux_process.h
 copy modules/platforms/cpp/{common/Config.h => test-common/src/process.cpp} (52%)
 create mode 100644 modules/platforms/cpp/test-common/src/test_utils.cpp
 create mode 100644 modules/platforms/cpp/test-common/src/win/win_process.h