quasardb 3.14.2.dev1__cp310-cp310-win_amd64.whl → 3.14.2.dev3__cp310-cp310-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of quasardb might be problematic. Click here for more details.
- quasardb/CMakeLists.txt +19 -12
- quasardb/INSTALL.vcxproj +4 -0
- quasardb/__init__.py +33 -4
- quasardb/cluster.cpp +14 -1
- quasardb/cluster.hpp +114 -72
- quasardb/concepts.hpp +56 -12
- quasardb/continuous.cpp +84 -34
- quasardb/continuous.hpp +10 -7
- quasardb/convert/array.hpp +23 -6
- quasardb/convert/value.hpp +78 -7
- quasardb/date/ALL_BUILD.vcxproj +4 -4
- quasardb/date/CMakeFiles/Export/df49adab93b9e0c10c64f72458b31971/dateTargets.cmake +12 -12
- quasardb/date/CMakeFiles/generate.stamp.depend +4 -4
- quasardb/date/INSTALL.vcxproj +4 -0
- quasardb/date/dateConfigVersion.cmake +0 -5
- quasardb/date/dateTargets.cmake +3 -7
- quasardb/detail/invoke.hpp +0 -0
- quasardb/detail/retry.cpp +30 -0
- quasardb/detail/retry.hpp +147 -0
- quasardb/detail/sleep.hpp +53 -0
- quasardb/{writer.cpp → detail/writer.cpp} +68 -162
- quasardb/detail/writer.hpp +550 -0
- quasardb/error.hpp +76 -1
- quasardb/masked_array.hpp +9 -2
- quasardb/module.cpp +20 -4
- quasardb/node.hpp +17 -8
- quasardb/numpy/__init__.py +58 -10
- quasardb/object_tracker.hpp +2 -3
- quasardb/options.hpp +32 -3
- quasardb/pandas/__init__.py +59 -102
- quasardb/properties.cpp +41 -0
- quasardb/properties.hpp +85 -0
- quasardb/pybind11/ALL_BUILD.vcxproj +4 -4
- quasardb/pybind11/CMakeFiles/generate.stamp.depend +14 -14
- quasardb/pybind11/INSTALL.vcxproj +4 -0
- quasardb/qdb_api.dll +0 -0
- quasardb/quasardb.cp310-win_amd64.pyd +0 -0
- quasardb/range-v3/ALL_BUILD.vcxproj +4 -4
- quasardb/range-v3/CMakeFiles/Export/d94ef200eca10a819b5858b33e808f5b/range-v3-targets.cmake +12 -12
- quasardb/range-v3/CMakeFiles/generate.stamp.depend +11 -11
- quasardb/range-v3/INSTALL.vcxproj +4 -0
- quasardb/range-v3/cmake_install.cmake +36 -0
- quasardb/range-v3/range-v3-config-version.cmake +0 -5
- quasardb/range-v3/range-v3-config.cmake +3 -7
- quasardb/range-v3/range.v3.headers.vcxproj +4 -4
- quasardb/reader.cpp +282 -0
- quasardb/reader.hpp +256 -0
- quasardb/table.cpp +4 -36
- quasardb/table.hpp +69 -28
- quasardb/traits.hpp +23 -0
- quasardb/writer.hpp +245 -287
- {quasardb-3.14.2.dev1.dist-info → quasardb-3.14.2.dev3.dist-info}/METADATA +7 -7
- {quasardb-3.14.2.dev1.dist-info → quasardb-3.14.2.dev3.dist-info}/RECORD +56 -50
- {quasardb-3.14.2.dev1.dist-info → quasardb-3.14.2.dev3.dist-info}/WHEEL +1 -1
- quasardb/reader/ts_row.hpp +0 -281
- quasardb/reader/ts_value.hpp +0 -245
- quasardb/table_reader.hpp +0 -220
- {quasardb-3.14.2.dev1.dist-info → quasardb-3.14.2.dev3.dist-info}/LICENSE.md +0 -0
- {quasardb-3.14.2.dev1.dist-info → quasardb-3.14.2.dev3.dist-info}/top_level.txt +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
quasardb/CMakeLists.txt,sha256=
|
|
2
|
-
quasardb/INSTALL.vcxproj,sha256=
|
|
1
|
+
quasardb/CMakeLists.txt,sha256=I7mgv_65OInJ3mgMDHpkt8LEZXRafy0UuteZC1piTNw,15645
|
|
2
|
+
quasardb/INSTALL.vcxproj,sha256=Gyc2eNNaaqiVGDL2c3VSyEo70hW1GpEpChMSkonl1rA,10840
|
|
3
3
|
quasardb/INSTALL.vcxproj.filters,sha256=1P-TKfFDcH8ElN0YwGPasrv-K0MF_8khSpD_AObidQY,565
|
|
4
|
-
quasardb/__init__.py,sha256=
|
|
4
|
+
quasardb/__init__.py,sha256=20wagayMPRncEbfEbAu0y8sbMRKj-Lyc_0LB8dMdysM,4670
|
|
5
5
|
quasardb/batch_column.hpp,sha256=RrFVpLVrzSLmmqy6FTNyilwRpOz8vhpAEDobnRGP-vo,3388
|
|
6
6
|
quasardb/batch_inserter.hpp,sha256=qoxVvfpEL4UmOpvFAC2kVWLyhuJ311nXAbQnThu2Rhg,9803
|
|
7
7
|
quasardb/blob.hpp,sha256=kHt1UTVkaZkyHBiqJ28bGzqKFn0f5PA-XyDKfgY1_Rs,5846
|
|
8
|
-
quasardb/cluster.cpp,sha256=
|
|
9
|
-
quasardb/cluster.hpp,sha256=
|
|
8
|
+
quasardb/cluster.cpp,sha256=XqQZDNsvDgM5zXwMm4i_92SGBsdRJhKRqVksJYWQ7RM,2824
|
|
9
|
+
quasardb/cluster.hpp,sha256=n1rHGPHzAE3Q7pWwSyER0iCQjenjhM_6fM4sefAqFAM,21183
|
|
10
10
|
quasardb/cmake_install.cmake,sha256=YVLeyIhGtn9J4dg9JFu5DN9jremehU8Glog6XrWwEDA,1503
|
|
11
|
-
quasardb/concepts.hpp,sha256=
|
|
12
|
-
quasardb/continuous.cpp,sha256=
|
|
13
|
-
quasardb/continuous.hpp,sha256=
|
|
11
|
+
quasardb/concepts.hpp,sha256=qpG1Y72n4kJSWo5FBBDWOoAgLuRbRkiacSOLOiSH1hE,11333
|
|
12
|
+
quasardb/continuous.cpp,sha256=1v8dq8w0CsiVUh_5QYk8pnNap7zzaa38W62lS4D_6AY,6437
|
|
13
|
+
quasardb/continuous.hpp,sha256=_kQuhA_9f0luIESW5rBzjtTgByICjg_lruXICyrePjs,4355
|
|
14
14
|
quasardb/convert.hpp,sha256=hOvbpYuop0_FDaBpot38Ey7X5NhXRV9OFqRcom_hMsI,1830
|
|
15
15
|
quasardb/direct_blob.hpp,sha256=8ISBiRG1uIxb5xkEkp4FKSIgMgdpnPYDWQjbLjN2vYM,3917
|
|
16
16
|
quasardb/direct_handle.hpp,sha256=OYRI3VsCoHyQCWLE-yogDq59hhVhoLSD4ZMGgEgVptw,2782
|
|
@@ -18,101 +18,107 @@ quasardb/direct_integer.hpp,sha256=b-T56JjsHFn4VxRZ6Bmp4uE1-Wc-bPO_erKSZPW3r3w,3
|
|
|
18
18
|
quasardb/dispatch.hpp,sha256=YWqTq9ehXWpphJ9piWwrKUzy3IgA5d9An0loAYQsUlg,5508
|
|
19
19
|
quasardb/double.hpp,sha256=vQkhqX5gal-PK8XAzTx4KJnoWt4xbCK4ivMgidUsJ4Q,3239
|
|
20
20
|
quasardb/entry.hpp,sha256=thYPRN6uFe1yfJyf7-5Gk1M8O6oJGjTipqNetbo1-I0,9451
|
|
21
|
-
quasardb/error.hpp,sha256=
|
|
21
|
+
quasardb/error.hpp,sha256=JvmysvbRvfrpULgRCUdYHm_NH5cXuK7apgEensS_yio,13327
|
|
22
22
|
quasardb/firehose.py,sha256=DHYsew-aL1j5PKZonH30CrhXnwHEX1XIAhGbPrzd4PY,3593
|
|
23
23
|
quasardb/handle.cpp,sha256=oyhzAj1k8UFhpLhwU5RL4cbdqt82KZexWacMFz5uXA0,536
|
|
24
24
|
quasardb/handle.hpp,sha256=eXBx7TwCyfGKRS3XDKvnF9kwmqcqb89ZJ8_riTmM75c,3051
|
|
25
25
|
quasardb/integer.hpp,sha256=fAS8JOm_vJooVIv9kZ71fwV2rxFCnYuCLdkZRleb_lY,3304
|
|
26
26
|
quasardb/logger.cpp,sha256=UThEO2V6UI-tbpG9suud7olmMjIMfHr3tNt-nM48DIE,3056
|
|
27
27
|
quasardb/logger.hpp,sha256=Cf6bcK3Mpu_INsZ8R621BRSNLZ8FQSYDZdmhyfcC0v4,7278
|
|
28
|
-
quasardb/masked_array.hpp,sha256=
|
|
28
|
+
quasardb/masked_array.hpp,sha256=JZFGdN-4VlZWZS6jq7TR6Rigcejl6sF3o_zKFNWAAeo,19229
|
|
29
29
|
quasardb/metrics.cpp,sha256=NuEBVYlIHQRgmPy4g9Eosq1Q28Z1jySSZHKDAMLURIA,2942
|
|
30
30
|
quasardb/metrics.hpp,sha256=xcotK6Jer53joky9gZHos0i_nhVB4GEjZ9F7lwq7iuc,3533
|
|
31
|
-
quasardb/module.cpp,sha256=
|
|
31
|
+
quasardb/module.cpp,sha256=t4VrelZCR25Kr0p4aucWVMqmoqN477d3XeUh_DNlA08,2761
|
|
32
32
|
quasardb/module.hpp,sha256=-zRcQ_lgVz4IEP3tokX4AeA33DYJ3jsq8vWX6OnE0Ic,604
|
|
33
|
-
quasardb/node.hpp,sha256=
|
|
33
|
+
quasardb/node.hpp,sha256=Wj3weOriUieQvIX6wSH5TijXVyCKz5VhkyV1UA1IJOQ,5120
|
|
34
34
|
quasardb/numpy.cpp,sha256=0brRs6lnIpsCNvpu3twIcjizy3lMOvCBT0O4rjKAn0I,189
|
|
35
35
|
quasardb/numpy.hpp,sha256=CBmKbI2TdoxNYcJnfQAUwBfbKq1Enf3pISyv1pfUgFE,15668
|
|
36
|
-
quasardb/object_tracker.hpp,sha256=
|
|
37
|
-
quasardb/options.hpp,sha256=
|
|
36
|
+
quasardb/object_tracker.hpp,sha256=vNfYAqNIoTbRI_Re9J_uKPq5E6rZIR3xfGuS7HMNt44,7646
|
|
37
|
+
quasardb/options.hpp,sha256=Fw-exfIMEHBVpN6LbrTD21xBekSyfCwkn_hR-ztuet4,11160
|
|
38
38
|
quasardb/perf.hpp,sha256=XZx6CJGwAqFBJhNQVtyEY72R3devrcFXEXrI2rVesow,11364
|
|
39
39
|
quasardb/pool.py,sha256=lqVZPFejmNHU7EdyeoPkl7yy_-N3BRyuLhNTzIdtg8g,8743
|
|
40
|
+
quasardb/properties.cpp,sha256=TT9xLvt7IukD59afRmotCp7sGEJnATRd6JbNWiYaKXY,985
|
|
41
|
+
quasardb/properties.hpp,sha256=krmoLE4a0EfzayCWr3_Dr72ZEVEQxo4OzvsxgzwYBjc,2843
|
|
40
42
|
quasardb/pytypes.hpp,sha256=wQKTfIk1xdUt1xkq8oi-LNpYzF4RKAx0LjY9WjD2nu0,6894
|
|
41
|
-
quasardb/qdb_api.dll,sha256=
|
|
42
|
-
quasardb/quasardb.cp310-win_amd64.pyd,sha256
|
|
43
|
+
quasardb/qdb_api.dll,sha256=jmTsFjV0aAT-hrOt0WNqa7lqmHW80Fv5S-0bFvLqp-E,18250240
|
|
44
|
+
quasardb/quasardb.cp310-win_amd64.pyd,sha256=_UIJVydXsUHRatBVFRmOonIlYgvYk7Rjid6FXUiQBzY,1362944
|
|
43
45
|
quasardb/query.cpp,sha256=IWU7oQLIvdI4tydmwlc_3zNhng4OdKXBNcO0qtqa1Dg,12752
|
|
44
46
|
quasardb/query.hpp,sha256=lb-NXbLD-L1f4XYDQ67WlthaMrzg0miLFw-nEQCnlUk,3357
|
|
47
|
+
quasardb/reader.cpp,sha256=OjCK0gSGw2O0HK5pc1GXg4zWGn-5IXDMwvOT1EYchZo,11044
|
|
48
|
+
quasardb/reader.hpp,sha256=Qv_8_dFC14u5RQieW-14HMHjXoAt-gLda40j1_vrniA,8350
|
|
45
49
|
quasardb/remove_cvref.hpp,sha256=vKUecNoA2-BIiZeP8NuO3GgBOMF-OVSn_43LJCuDozA,611
|
|
46
50
|
quasardb/stats.py,sha256=LDV4F5KTpEXa5sS_syFo_TYn9_W2X1D32Eb43GLutOs,7620
|
|
47
51
|
quasardb/string.hpp,sha256=UV7rgEstnf-atcEsbq6I7iqN-E_h_5njE6g9kf7_H70,6071
|
|
48
|
-
quasardb/table.cpp,sha256=
|
|
49
|
-
quasardb/table.hpp,sha256
|
|
52
|
+
quasardb/table.cpp,sha256=zFU5yEga7GKWAJw0vo3nNU_U_cvAbLufTjPwKNvFdE0,9490
|
|
53
|
+
quasardb/table.hpp,sha256=C0HHuqVuU76leruCUdm1DgTdVR3ixY3hFABffO784XU,14798
|
|
50
54
|
quasardb/table_cache.py,sha256=t7FFQkms7pFlYDkOhCcLnLS8bWglZjlzX3Qs6gyBG6Q,1559
|
|
51
|
-
quasardb/table_reader.hpp,sha256=CaImMMj8czx2wvyTuZNQ2JU3Tyfny5rco_0XeeB7FxY,6941
|
|
52
55
|
quasardb/tag.hpp,sha256=nKGYkK1djTGHhFWCrYlQTWttb0TVJiTlrvcIbvuuZ3U,2732
|
|
53
56
|
quasardb/timestamp.hpp,sha256=fjGl0B4Sv_xhU6UWrhZzOfin7atlPqawKN-Bu1oiR6M,3889
|
|
54
|
-
quasardb/traits.hpp,sha256=
|
|
57
|
+
quasardb/traits.hpp,sha256=FNAR2rAMlk2S_jxmfXwRusGVmHuyDltqiTO1vxYMzfU,16881
|
|
55
58
|
quasardb/ts_iterator.hpp,sha256=faP1HVGYbWubKr98yhkS6gqvyMiKWkl3tgedJfj2u1E,4395
|
|
56
59
|
quasardb/utils.cpp,sha256=PkuVxrj1cQfeVujA-kefx9-P0B6IJNtYDQzedCAMjKY,634
|
|
57
60
|
quasardb/utils.hpp,sha256=C5qxTYYN3-rzO01T_K23VEvhFsv2sJPK96SB_BJ2vZQ,4724
|
|
58
|
-
quasardb/writer.
|
|
59
|
-
quasardb/writer.hpp,sha256=FdCU3kEfnfa6qTPB56YV8NhLsERW5kFMyEhpcBOQ2bI,12933
|
|
61
|
+
quasardb/writer.hpp,sha256=a9utSovwg83VNxM4WLddE5G1N16snyRMxleqrWTtkvg,14898
|
|
60
62
|
quasardb/CMakeFiles/generate.stamp,sha256=MC9-mgyGPAS3QAZa3gHSQ8dYfXJy_Hn7AChwEoqVWOs,55
|
|
61
63
|
quasardb/CMakeFiles/generate.stamp.depend,sha256=uY8FV-ceJ2Kk-6JfOnsIesDV7jKoUNfkKHNY2Nf7_E8,117
|
|
62
|
-
quasardb/convert/array.hpp,sha256=
|
|
64
|
+
quasardb/convert/array.hpp,sha256=NtqEyx8a_Phc8VEu4nBqNt4UQ1C0TNTXylPxMHxEXSo,9532
|
|
63
65
|
quasardb/convert/point.hpp,sha256=0WYxllERnzX9O5vIeflHG1y7KHo1SsyWjkZCi05GXO4,11800
|
|
64
66
|
quasardb/convert/range.hpp,sha256=Z0skhVzQ8JSRL2RPOwqVXE8AV3kxPHw3amGcNZXQatI,11176
|
|
65
67
|
quasardb/convert/unicode.hpp,sha256=eW3OwKMnFrOJ9ftUzA6MeVH5nZMuT3q9vuDzxn97pSQ,15600
|
|
66
68
|
quasardb/convert/util.hpp,sha256=Ldie5abmB4H_OFvykp0twzwAzOw_hyaUr85Ob3Qr-ko,582
|
|
67
|
-
quasardb/convert/value.hpp,sha256=
|
|
68
|
-
quasardb/date/ALL_BUILD.vcxproj,sha256=
|
|
69
|
+
quasardb/convert/value.hpp,sha256=Zf79FDUirneSiMZbjUX2H66sITsGaO0zRF71jWC06XE,25340
|
|
70
|
+
quasardb/date/ALL_BUILD.vcxproj,sha256=KSvStQvv-hTOB4fuswZZOvSgUUxLxp_Lj8BMWclMMtE,13241
|
|
69
71
|
quasardb/date/ALL_BUILD.vcxproj.filters,sha256=lTQk5MABpmIlZcZqriqmw7SlGUJKSM2xH8HnaKmgC5E,304
|
|
70
|
-
quasardb/date/INSTALL.vcxproj,sha256=
|
|
72
|
+
quasardb/date/INSTALL.vcxproj,sha256=VOO0ikjcz4aOWUHd-aJH8PlltglNrGEsZfjhYdq3wMY,10865
|
|
71
73
|
quasardb/date/INSTALL.vcxproj.filters,sha256=AMaizpPYhIXJd6rSPMr5LOjk93-w7ACxQq5vLI4yijU,565
|
|
72
74
|
quasardb/date/cmake_install.cmake,sha256=KM8R7G83UPvdBEU4QX02WOUt1pD_e5rmY6Vp6O-kpxU,3018
|
|
73
75
|
quasardb/date/date.sln,sha256=UcQLwQLzfSFfuvqoUSMjX3RNug-xzpiR4ev9mSco1PM,3661
|
|
74
|
-
quasardb/date/dateConfigVersion.cmake,sha256=
|
|
75
|
-
quasardb/date/dateTargets.cmake,sha256=
|
|
76
|
+
quasardb/date/dateConfigVersion.cmake,sha256=54LqYG6K3Si4Oq1UDH_bHTMzdr6c3KWFXpO0LdeO0zM,2827
|
|
77
|
+
quasardb/date/dateTargets.cmake,sha256=1t0xJ0SwcorkUjXIxBqpcO17sqbxH9dBshPDq9FRnEo,2842
|
|
76
78
|
quasardb/date/CMakeFiles/generate.stamp,sha256=MC9-mgyGPAS3QAZa3gHSQ8dYfXJy_Hn7AChwEoqVWOs,55
|
|
77
|
-
quasardb/date/CMakeFiles/generate.stamp.depend,sha256=
|
|
78
|
-
quasardb/date/CMakeFiles/Export/df49adab93b9e0c10c64f72458b31971/dateTargets.cmake,sha256=
|
|
79
|
+
quasardb/date/CMakeFiles/generate.stamp.depend,sha256=eBon_pyXjQBtlkyebk9vymCTensUa7VkeitkWKofgbA,450
|
|
80
|
+
quasardb/date/CMakeFiles/Export/df49adab93b9e0c10c64f72458b31971/dateTargets.cmake,sha256=f8QV6e3TyVcIbdxKC33m0T0Y4CT4r_aXALcM83hIbrU,4189
|
|
81
|
+
quasardb/detail/invoke.hpp,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
79
82
|
quasardb/detail/qdb_resource.hpp,sha256=QaVzlgBZR04meF7iKPvwXCv46I98QlvvPdJ3CoDFM34,3319
|
|
83
|
+
quasardb/detail/retry.cpp,sha256=94_MFVfsh3yVxXkOF0GRFUUl5X8qk-Ae7vezht5dPOQ,1648
|
|
84
|
+
quasardb/detail/retry.hpp,sha256=kn9Sqq_qnND3WBWTRT3EVc1iKH984c3nmebUT9upoyM,5020
|
|
85
|
+
quasardb/detail/sleep.hpp,sha256=84G-9PWKfigveq7TfOdLbYZ_OBTfgVWLHQSIYMkygSY,2179
|
|
80
86
|
quasardb/detail/ts_column.hpp,sha256=pjmNWx6GVdtWRGrYrG0DotL9NccoQN10rGIcxanxo10,7555
|
|
87
|
+
quasardb/detail/writer.cpp,sha256=_8g9NRS9lhrBz0x0yBVtLtFGxTbXjhWT1JT2FiCXspI,15629
|
|
88
|
+
quasardb/detail/writer.hpp,sha256=T5oRdPtFa9iaItZqBGfQaWdBLK_tYzsxQGiD1WTSglk,17416
|
|
81
89
|
quasardb/extensions/__init__.py,sha256=zvMxXV_zuRSbNrkjsu-qFSEiZahdHmC0lhMqMVRzY_8,120
|
|
82
90
|
quasardb/extensions/writer.py,sha256=LcGhgr_jrHEDukVukLN1eGKCU0egeZkcCOenFEhZi3A,5928
|
|
83
|
-
quasardb/numpy/__init__.py,sha256=
|
|
84
|
-
quasardb/pandas/__init__.py,sha256=
|
|
85
|
-
quasardb/pybind11/ALL_BUILD.vcxproj,sha256=
|
|
91
|
+
quasardb/numpy/__init__.py,sha256=SKBNEXyVQNmiZCtg0rlsnpEwvUYKGhvjshPnyByNCbs,30951
|
|
92
|
+
quasardb/pandas/__init__.py,sha256=vU41-kF5Uiw45swfrjTVqoceDjgFFXG406UVfRQhd6E,15392
|
|
93
|
+
quasardb/pybind11/ALL_BUILD.vcxproj,sha256=X2HTr4h6pLQgPy1kYdmkHB61cL1Q3Zjv9MrV6rppj8s,17681
|
|
86
94
|
quasardb/pybind11/ALL_BUILD.vcxproj.filters,sha256=WjgQPMVZN7jEaUOdw8Ha03hPfNxybvx_F2wOck10Kqo,308
|
|
87
|
-
quasardb/pybind11/INSTALL.vcxproj,sha256=
|
|
95
|
+
quasardb/pybind11/INSTALL.vcxproj,sha256=UaD7nsmUyglVW42h-mYy8kb9Lzddi9er-7NqBCJCOaE,10885
|
|
88
96
|
quasardb/pybind11/INSTALL.vcxproj.filters,sha256=EN7H3zcpyNkgbfc2Jxij49AFZ2MnONNYM8zpuY3zVS0,565
|
|
89
97
|
quasardb/pybind11/cmake_install.cmake,sha256=k8w7rY8hohkJE0J7y-mDFWP0y-IxQmNtYMU3-OVf4_I,1060
|
|
90
98
|
quasardb/pybind11/pybind11.sln,sha256=IMwCjVkgeRLG-P0sjkl3EllVXu-fdlB7T92rWWy4oa0,3661
|
|
91
99
|
quasardb/pybind11/CMakeFiles/generate.stamp,sha256=MC9-mgyGPAS3QAZa3gHSQ8dYfXJy_Hn7AChwEoqVWOs,55
|
|
92
|
-
quasardb/pybind11/CMakeFiles/generate.stamp.depend,sha256=
|
|
93
|
-
quasardb/range-v3/ALL_BUILD.vcxproj,sha256=
|
|
100
|
+
quasardb/pybind11/CMakeFiles/generate.stamp.depend,sha256=Iu96pwAzkgGpm3sTemJm2e2SAkYYT4f0VuwAqYabrCE,1565
|
|
101
|
+
quasardb/range-v3/ALL_BUILD.vcxproj,sha256=XCgvILYxEChChuLnckVKiTzKKsw5D7a47GxukfEWGPU,16821
|
|
94
102
|
quasardb/range-v3/ALL_BUILD.vcxproj.filters,sha256=c0k-3qrBreLvjffsj9pJo50YOMqfDYnxLpBqvV1nI00,308
|
|
95
|
-
quasardb/range-v3/INSTALL.vcxproj,sha256=
|
|
103
|
+
quasardb/range-v3/INSTALL.vcxproj,sha256=6H3axm_6N0UVaqdBscc8NmKtYzR5SmWzNKyL2i6CSlk,10885
|
|
96
104
|
quasardb/range-v3/INSTALL.vcxproj.filters,sha256=-JlkLyCiCtZYGbE7XyXv3o1-q4jzBwFXnnEEdHsjyYM,565
|
|
97
105
|
quasardb/range-v3/Range-v3.sln,sha256=8JzqucDM3DhvjM_lhF82Au18Y7zX4aF5PZ_FWaY1xN0,4507
|
|
98
|
-
quasardb/range-v3/cmake_install.cmake,sha256=
|
|
99
|
-
quasardb/range-v3/range-v3-config-version.cmake,sha256=
|
|
100
|
-
quasardb/range-v3/range-v3-config.cmake,sha256=
|
|
101
|
-
quasardb/range-v3/range.v3.headers.vcxproj,sha256=
|
|
106
|
+
quasardb/range-v3/cmake_install.cmake,sha256=v4C9K1Tifw5HxJPle2O_uMFgeaLjbPAWZObIfNApIQU,6660
|
|
107
|
+
quasardb/range-v3/range-v3-config-version.cmake,sha256=57XQ96x5Ec1VvRfoIPND_DSMJ9ZbHUqa8iZEiS0YMvw,3332
|
|
108
|
+
quasardb/range-v3/range-v3-config.cmake,sha256=wFolzAbcw4vJS2746FsN5yQq9O4j35vq66OoRseaY-Q,3458
|
|
109
|
+
quasardb/range-v3/range.v3.headers.vcxproj,sha256=Evzrc4TClQ-WnB34H8SF35NyH4rO2NBjMIggrayf41Y,56503
|
|
102
110
|
quasardb/range-v3/range.v3.headers.vcxproj.filters,sha256=GSJiey12lsJZLvVTtli2QMYufU7KaORK_JKQJvVY5u8,51825
|
|
103
111
|
quasardb/range-v3/CMakeFiles/generate.stamp,sha256=MC9-mgyGPAS3QAZa3gHSQ8dYfXJy_Hn7AChwEoqVWOs,55
|
|
104
|
-
quasardb/range-v3/CMakeFiles/generate.stamp.depend,sha256=
|
|
105
|
-
quasardb/range-v3/CMakeFiles/Export/d94ef200eca10a819b5858b33e808f5b/range-v3-targets.cmake,sha256=
|
|
112
|
+
quasardb/range-v3/CMakeFiles/generate.stamp.depend,sha256=RgLxGCugXajlClUb7ZjxkzkNdI8sDsOrfB0tnkZDvoE,1348
|
|
113
|
+
quasardb/range-v3/CMakeFiles/Export/d94ef200eca10a819b5858b33e808f5b/range-v3-targets.cmake,sha256=1s2G11_vLG2bI_U9FOKC7L2ZnyLBk2Jkv8_-_NlGHSs,5393
|
|
106
114
|
quasardb/range-v3/include/range/v3/version.hpp,sha256=jy6iEzXjaavicAw1VSIfvpS7Wu9IoEY51Q5N9m4eaB8,610
|
|
107
|
-
quasardb/reader/ts_row.hpp,sha256=9xJN-chOhajwYp4XslDTmZRDuKWQcGuXMXoUGbKsk00,9690
|
|
108
|
-
quasardb/reader/ts_value.hpp,sha256=_EhN5445w80cFJD59Bza8ghWghvPxhY-ug5-cMqLMHc,7048
|
|
109
115
|
quasardb/utils/blob_deque.hpp,sha256=YLp0eG1fSQXIFo46rZ8YIeTSNRJSdmmtdhC2z-qMa08,2540
|
|
110
116
|
quasardb/utils/ostream.hpp,sha256=KYFwqXuZoxuZblHUM-z5xrd74P2Y5zWJqVpaQ9oedAo,390
|
|
111
117
|
quasardb/utils/permutation.hpp,sha256=BwJzgZmpS4G-oS7249GvnUFj_cmqSAbF2Fzb8wuihLo,1552
|
|
112
118
|
quasardb/utils/stable_sort.hpp,sha256=luIK9T76mT0NyDxpLxXjTt1eSSKEOY29jRANJNysJCo,489
|
|
113
119
|
quasardb/utils/unzip_view.hpp,sha256=nn6BSAI_cGsKgBh8WXhAUJ6Zzn3N0AnhtE6ePmhPeQM,2476
|
|
114
|
-
quasardb-3.14.2.
|
|
115
|
-
quasardb-3.14.2.
|
|
116
|
-
quasardb-3.14.2.
|
|
117
|
-
quasardb-3.14.2.
|
|
118
|
-
quasardb-3.14.2.
|
|
120
|
+
quasardb-3.14.2.dev3.dist-info/LICENSE.md,sha256=0iT1ltzDof6cJr8mSX2PVOGhKjISfCrOYzJg7rG2pOs,1477
|
|
121
|
+
quasardb-3.14.2.dev3.dist-info/METADATA,sha256=PM1RJWVqK0ZXj-XXTlIZ7gYm01RLCuHpJCR7fmcN6uk,1453
|
|
122
|
+
quasardb-3.14.2.dev3.dist-info/WHEEL,sha256=NqhLytidpiVMxVzCvxIrEoueiikLHpRZRJaZbBFhXVU,102
|
|
123
|
+
quasardb-3.14.2.dev3.dist-info/top_level.txt,sha256=wlprix4hCywuF1PkgKWYdZeJKq_kgJOqkAvukm_sZQ8,9
|
|
124
|
+
quasardb-3.14.2.dev3.dist-info/RECORD,,
|
quasardb/reader/ts_row.hpp
DELETED
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
*
|
|
3
|
-
* Official Python API
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) 2009-2024, quasardb SAS. All rights reserved.
|
|
6
|
-
* All rights reserved.
|
|
7
|
-
*
|
|
8
|
-
* Redistribution and use in source and binary forms, with or without
|
|
9
|
-
* modification, are permitted provided that the following conditions are met:
|
|
10
|
-
*
|
|
11
|
-
* * Redistributions of source code must retain the above copyright
|
|
12
|
-
* notice, this list of conditions and the following disclaimer.
|
|
13
|
-
* * Redistributions in binary form must reproduce the above copyright
|
|
14
|
-
* notice, this list of conditions and the following disclaimer in the
|
|
15
|
-
* documentation and/or other materials provided with the distribution.
|
|
16
|
-
* * Neither the name of quasardb nor the names of its contributors may
|
|
17
|
-
* be used to endorse or promote products derived from this software
|
|
18
|
-
* without specific prior written permission.
|
|
19
|
-
*
|
|
20
|
-
* THIS SOFTWARE IS PROVIDED BY QUASARDB AND CONTRIBUTORS ``AS IS'' AND ANY
|
|
21
|
-
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
22
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
-
* DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
|
|
24
|
-
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
25
|
-
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
26
|
-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
27
|
-
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
-
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
29
|
-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
-
*/
|
|
31
|
-
#pragma once
|
|
32
|
-
|
|
33
|
-
#include "ts_value.hpp"
|
|
34
|
-
#include <qdb/ts.h>
|
|
35
|
-
#include <detail/ts_column.hpp>
|
|
36
|
-
#include <pybind11/numpy.h>
|
|
37
|
-
#include <pybind11/stl_bind.h>
|
|
38
|
-
#include <numpy.hpp>
|
|
39
|
-
|
|
40
|
-
namespace py = pybind11;
|
|
41
|
-
|
|
42
|
-
namespace qdb
|
|
43
|
-
{
|
|
44
|
-
|
|
45
|
-
namespace reader
|
|
46
|
-
{
|
|
47
|
-
|
|
48
|
-
using ts_columns_t = std::vector<detail::column_info>;
|
|
49
|
-
|
|
50
|
-
class ts_row
|
|
51
|
-
{
|
|
52
|
-
public:
|
|
53
|
-
// We need a default constructor to due being copied as part of an iterator.
|
|
54
|
-
ts_row() noexcept = default;
|
|
55
|
-
|
|
56
|
-
ts_row(handle_ptr handle, qdb_local_table_t local_table) noexcept
|
|
57
|
-
: _handle{handle}
|
|
58
|
-
, _local_table{local_table}
|
|
59
|
-
{}
|
|
60
|
-
|
|
61
|
-
bool operator==(const ts_row & rhs) const noexcept
|
|
62
|
-
{
|
|
63
|
-
auto tie = [](const auto & ts) { return std::tie(ts.tv_sec, ts.tv_nsec); };
|
|
64
|
-
|
|
65
|
-
// Since our row doesn't hold any intrinsic data itself and is merely
|
|
66
|
-
// an indirection to the data in the local table, it doesn't make a lot
|
|
67
|
-
// of sense to compare it with another other than comparing the timestamps
|
|
68
|
-
// and the local table references.
|
|
69
|
-
return (tie(_timestamp) == tie(rhs._timestamp)) && (_local_table == rhs._local_table);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
numpy::datetime64 timestamp() const noexcept
|
|
73
|
-
{
|
|
74
|
-
return numpy::datetime64(_timestamp);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Not exposed through Python, but allows the read_row operation to write the underlying
|
|
79
|
-
* timestamp object directly.
|
|
80
|
-
*/
|
|
81
|
-
qdb_timespec_t & mutable_timestamp() noexcept
|
|
82
|
-
{
|
|
83
|
-
return _timestamp;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
protected:
|
|
87
|
-
handle_ptr _handle{nullptr};
|
|
88
|
-
qdb_local_table_t _local_table{nullptr};
|
|
89
|
-
qdb_timespec_t _timestamp;
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Our 'fast' row is a pure, lazy list-type row that uses a column's offset for
|
|
94
|
-
* constant-time access to the column values. E.g. row[0], row[1] which will return
|
|
95
|
-
* a (short-lived) ts_value.
|
|
96
|
-
*/
|
|
97
|
-
class ts_fast_row : public ts_row
|
|
98
|
-
{
|
|
99
|
-
public:
|
|
100
|
-
ts_fast_row() noexcept = default;
|
|
101
|
-
|
|
102
|
-
ts_fast_row(handle_ptr handle, qdb_local_table_t local_table, const ts_columns_t & columns) noexcept
|
|
103
|
-
: ts_row(handle, local_table)
|
|
104
|
-
, _columns(columns)
|
|
105
|
-
{}
|
|
106
|
-
|
|
107
|
-
std::vector<py::object> copy() const
|
|
108
|
-
{
|
|
109
|
-
int64_t size = _columns.size() + 1;
|
|
110
|
-
std::vector<py::object> res;
|
|
111
|
-
res.reserve(size);
|
|
112
|
-
|
|
113
|
-
for (auto index = 0; index < size; ++index)
|
|
114
|
-
{
|
|
115
|
-
// By first casting the value, we create a copy of the concrete type
|
|
116
|
-
// (e.g. the int64 or the blob) rather than the reference into the local
|
|
117
|
-
// table.
|
|
118
|
-
res.push_back(get_item(index));
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
return res;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
py::object get_item(uint64_t index) const
|
|
125
|
-
{
|
|
126
|
-
if (index == 0)
|
|
127
|
-
{
|
|
128
|
-
// TODO(leon): we construct this object every time; should be without any heap
|
|
129
|
-
// allocations,but can we do without this?
|
|
130
|
-
return timestamp();
|
|
131
|
-
}
|
|
132
|
-
else
|
|
133
|
-
{
|
|
134
|
-
uint64_t col_index = index - 1;
|
|
135
|
-
if (col_index > _columns.size())
|
|
136
|
-
{
|
|
137
|
-
throw py::index_error();
|
|
138
|
-
}
|
|
139
|
-
return py::cast(ts_value(_handle, _local_table, col_index, _columns.at(col_index).type),
|
|
140
|
-
py::return_value_policy::move);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
void set_item(int64_t /* index */, int64_t /* value */)
|
|
145
|
-
{
|
|
146
|
-
// not implemented
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
std::string repr() const
|
|
150
|
-
{
|
|
151
|
-
// This is inefficient because we first cast everything to Python objects, get the
|
|
152
|
-
// string representation and then cast back to c++ strings, but it's correct and
|
|
153
|
-
// effective, and it's used for debugging purposes only.
|
|
154
|
-
auto xs = copy();
|
|
155
|
-
std::string kvs =
|
|
156
|
-
std::accumulate(xs.cbegin(), xs.cend(), std::string(), [](std::string acc, auto x) {
|
|
157
|
-
std::string s = py::str(x);
|
|
158
|
-
return acc.empty() ? s : std::move(acc) + ", " + s;
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
return "[" + std::move(kvs) + "]";
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
private:
|
|
165
|
-
ts_columns_t _columns;
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Our 'dict' row is a much slower, dict-based row type that provides very convenient
|
|
170
|
-
* access to the columns by their name. It does, however, index each and every row's
|
|
171
|
-
* columns eagerly, and as such will exhibit much worse performance.
|
|
172
|
-
*/
|
|
173
|
-
class ts_dict_row : public ts_row
|
|
174
|
-
{
|
|
175
|
-
public:
|
|
176
|
-
ts_dict_row() noexcept = default;
|
|
177
|
-
|
|
178
|
-
ts_dict_row(handle_ptr handle, qdb_local_table_t local_table, const ts_columns_t & columns)
|
|
179
|
-
: ts_row(handle, local_table)
|
|
180
|
-
, _indexed_columns(detail::index_columns(columns))
|
|
181
|
-
{
|
|
182
|
-
// We store '$timestamp' as a magic, uninitialized column. This column type
|
|
183
|
-
// is then recorgnized by get_item()
|
|
184
|
-
_indexed_columns.insert(detail::indexed_columns_t::value_type("$timestamp", {}));
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
ts_dict_row(const ts_dict_row & rhs) noexcept
|
|
188
|
-
: ts_row(rhs._handle, rhs._local_table)
|
|
189
|
-
, _indexed_columns(rhs._indexed_columns)
|
|
190
|
-
{}
|
|
191
|
-
|
|
192
|
-
std::map<std::string, py::object> copy() const
|
|
193
|
-
{
|
|
194
|
-
using map_type = std::map<std::string, py::object>;
|
|
195
|
-
map_type res;
|
|
196
|
-
|
|
197
|
-
for (const auto & c : _indexed_columns)
|
|
198
|
-
{
|
|
199
|
-
qdb_size_t index = c.second.index;
|
|
200
|
-
|
|
201
|
-
// By first casting the value, we create a copy of the concrete type
|
|
202
|
-
// (e.g. the int64 or the blob) rather than the reference into the local
|
|
203
|
-
// table.
|
|
204
|
-
if (c.second.type == qdb_ts_column_uninitialized)
|
|
205
|
-
{
|
|
206
|
-
// assert (i.first == "$timestamp")
|
|
207
|
-
res.insert(map_type::value_type(c.first, timestamp()));
|
|
208
|
-
}
|
|
209
|
-
else
|
|
210
|
-
res.insert(map_type::value_type(
|
|
211
|
-
c.first, py::cast(ts_value(_handle, _local_table, index, c.second.type))));
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
return res;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
py::object get_item(const std::string & alias) const
|
|
218
|
-
{
|
|
219
|
-
auto c = _indexed_columns.find(alias);
|
|
220
|
-
if (c == _indexed_columns.end())
|
|
221
|
-
{
|
|
222
|
-
throw pybind11::key_error();
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
const auto & indexed_column = c->second;
|
|
226
|
-
if (c->second.type == qdb_ts_column_uninitialized)
|
|
227
|
-
{
|
|
228
|
-
// assert(alias == "$timestamp")
|
|
229
|
-
return timestamp();
|
|
230
|
-
}
|
|
231
|
-
else
|
|
232
|
-
{
|
|
233
|
-
return py::cast(ts_value(_handle, _local_table, indexed_column.index, indexed_column.type),
|
|
234
|
-
py::return_value_policy::move);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
void set_item(const std::string & /* alias */, const std::string & /* value */) const noexcept
|
|
239
|
-
{
|
|
240
|
-
// not implemented
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
std::string repr() const
|
|
244
|
-
{
|
|
245
|
-
// Same as ts_fast_row::repr, this is inefficient but it's ok
|
|
246
|
-
auto xs = copy();
|
|
247
|
-
std::string items =
|
|
248
|
-
std::accumulate(xs.cbegin(), xs.cend(), std::string(), [](std::string acc, const auto & x) {
|
|
249
|
-
std::string s = "'" + x.first + "': " + std::string(py::str(x.second));
|
|
250
|
-
return acc.empty() ? s : std::move(acc) + ", " + s;
|
|
251
|
-
});
|
|
252
|
-
|
|
253
|
-
return "{" + std::move(items) + "}";
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
private:
|
|
257
|
-
detail::indexed_columns_t _indexed_columns;
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
template <typename Module>
|
|
261
|
-
static inline void register_ts_row(Module & m)
|
|
262
|
-
{
|
|
263
|
-
py::bind_vector<std::vector<py::object>>(m, "VectorObject");
|
|
264
|
-
|
|
265
|
-
py::class_<ts_fast_row>{m, "TimeSeriesReaderFastRow"}
|
|
266
|
-
.def("__repr__", &ts_fast_row::repr)
|
|
267
|
-
.def("__getitem__", &ts_fast_row::get_item, py::return_value_policy::move)
|
|
268
|
-
.def("__setitem__", &ts_fast_row::set_item)
|
|
269
|
-
.def("timestamp", &ts_fast_row::timestamp)
|
|
270
|
-
.def("copy", &ts_fast_row::copy);
|
|
271
|
-
|
|
272
|
-
py::class_<ts_dict_row>{m, "TimeSeriesReaderDictRow"}
|
|
273
|
-
.def("__repr__", &ts_dict_row::repr)
|
|
274
|
-
.def("__getitem__", &ts_dict_row::get_item, py::return_value_policy::move)
|
|
275
|
-
.def("__setitem__", &ts_dict_row::set_item)
|
|
276
|
-
.def("timestamp", &ts_dict_row::timestamp)
|
|
277
|
-
.def("copy", &ts_dict_row::copy);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
} // namespace reader
|
|
281
|
-
} // namespace qdb
|