-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.lisp
167 lines (165 loc) · 5.04 KB
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
;;;; package.lisp
(defpackage #:duckdb-api
(:use #:cl #:cffi #:let-plus)
(:export #:get-message
#:get-ffi-type
#:duckdb-result
#:p-duckdb-result
#:p-duckdb-column
#:duckdb-database
#:duckdb-connection
#:duckdb-prepared-statement
#:duckdb-appender
#:duckdb-config
#:duckdb-arrow
#:duckdb-arrow-schema
#:duckdb-arrow-array
#:duckdb-open
#:duckdb-open-ext
#:duckdb-close
#:duckdb-connect
#:duckdb-disconnect
#:duckdb-query
#:duckdb-destroy-result
#:duckdb-column-count
#:duckdb-row-count
#:duckdb-rows-changed
#:duckdb-result-error
#:duckdb-column-name
#:duckdb-column-type
#:duckdb-column-data
#:duckdb-nullmask-data
#:duckdb-p-result-chunk-count
#:duckdb-vector-get-data
#:duckdb-vector-get-validity
#:duckdb-list-vector-get-child
#:duckdb-struct-vector-get-child
#:duckdb-data-chunk-get-column-count
#:duckdb-data-chunk-get-size
#:duckdb-data-chunk-get-vector
#:duckdb-prepared-statement
#:duckdb-prepare-error
#:duckdb-prepare
#:duckdb-destroy-prepare
#:duckdb-execute-prepared
#:duckdb-nparams
#:duckdb-param-type
#:duckdb-clear-bindings
#:duckdb-bind-null
#:duckdb-bind-boolean
#:duckdb-bind-varchar
#:duckdb-bind-blob
#:duckdb-bind-float
#:duckdb-bind-double
#:duckdb-bind-uint8
#:duckdb-bind-uint16
#:duckdb-bind-uint32
#:duckdb-bind-uint64
#:duckdb-bind-int8
#:duckdb-bind-int16
#:duckdb-bind-int32
#:duckdb-bind-int64
#:duckdb-bind-hugeint
#:duckdb-bind-uhugeint
#:duckdb-bind-date
#:duckdb-bind-timestamp
#:duckdb-bind-time
#:result-chunk-count
#:with-data-chunk
#:duckdb-validity-row-is-valid
#:get-vector-type
#:duckdb-appender-create
#:duckdb-appender-error
#:duckdb-appender-flush
#:duckdb-appender-close
#:duckdb-appender-destroy
#:duckdb-appender-begin-row
#:duckdb-appender-end-row
#:duckdb-append-null
#:duckdb-append-bool
#:duckdb-append-varchar
#:duckdb-append-blob
#:duckdb-append-float
#:duckdb-append-double
#:duckdb-append-uint8
#:duckdb-append-uint16
#:duckdb-append-uint32
#:duckdb-append-uint64
#:duckdb-append-int8
#:duckdb-append-int16
#:duckdb-append-int32
#:duckdb-append-int64
#:duckdb-append-hugeint
#:duckdb-append-uhugeint
#:duckdb-append-date
#:duckdb-append-timestamp
#:duckdb-append-time
#:*static-table-type-map*
#:*static-table-bindings*
#:make-static-columns
#:add-global-table-reference
#:clear-global-table-reference
#:clear-global-table-references
#:add-table-reference
#:clear-table-reference
#:clear-table-references
#:register-static-table-function
#:add-static-table-replacement-scan
#:with-config
#:start-worker-pool
#:stop-worker-pool))
(defpackage #:duckdb
(:nicknames #:ddb)
(:use #:cl #:cffi)
(:export #:duckdb-error
#:database
#:statement
#:appender
#:arrow
#:error-message
#:*connection*
#:*threads*
#:*default-thread-count*
#:*sql-null-return-value*
#:with-threads
#:open-database
#:close-database
#:connect
#:disconnect
#:prepare
#:destroy-statement
#:execute
#:perform
#:destroy-result
#:with-open-database
#:with-open-connection
#:with-statement
#:with-execute
#:translate-result
#:bind-parameters
#:initialize-default-connection
#:disconnect-default-connection
#:with-default-connection
#:with-transient-connection
#:query
#:q
#:format-query
#:fq
#:spark-query
#:vspark-query
#:run
#:get-result
#:quote-identifier
#:with-appender
#:append-row
#:with-static-table
#:with-static-tables
#:bind-static-table
#:unbind-static-table
#:clear-static-tables
#:with-static-table-type-map
#:with-transaction
#:concat
#:join
#:snake-case-to-param-case
#:param-case-to-snake-case))