quasardb 3.14.2.dev8__cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.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.
- quasardb/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- quasardb/CMakeFiles/progress.marks +1 -0
- quasardb/Makefile +189 -0
- quasardb/__init__.py +140 -0
- quasardb/__init__.pyi +72 -0
- quasardb/cmake_install.cmake +58 -0
- quasardb/date/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- quasardb/date/CMakeFiles/Export/b76006b2b7125baf1b0b4d4ca4db82bd/dateTargets.cmake +108 -0
- quasardb/date/CMakeFiles/progress.marks +1 -0
- quasardb/date/Makefile +189 -0
- quasardb/date/cmake_install.cmake +81 -0
- quasardb/date/dateConfigVersion.cmake +65 -0
- quasardb/date/dateTargets.cmake +63 -0
- quasardb/extensions/__init__.py +9 -0
- quasardb/extensions/writer.py +195 -0
- quasardb/firehose.py +112 -0
- quasardb/libqdb_api.so +0 -0
- quasardb/numpy/__init__.py +1106 -0
- quasardb/pandas/__init__.py +696 -0
- quasardb/pool.py +338 -0
- quasardb/pybind11/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- quasardb/pybind11/CMakeFiles/progress.marks +1 -0
- quasardb/pybind11/Makefile +189 -0
- quasardb/pybind11/cmake_install.cmake +50 -0
- quasardb/quasardb/__init__.pyi +97 -0
- quasardb/quasardb/_batch_column.pyi +5 -0
- quasardb/quasardb/_batch_inserter.pyi +32 -0
- quasardb/quasardb/_blob.pyi +16 -0
- quasardb/quasardb/_cluster.pyi +106 -0
- quasardb/quasardb/_continuous.pyi +18 -0
- quasardb/quasardb/_double.pyi +7 -0
- quasardb/quasardb/_entry.pyi +61 -0
- quasardb/quasardb/_error.pyi +15 -0
- quasardb/quasardb/_integer.pyi +7 -0
- quasardb/quasardb/_node.pyi +26 -0
- quasardb/quasardb/_options.pyi +106 -0
- quasardb/quasardb/_perf.pyi +7 -0
- quasardb/quasardb/_properties.pyi +5 -0
- quasardb/quasardb/_query.pyi +2 -0
- quasardb/quasardb/_reader.pyi +15 -0
- quasardb/quasardb/_retry.pyi +16 -0
- quasardb/quasardb/_string.pyi +12 -0
- quasardb/quasardb/_table.pyi +140 -0
- quasardb/quasardb/_tag.pyi +5 -0
- quasardb/quasardb/_timestamp.pyi +9 -0
- quasardb/quasardb/_writer.pyi +112 -0
- quasardb/quasardb/metrics/__init__.pyi +28 -0
- quasardb/quasardb.cpython-310-x86_64-linux-gnu.so +0 -0
- quasardb/range-v3/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- quasardb/range-v3/CMakeFiles/Export/48a02d54b5e9e60c30c5f249b431a911/range-v3-targets.cmake +128 -0
- quasardb/range-v3/CMakeFiles/progress.marks +1 -0
- quasardb/range-v3/CMakeFiles/range.v3.headers.dir/DependInfo.cmake +22 -0
- quasardb/range-v3/CMakeFiles/range.v3.headers.dir/build.make +86 -0
- quasardb/range-v3/CMakeFiles/range.v3.headers.dir/cmake_clean.cmake +5 -0
- quasardb/range-v3/CMakeFiles/range.v3.headers.dir/compiler_depend.make +2 -0
- quasardb/range-v3/CMakeFiles/range.v3.headers.dir/compiler_depend.ts +2 -0
- quasardb/range-v3/CMakeFiles/range.v3.headers.dir/progress.make +1 -0
- quasardb/range-v3/Makefile +204 -0
- quasardb/range-v3/cmake_install.cmake +93 -0
- quasardb/range-v3/include/range/v3/version.hpp +24 -0
- quasardb/range-v3/range-v3-config-version.cmake +83 -0
- quasardb/range-v3/range-v3-config.cmake +80 -0
- quasardb/stats.py +376 -0
- quasardb/table_cache.py +60 -0
- quasardb/typing.py +23 -0
- quasardb-3.14.2.dev8.dist-info/METADATA +41 -0
- quasardb-3.14.2.dev8.dist-info/RECORD +70 -0
- quasardb-3.14.2.dev8.dist-info/WHEEL +6 -0
- quasardb-3.14.2.dev8.dist-info/licenses/LICENSE.md +11 -0
- quasardb-3.14.2.dev8.dist-info/top_level.txt +1 -0
quasardb/date/Makefile
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# CMAKE generated file: DO NOT EDIT!
|
|
2
|
+
# Generated by "Unix Makefiles" Generator, CMake Version 4.1
|
|
3
|
+
|
|
4
|
+
# Default target executed when no arguments are given to make.
|
|
5
|
+
default_target: all
|
|
6
|
+
.PHONY : default_target
|
|
7
|
+
|
|
8
|
+
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
|
9
|
+
.NOTPARALLEL:
|
|
10
|
+
|
|
11
|
+
#=============================================================================
|
|
12
|
+
# Special targets provided by cmake.
|
|
13
|
+
|
|
14
|
+
# Disable implicit rules so canonical targets will work.
|
|
15
|
+
.SUFFIXES:
|
|
16
|
+
|
|
17
|
+
# Disable VCS-based implicit rules.
|
|
18
|
+
% : %,v
|
|
19
|
+
|
|
20
|
+
# Disable VCS-based implicit rules.
|
|
21
|
+
% : RCS/%
|
|
22
|
+
|
|
23
|
+
# Disable VCS-based implicit rules.
|
|
24
|
+
% : RCS/%,v
|
|
25
|
+
|
|
26
|
+
# Disable VCS-based implicit rules.
|
|
27
|
+
% : SCCS/s.%
|
|
28
|
+
|
|
29
|
+
# Disable VCS-based implicit rules.
|
|
30
|
+
% : s.%
|
|
31
|
+
|
|
32
|
+
.SUFFIXES: .hpux_make_needs_suffix_list
|
|
33
|
+
|
|
34
|
+
# Command-line flag to silence nested $(MAKE).
|
|
35
|
+
$(VERBOSE)MAKESILENT = -s
|
|
36
|
+
|
|
37
|
+
#Suppress display of executed commands.
|
|
38
|
+
$(VERBOSE).SILENT:
|
|
39
|
+
|
|
40
|
+
# A target that is always out of date.
|
|
41
|
+
cmake_force:
|
|
42
|
+
.PHONY : cmake_force
|
|
43
|
+
|
|
44
|
+
#=============================================================================
|
|
45
|
+
# Set environment variables for the build.
|
|
46
|
+
|
|
47
|
+
# The shell in which to execute make rules.
|
|
48
|
+
SHELL = /bin/sh
|
|
49
|
+
|
|
50
|
+
# The CMake executable.
|
|
51
|
+
CMAKE_COMMAND = /home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake
|
|
52
|
+
|
|
53
|
+
# The command to remove a file.
|
|
54
|
+
RM = /home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake -E rm -f
|
|
55
|
+
|
|
56
|
+
# Escaping for special characters.
|
|
57
|
+
EQUALS = =
|
|
58
|
+
|
|
59
|
+
# The top-level source directory on which CMake was run.
|
|
60
|
+
CMAKE_SOURCE_DIR = /home/teamcity/buildAgent/work/938b0bdf6727d1ad/quasardb
|
|
61
|
+
|
|
62
|
+
# The top-level build directory on which CMake was run.
|
|
63
|
+
CMAKE_BINARY_DIR = /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310
|
|
64
|
+
|
|
65
|
+
#=============================================================================
|
|
66
|
+
# Targets provided globally by CMake.
|
|
67
|
+
|
|
68
|
+
# Special rule for the target edit_cache
|
|
69
|
+
edit_cache:
|
|
70
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "No interactive CMake dialog available..."
|
|
71
|
+
/home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
|
72
|
+
.PHONY : edit_cache
|
|
73
|
+
|
|
74
|
+
# Special rule for the target edit_cache
|
|
75
|
+
edit_cache/fast: edit_cache
|
|
76
|
+
.PHONY : edit_cache/fast
|
|
77
|
+
|
|
78
|
+
# Special rule for the target rebuild_cache
|
|
79
|
+
rebuild_cache:
|
|
80
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
|
|
81
|
+
/home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
|
82
|
+
.PHONY : rebuild_cache
|
|
83
|
+
|
|
84
|
+
# Special rule for the target rebuild_cache
|
|
85
|
+
rebuild_cache/fast: rebuild_cache
|
|
86
|
+
.PHONY : rebuild_cache/fast
|
|
87
|
+
|
|
88
|
+
# Special rule for the target list_install_components
|
|
89
|
+
list_install_components:
|
|
90
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Available install components are: \"Unspecified\""
|
|
91
|
+
.PHONY : list_install_components
|
|
92
|
+
|
|
93
|
+
# Special rule for the target list_install_components
|
|
94
|
+
list_install_components/fast: list_install_components
|
|
95
|
+
.PHONY : list_install_components/fast
|
|
96
|
+
|
|
97
|
+
# Special rule for the target install
|
|
98
|
+
install: preinstall
|
|
99
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
|
100
|
+
/home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
|
|
101
|
+
.PHONY : install
|
|
102
|
+
|
|
103
|
+
# Special rule for the target install
|
|
104
|
+
install/fast: preinstall/fast
|
|
105
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
|
|
106
|
+
/home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
|
|
107
|
+
.PHONY : install/fast
|
|
108
|
+
|
|
109
|
+
# Special rule for the target install/local
|
|
110
|
+
install/local: preinstall
|
|
111
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
|
112
|
+
/home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
|
113
|
+
.PHONY : install/local
|
|
114
|
+
|
|
115
|
+
# Special rule for the target install/local
|
|
116
|
+
install/local/fast: preinstall/fast
|
|
117
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
|
|
118
|
+
/home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
|
119
|
+
.PHONY : install/local/fast
|
|
120
|
+
|
|
121
|
+
# Special rule for the target install/strip
|
|
122
|
+
install/strip: preinstall
|
|
123
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
|
124
|
+
/home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
|
125
|
+
.PHONY : install/strip
|
|
126
|
+
|
|
127
|
+
# Special rule for the target install/strip
|
|
128
|
+
install/strip/fast: preinstall/fast
|
|
129
|
+
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
|
|
130
|
+
/home/teamcity/buildAgent/temp/buildTmp/build-env-rhi2owi3/lib/python3.10/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
|
131
|
+
.PHONY : install/strip/fast
|
|
132
|
+
|
|
133
|
+
# The main all target
|
|
134
|
+
all: cmake_check_build_system
|
|
135
|
+
cd /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310 && $(CMAKE_COMMAND) -E cmake_progress_start /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310/CMakeFiles /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.linux-x86_64-cpython-310/quasardb/date//CMakeFiles/progress.marks
|
|
136
|
+
cd /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.linux-x86_64-cpython-310/quasardb/date/all
|
|
137
|
+
$(CMAKE_COMMAND) -E cmake_progress_start /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310/CMakeFiles 0
|
|
138
|
+
.PHONY : all
|
|
139
|
+
|
|
140
|
+
# The main clean target
|
|
141
|
+
clean:
|
|
142
|
+
cd /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.linux-x86_64-cpython-310/quasardb/date/clean
|
|
143
|
+
.PHONY : clean
|
|
144
|
+
|
|
145
|
+
# The main clean target
|
|
146
|
+
clean/fast: clean
|
|
147
|
+
.PHONY : clean/fast
|
|
148
|
+
|
|
149
|
+
# Prepare targets for installation.
|
|
150
|
+
preinstall: all
|
|
151
|
+
cd /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.linux-x86_64-cpython-310/quasardb/date/preinstall
|
|
152
|
+
.PHONY : preinstall
|
|
153
|
+
|
|
154
|
+
# Prepare targets for installation.
|
|
155
|
+
preinstall/fast:
|
|
156
|
+
cd /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310 && $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.linux-x86_64-cpython-310/quasardb/date/preinstall
|
|
157
|
+
.PHONY : preinstall/fast
|
|
158
|
+
|
|
159
|
+
# clear depends
|
|
160
|
+
depend:
|
|
161
|
+
cd /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310 && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
|
162
|
+
.PHONY : depend
|
|
163
|
+
|
|
164
|
+
# Help Target
|
|
165
|
+
help:
|
|
166
|
+
@echo "The following are some of the valid targets for this Makefile:"
|
|
167
|
+
@echo "... all (the default if no target is provided)"
|
|
168
|
+
@echo "... clean"
|
|
169
|
+
@echo "... depend"
|
|
170
|
+
@echo "... edit_cache"
|
|
171
|
+
@echo "... install"
|
|
172
|
+
@echo "... install/local"
|
|
173
|
+
@echo "... install/strip"
|
|
174
|
+
@echo "... list_install_components"
|
|
175
|
+
@echo "... rebuild_cache"
|
|
176
|
+
.PHONY : help
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
#=============================================================================
|
|
181
|
+
# Special targets to cleanup operation of make.
|
|
182
|
+
|
|
183
|
+
# Special rule to run CMake to check the build system integrity.
|
|
184
|
+
# No rule that depends on this can have commands that come from listfiles
|
|
185
|
+
# because they might be regenerated.
|
|
186
|
+
cmake_check_build_system:
|
|
187
|
+
cd /home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/temp.linux-x86_64-cpython-310 && $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
|
188
|
+
.PHONY : cmake_check_build_system
|
|
189
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Install script for directory: /home/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/date
|
|
2
|
+
|
|
3
|
+
# Set the install prefix
|
|
4
|
+
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
5
|
+
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
|
6
|
+
endif()
|
|
7
|
+
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
8
|
+
|
|
9
|
+
# Set the install configuration name.
|
|
10
|
+
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
|
11
|
+
if(BUILD_TYPE)
|
|
12
|
+
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
|
13
|
+
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
|
14
|
+
else()
|
|
15
|
+
set(CMAKE_INSTALL_CONFIG_NAME "Release")
|
|
16
|
+
endif()
|
|
17
|
+
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
|
18
|
+
endif()
|
|
19
|
+
|
|
20
|
+
# Set the component getting installed.
|
|
21
|
+
if(NOT CMAKE_INSTALL_COMPONENT)
|
|
22
|
+
if(COMPONENT)
|
|
23
|
+
message(STATUS "Install component: \"${COMPONENT}\"")
|
|
24
|
+
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
|
25
|
+
else()
|
|
26
|
+
set(CMAKE_INSTALL_COMPONENT)
|
|
27
|
+
endif()
|
|
28
|
+
endif()
|
|
29
|
+
|
|
30
|
+
# Install shared libraries without execute permission?
|
|
31
|
+
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
|
32
|
+
set(CMAKE_INSTALL_SO_NO_EXE "0")
|
|
33
|
+
endif()
|
|
34
|
+
|
|
35
|
+
# Is this installation the result of a crosscompile?
|
|
36
|
+
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
37
|
+
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
38
|
+
endif()
|
|
39
|
+
|
|
40
|
+
# Set path to fallback-tool for dependency-resolution.
|
|
41
|
+
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
42
|
+
set(CMAKE_OBJDUMP "/opt/rh/gcc-toolset-14/root/usr/bin/objdump")
|
|
43
|
+
endif()
|
|
44
|
+
|
|
45
|
+
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
46
|
+
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/date" TYPE FILE FILES "/home/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/date/include/date/date.h")
|
|
47
|
+
endif()
|
|
48
|
+
|
|
49
|
+
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
50
|
+
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib64/cmake/date/dateTargets.cmake")
|
|
51
|
+
file(DIFFERENT _cmake_export_file_changed FILES
|
|
52
|
+
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib64/cmake/date/dateTargets.cmake"
|
|
53
|
+
"/home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.linux-x86_64-cpython-310/quasardb/date/CMakeFiles/Export/b76006b2b7125baf1b0b4d4ca4db82bd/dateTargets.cmake")
|
|
54
|
+
if(_cmake_export_file_changed)
|
|
55
|
+
file(GLOB _cmake_old_config_files "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib64/cmake/date/dateTargets-*.cmake")
|
|
56
|
+
if(_cmake_old_config_files)
|
|
57
|
+
string(REPLACE ";" ", " _cmake_old_config_files_text "${_cmake_old_config_files}")
|
|
58
|
+
message(STATUS "Old export file \"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib64/cmake/date/dateTargets.cmake\" will be replaced. Removing files [${_cmake_old_config_files_text}].")
|
|
59
|
+
unset(_cmake_old_config_files_text)
|
|
60
|
+
file(REMOVE ${_cmake_old_config_files})
|
|
61
|
+
endif()
|
|
62
|
+
unset(_cmake_old_config_files)
|
|
63
|
+
endif()
|
|
64
|
+
unset(_cmake_export_file_changed)
|
|
65
|
+
endif()
|
|
66
|
+
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib64/cmake/date" TYPE FILE FILES "/home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.linux-x86_64-cpython-310/quasardb/date/CMakeFiles/Export/b76006b2b7125baf1b0b4d4ca4db82bd/dateTargets.cmake")
|
|
67
|
+
endif()
|
|
68
|
+
|
|
69
|
+
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
70
|
+
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib64/cmake/date" TYPE FILE FILES
|
|
71
|
+
"/home/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/date/cmake/dateConfig.cmake"
|
|
72
|
+
"/home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.linux-x86_64-cpython-310/quasardb/date/dateConfigVersion.cmake"
|
|
73
|
+
)
|
|
74
|
+
endif()
|
|
75
|
+
|
|
76
|
+
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
77
|
+
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
78
|
+
if(CMAKE_INSTALL_LOCAL_ONLY)
|
|
79
|
+
file(WRITE "/home/teamcity/buildAgent/work/938b0bdf6727d1ad/build/lib.linux-x86_64-cpython-310/quasardb/date/install_local_manifest.txt"
|
|
80
|
+
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
81
|
+
endif()
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# This is a basic version file for the Config-mode of find_package().
|
|
2
|
+
# It is used by write_basic_package_version_file() as input file for configure_file()
|
|
3
|
+
# to create a version-file which can be installed along a config.cmake file.
|
|
4
|
+
#
|
|
5
|
+
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
|
|
6
|
+
# the requested version string are exactly the same and it sets
|
|
7
|
+
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
|
|
8
|
+
# but only if the requested major version is the same as the current one.
|
|
9
|
+
# The variable CVF_VERSION must be set before calling configure_file().
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
set(PACKAGE_VERSION "3.0.1")
|
|
13
|
+
|
|
14
|
+
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
|
15
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
|
16
|
+
else()
|
|
17
|
+
|
|
18
|
+
if("3.0.1" MATCHES "^([0-9]+)\\.")
|
|
19
|
+
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
|
20
|
+
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
|
21
|
+
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
|
22
|
+
endif()
|
|
23
|
+
else()
|
|
24
|
+
set(CVF_VERSION_MAJOR "3.0.1")
|
|
25
|
+
endif()
|
|
26
|
+
|
|
27
|
+
if(PACKAGE_FIND_VERSION_RANGE)
|
|
28
|
+
# both endpoints of the range must have the expected major version
|
|
29
|
+
math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
|
|
30
|
+
if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
|
31
|
+
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
|
32
|
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
|
|
33
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
|
34
|
+
elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
|
35
|
+
AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
|
|
36
|
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
|
|
37
|
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
|
38
|
+
else()
|
|
39
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
|
40
|
+
endif()
|
|
41
|
+
else()
|
|
42
|
+
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
|
43
|
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
|
44
|
+
else()
|
|
45
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
|
46
|
+
endif()
|
|
47
|
+
|
|
48
|
+
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
|
49
|
+
set(PACKAGE_VERSION_EXACT TRUE)
|
|
50
|
+
endif()
|
|
51
|
+
endif()
|
|
52
|
+
endif()
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
|
56
|
+
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
|
|
57
|
+
return()
|
|
58
|
+
endif()
|
|
59
|
+
|
|
60
|
+
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
|
61
|
+
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
|
62
|
+
math(EXPR installedBits "8 * 8")
|
|
63
|
+
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
|
|
64
|
+
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
|
65
|
+
endif()
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Generated by CMake
|
|
2
|
+
|
|
3
|
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
|
4
|
+
message(FATAL_ERROR "CMake >= 3.0.0 required")
|
|
5
|
+
endif()
|
|
6
|
+
if(CMAKE_VERSION VERSION_LESS "3.0.0")
|
|
7
|
+
message(FATAL_ERROR "CMake >= 3.0.0 required")
|
|
8
|
+
endif()
|
|
9
|
+
cmake_policy(PUSH)
|
|
10
|
+
cmake_policy(VERSION 3.0.0...3.31)
|
|
11
|
+
#----------------------------------------------------------------
|
|
12
|
+
# Generated CMake target import file.
|
|
13
|
+
#----------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
# Commands may need to know the format version.
|
|
16
|
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
17
|
+
|
|
18
|
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
|
19
|
+
set(_cmake_targets_defined "")
|
|
20
|
+
set(_cmake_targets_not_defined "")
|
|
21
|
+
set(_cmake_expected_targets "")
|
|
22
|
+
foreach(_cmake_expected_target IN ITEMS date::date)
|
|
23
|
+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
|
24
|
+
if(TARGET "${_cmake_expected_target}")
|
|
25
|
+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
|
26
|
+
else()
|
|
27
|
+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
|
28
|
+
endif()
|
|
29
|
+
endforeach()
|
|
30
|
+
unset(_cmake_expected_target)
|
|
31
|
+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
|
32
|
+
unset(_cmake_targets_defined)
|
|
33
|
+
unset(_cmake_targets_not_defined)
|
|
34
|
+
unset(_cmake_expected_targets)
|
|
35
|
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
|
36
|
+
cmake_policy(POP)
|
|
37
|
+
return()
|
|
38
|
+
endif()
|
|
39
|
+
if(NOT _cmake_targets_defined STREQUAL "")
|
|
40
|
+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
|
41
|
+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
|
42
|
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
|
43
|
+
endif()
|
|
44
|
+
unset(_cmake_targets_defined)
|
|
45
|
+
unset(_cmake_targets_not_defined)
|
|
46
|
+
unset(_cmake_expected_targets)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# Create imported target date::date
|
|
50
|
+
add_library(date::date INTERFACE IMPORTED)
|
|
51
|
+
|
|
52
|
+
set_target_properties(date::date PROPERTIES
|
|
53
|
+
INTERFACE_COMPILE_DEFINITIONS "ONLY_C_LOCALE=0"
|
|
54
|
+
INTERFACE_INCLUDE_DIRECTORIES "/home/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/date/include"
|
|
55
|
+
INTERFACE_SOURCES "/home/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/date/include/date/date.h;/home/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/date/include/date/solar_hijri.h;/home/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/date/include/date/islamic.h;/home/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/date/include/date/iso_week.h;/home/teamcity/buildAgent/work/938b0bdf6727d1ad/thirdparty/date/include/date/julian.h"
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
# This file does not depend on other imported targets which have
|
|
59
|
+
# been exported from the same project but in a separate export set.
|
|
60
|
+
|
|
61
|
+
# Commands beyond this point should not need to know the version.
|
|
62
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
|
63
|
+
cmake_policy(POP)
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import copy
|
|
2
|
+
from typing import Any, Callable, Dict, List, Optional
|
|
3
|
+
|
|
4
|
+
import numpy as np
|
|
5
|
+
import numpy.ma as ma
|
|
6
|
+
|
|
7
|
+
import quasardb
|
|
8
|
+
|
|
9
|
+
__all__: List[Any] = []
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def _ensure_ctype(self: Any, idx: int, ctype: quasardb.ColumnType) -> None:
|
|
13
|
+
assert "table" in self._legacy_state
|
|
14
|
+
infos = self._legacy_state["table"].list_columns()
|
|
15
|
+
cinfo = infos[idx]
|
|
16
|
+
|
|
17
|
+
ctype_data = copy.copy(ctype)
|
|
18
|
+
ctype_column = copy.copy(cinfo.type)
|
|
19
|
+
|
|
20
|
+
if ctype_data == quasardb.ColumnType.Symbol:
|
|
21
|
+
ctype_data = quasardb.ColumnType.String
|
|
22
|
+
|
|
23
|
+
if ctype_column == quasardb.ColumnType.Symbol:
|
|
24
|
+
ctype_column = quasardb.ColumnType.String
|
|
25
|
+
|
|
26
|
+
if not ctype_data == ctype_column:
|
|
27
|
+
raise quasardb.IncompatibleTypeError()
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def _legacy_next_row(self: Any, table: Any) -> Dict[str, Any]:
|
|
31
|
+
if "pending" not in self._legacy_state:
|
|
32
|
+
self._legacy_state["pending"] = []
|
|
33
|
+
|
|
34
|
+
if "table" not in self._legacy_state:
|
|
35
|
+
self._legacy_state["table"] = table
|
|
36
|
+
|
|
37
|
+
self._legacy_state["pending"].append({"by_index": {}})
|
|
38
|
+
|
|
39
|
+
# Return reference to the row inside the buffer
|
|
40
|
+
return self._legacy_state["pending"][-1]
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def _legacy_current_row(self: Any) -> Dict[str, Any]:
|
|
44
|
+
return self._legacy_state["pending"][-1]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def _legacy_start_row(self: Any, table: Any, x: np.datetime64) -> None:
|
|
48
|
+
row = _legacy_next_row(self, table)
|
|
49
|
+
assert "$timestamp" not in row
|
|
50
|
+
row["$timestamp"] = x
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def _legacy_set_double(self: Any, idx: int, x: float) -> None:
|
|
54
|
+
_ensure_ctype(self, idx, quasardb.ColumnType.Double)
|
|
55
|
+
assert isinstance(x, float)
|
|
56
|
+
assert idx not in _legacy_current_row(self)["by_index"]
|
|
57
|
+
_legacy_current_row(self)["by_index"][idx] = x
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def _legacy_set_int64(self: Any, idx: int, x: int) -> None:
|
|
61
|
+
_ensure_ctype(self, idx, quasardb.ColumnType.Int64)
|
|
62
|
+
assert isinstance(x, int)
|
|
63
|
+
assert idx not in _legacy_current_row(self)["by_index"]
|
|
64
|
+
_legacy_current_row(self)["by_index"][idx] = x
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def _legacy_set_timestamp(self: Any, idx: int, x: np.datetime64) -> None:
|
|
68
|
+
_ensure_ctype(self, idx, quasardb.ColumnType.Timestamp)
|
|
69
|
+
assert idx not in _legacy_current_row(self)["by_index"]
|
|
70
|
+
_legacy_current_row(self)["by_index"][idx] = x
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def _legacy_set_string(self: Any, idx: int, x: str) -> None:
|
|
74
|
+
_ensure_ctype(self, idx, quasardb.ColumnType.String)
|
|
75
|
+
assert isinstance(x, str)
|
|
76
|
+
assert idx not in _legacy_current_row(self)["by_index"]
|
|
77
|
+
|
|
78
|
+
_legacy_current_row(self)["by_index"][idx] = x
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def _legacy_set_blob(self: Any, idx: int, x: bytes) -> None:
|
|
82
|
+
_ensure_ctype(self, idx, quasardb.ColumnType.Blob)
|
|
83
|
+
assert isinstance(x, bytes)
|
|
84
|
+
assert idx not in _legacy_current_row(self)["by_index"]
|
|
85
|
+
|
|
86
|
+
_legacy_current_row(self)["by_index"][idx] = x
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def _legacy_push(self: Any) -> Optional[quasardb.WriterData]:
|
|
90
|
+
if "pending" not in self._legacy_state:
|
|
91
|
+
# Extremely likely default case, no "old" rows
|
|
92
|
+
return None
|
|
93
|
+
|
|
94
|
+
assert "table" in self._legacy_state
|
|
95
|
+
table = self._legacy_state["table"]
|
|
96
|
+
|
|
97
|
+
# Some useful constants
|
|
98
|
+
dtype_by_ctype = {
|
|
99
|
+
quasardb.ColumnType.Double: np.dtype("float64"),
|
|
100
|
+
quasardb.ColumnType.Int64: np.dtype("int64"),
|
|
101
|
+
quasardb.ColumnType.Timestamp: np.dtype("datetime64[ns]"),
|
|
102
|
+
quasardb.ColumnType.String: np.dtype("unicode"),
|
|
103
|
+
quasardb.ColumnType.Symbol: np.dtype("unicode"),
|
|
104
|
+
quasardb.ColumnType.Blob: np.dtype("bytes"),
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
ctype_by_idx = {}
|
|
108
|
+
cinfos = table.list_columns()
|
|
109
|
+
for i in range(len(cinfos)):
|
|
110
|
+
ctype_by_idx[i] = cinfos[i].type
|
|
111
|
+
|
|
112
|
+
all_idx = set(ctype_by_idx.keys())
|
|
113
|
+
|
|
114
|
+
# Prepare data structure
|
|
115
|
+
pivoted: Dict[str, Any] = {"$timestamp": [], "by_index": {}}
|
|
116
|
+
for i in all_idx:
|
|
117
|
+
pivoted["by_index"][i] = []
|
|
118
|
+
|
|
119
|
+
# Do the actual pivot
|
|
120
|
+
for row in self._legacy_state["pending"]:
|
|
121
|
+
assert "$timestamp" in row
|
|
122
|
+
assert "by_index" in row
|
|
123
|
+
|
|
124
|
+
pivoted["$timestamp"].append(row["$timestamp"])
|
|
125
|
+
|
|
126
|
+
for idx in pivoted["by_index"].keys():
|
|
127
|
+
val = row["by_index"].get(idx, None)
|
|
128
|
+
pivoted["by_index"][idx].append(val)
|
|
129
|
+
|
|
130
|
+
# Validation / verification, not strictly necessary. Effectively
|
|
131
|
+
# ensures that we have the exact same amount of values for every
|
|
132
|
+
# column
|
|
133
|
+
for xs in pivoted["by_index"].values():
|
|
134
|
+
assert len(xs) == len(pivoted["$timestamp"])
|
|
135
|
+
|
|
136
|
+
column_data = []
|
|
137
|
+
|
|
138
|
+
for idx, xs in pivoted["by_index"].items():
|
|
139
|
+
ctype = ctype_by_idx[idx]
|
|
140
|
+
dtype = dtype_by_ctype[ctype]
|
|
141
|
+
|
|
142
|
+
# None-mask works, because everything inside the list are just regular ojbects
|
|
143
|
+
|
|
144
|
+
mask = [x is None for x in xs]
|
|
145
|
+
|
|
146
|
+
if all(mask):
|
|
147
|
+
xs_ = ma.masked_all(len(xs), dtype=dtype)
|
|
148
|
+
else:
|
|
149
|
+
xs_ = ma.masked_array(data=np.array(xs, dtype), mask=mask)
|
|
150
|
+
|
|
151
|
+
assert len(xs_) == len(pivoted["$timestamp"])
|
|
152
|
+
|
|
153
|
+
column_data.append(xs_)
|
|
154
|
+
|
|
155
|
+
push_data = quasardb.WriterData()
|
|
156
|
+
index = np.array(pivoted["$timestamp"], np.dtype("datetime64[ns]"))
|
|
157
|
+
|
|
158
|
+
push_data.append(table, index, column_data)
|
|
159
|
+
|
|
160
|
+
self._legacy_state = {}
|
|
161
|
+
return push_data
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
def _wrap_fn(
|
|
165
|
+
old_fn: Callable[..., Any], replace_fn: Callable[..., Optional[quasardb.WriterData]]
|
|
166
|
+
) -> Callable[..., Any]:
|
|
167
|
+
|
|
168
|
+
def wrapped(self: Any, *args: Any, **kwargs: Any) -> Any:
|
|
169
|
+
data = replace_fn(self)
|
|
170
|
+
if data:
|
|
171
|
+
return old_fn(self, data, *args, **kwargs)
|
|
172
|
+
else:
|
|
173
|
+
return old_fn(self, *args, **kwargs)
|
|
174
|
+
|
|
175
|
+
return wrapped
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
def extend_writer(x: Any) -> None:
|
|
179
|
+
"""
|
|
180
|
+
Extends the writer with the "old", batch inserter API. This is purely
|
|
181
|
+
a backwards compatibility layer, and we want to avoid having to maintain that
|
|
182
|
+
in C++ with few benefits.
|
|
183
|
+
"""
|
|
184
|
+
|
|
185
|
+
x.start_row = _legacy_start_row
|
|
186
|
+
x.set_double = _legacy_set_double
|
|
187
|
+
x.set_int64 = _legacy_set_int64
|
|
188
|
+
x.set_string = _legacy_set_string
|
|
189
|
+
x.set_blob = _legacy_set_blob
|
|
190
|
+
x.set_timestamp = _legacy_set_timestamp
|
|
191
|
+
|
|
192
|
+
x.push = _wrap_fn(x.push, _legacy_push)
|
|
193
|
+
x.push_fast = _wrap_fn(x.push_fast, _legacy_push)
|
|
194
|
+
x.push_async = _wrap_fn(x.push_async, _legacy_push)
|
|
195
|
+
x.push_truncate = _wrap_fn(x.push_truncate, _legacy_push)
|