red-adbc 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +528 -49
- data/lib/adbc/connection.rb +40 -11
- data/lib/adbc/loader.rb +9 -0
- data/lib/adbc/statement.rb +118 -0
- data/lib/adbc/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fb60c83f396f3c573d9bbdada96c60832ec0d2d7a494df3e351ba8d81a67a50
|
4
|
+
data.tar.gz: 81732d6089f130477da1100ef39c038e07e5fb1aece33a7a28dab6ca29604868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d15e8f02147a86b2dc9aad89f0aa985f23af3f7cbe1c9f00959b6898080d4ca71bc0b5edb834b90b283ca1a5fcbf1c625592c4b2cc88452de87890e19806c48c
|
7
|
+
data.tar.gz: 3511f86861c81c5c5fb17c763b13df38a0a6152a76920ade7151668d731ae1fd0c7d3d3fc592c66e3368ef6d7407f87529cf37d8dc2d4a67a8dbdee2893ca0bf
|
data/LICENSE.txt
CHANGED
@@ -311,6 +311,142 @@ distributions, like the Python wheels. SQLite is public domain.
|
|
311
311
|
|
312
312
|
--------------------------------------------------------------------------------
|
313
313
|
|
314
|
+
3rdparty dependency github.com/99designs/keyring
|
315
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
316
|
+
github.com/99designs/keyring is under the MIT license.
|
317
|
+
The MIT License (MIT)
|
318
|
+
|
319
|
+
Copyright (c) 2015 99designs
|
320
|
+
|
321
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
322
|
+
of this software and associated documentation files (the "Software"), to deal
|
323
|
+
in the Software without restriction, including without limitation the rights
|
324
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
325
|
+
copies of the Software, and to permit persons to whom the Software is
|
326
|
+
furnished to do so, subject to the following conditions:
|
327
|
+
|
328
|
+
The above copyright notice and this permission notice shall be included in all
|
329
|
+
copies or substantial portions of the Software.
|
330
|
+
|
331
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
332
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
333
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
334
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
335
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
336
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
337
|
+
SOFTWARE.
|
338
|
+
|
339
|
+
|
340
|
+
--------------------------------------------------------------------------------
|
341
|
+
|
342
|
+
3rdparty dependency github.com/Azure/azure-sdk-for-go/sdk/azcore
|
343
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
344
|
+
github.com/Azure/azure-sdk-for-go/sdk/azcore is under the MIT license.
|
345
|
+
MIT License
|
346
|
+
|
347
|
+
Copyright (c) Microsoft Corporation.
|
348
|
+
|
349
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
350
|
+
of this software and associated documentation files (the "Software"), to deal
|
351
|
+
in the Software without restriction, including without limitation the rights
|
352
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
353
|
+
copies of the Software, and to permit persons to whom the Software is
|
354
|
+
furnished to do so, subject to the following conditions:
|
355
|
+
|
356
|
+
The above copyright notice and this permission notice shall be included in all
|
357
|
+
copies or substantial portions of the Software.
|
358
|
+
|
359
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
360
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
361
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
362
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
363
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
364
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
365
|
+
SOFTWARE
|
366
|
+
|
367
|
+
--------------------------------------------------------------------------------
|
368
|
+
|
369
|
+
3rdparty dependency github.com/Azure/azure-sdk-for-go/sdk/internal
|
370
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
371
|
+
github.com/Azure/azure-sdk-for-go/sdk/internal is under the MIT license.
|
372
|
+
MIT License
|
373
|
+
|
374
|
+
Copyright (c) Microsoft Corporation.
|
375
|
+
|
376
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
377
|
+
of this software and associated documentation files (the "Software"), to deal
|
378
|
+
in the Software without restriction, including without limitation the rights
|
379
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
380
|
+
copies of the Software, and to permit persons to whom the Software is
|
381
|
+
furnished to do so, subject to the following conditions:
|
382
|
+
|
383
|
+
The above copyright notice and this permission notice shall be included in all
|
384
|
+
copies or substantial portions of the Software.
|
385
|
+
|
386
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
387
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
388
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
389
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
390
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
391
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
392
|
+
SOFTWARE
|
393
|
+
|
394
|
+
--------------------------------------------------------------------------------
|
395
|
+
|
396
|
+
3rdparty dependency github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
|
397
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
398
|
+
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob is under the MIT license.
|
399
|
+
MIT License
|
400
|
+
|
401
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
402
|
+
|
403
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
404
|
+
of this software and associated documentation files (the "Software"), to deal
|
405
|
+
in the Software without restriction, including without limitation the rights
|
406
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
407
|
+
copies of the Software, and to permit persons to whom the Software is
|
408
|
+
furnished to do so, subject to the following conditions:
|
409
|
+
|
410
|
+
The above copyright notice and this permission notice shall be included in all
|
411
|
+
copies or substantial portions of the Software.
|
412
|
+
|
413
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
414
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
415
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
416
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
417
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
418
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
419
|
+
SOFTWARE
|
420
|
+
|
421
|
+
--------------------------------------------------------------------------------
|
422
|
+
|
423
|
+
3rdparty dependency github.com/JohnCGriffin/overflow
|
424
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
425
|
+
github.com/JohnCGriffin/overflow is under the MIT license.
|
426
|
+
MIT License
|
427
|
+
|
428
|
+
Copyright (c) 2017 John C. Griffin,
|
429
|
+
|
430
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
431
|
+
of this software and associated documentation files (the "Software"), to deal
|
432
|
+
in the Software without restriction, including without limitation the rights
|
433
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
434
|
+
copies of the Software, and to permit persons to whom the Software is
|
435
|
+
furnished to do so, subject to the following conditions:
|
436
|
+
|
437
|
+
The above copyright notice and this permission notice shall be included in all
|
438
|
+
copies or substantial portions of the Software.
|
439
|
+
|
440
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
441
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
442
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
443
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
444
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
445
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
446
|
+
SOFTWARE.
|
447
|
+
|
448
|
+
--------------------------------------------------------------------------------
|
449
|
+
|
314
450
|
3rdparty dependency github.com/andybalholm/brotli
|
315
451
|
is statically linked in certain binary distributions, like the Python wheels.
|
316
452
|
github.com/andybalholm/brotli is under the MIT license.
|
@@ -340,6 +476,152 @@ THE SOFTWARE.
|
|
340
476
|
is statically linked in certain binary distributions, like the Python wheels.
|
341
477
|
github.com/apache/thrift/lib/go/thrift is under the Apache-2.0 license.
|
342
478
|
|
479
|
+
--------------------------------------------------------------------------------
|
480
|
+
|
481
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2
|
482
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
483
|
+
github.com/aws/aws-sdk-go-v2 is under the Apache-2.0 license.
|
484
|
+
|
485
|
+
--------------------------------------------------------------------------------
|
486
|
+
|
487
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream
|
488
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
489
|
+
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream is under the Apache-2.0 license.
|
490
|
+
|
491
|
+
--------------------------------------------------------------------------------
|
492
|
+
|
493
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/credentials
|
494
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
495
|
+
github.com/aws/aws-sdk-go-v2/credentials is under the Apache-2.0 license.
|
496
|
+
|
497
|
+
--------------------------------------------------------------------------------
|
498
|
+
|
499
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/feature/s3/manager
|
500
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
501
|
+
github.com/aws/aws-sdk-go-v2/feature/s3/manager is under the Apache-2.0 license.
|
502
|
+
|
503
|
+
--------------------------------------------------------------------------------
|
504
|
+
|
505
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/internal/configsources
|
506
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
507
|
+
github.com/aws/aws-sdk-go-v2/internal/configsources is under the Apache-2.0 license.
|
508
|
+
|
509
|
+
--------------------------------------------------------------------------------
|
510
|
+
|
511
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/internal/endpoints/v2
|
512
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
513
|
+
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 is under the Apache-2.0 license.
|
514
|
+
|
515
|
+
--------------------------------------------------------------------------------
|
516
|
+
|
517
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/internal/sync/singleflight
|
518
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
519
|
+
github.com/aws/aws-sdk-go-v2/internal/sync/singleflight is under the BSD-3-Clause license.
|
520
|
+
Copyright (c) 2009 The Go Authors. All rights reserved.
|
521
|
+
|
522
|
+
Redistribution and use in source and binary forms, with or without
|
523
|
+
modification, are permitted provided that the following conditions are
|
524
|
+
met:
|
525
|
+
|
526
|
+
* Redistributions of source code must retain the above copyright
|
527
|
+
notice, this list of conditions and the following disclaimer.
|
528
|
+
* Redistributions in binary form must reproduce the above
|
529
|
+
copyright notice, this list of conditions and the following disclaimer
|
530
|
+
in the documentation and/or other materials provided with the
|
531
|
+
distribution.
|
532
|
+
* Neither the name of Google Inc. nor the names of its
|
533
|
+
contributors may be used to endorse or promote products derived from
|
534
|
+
this software without specific prior written permission.
|
535
|
+
|
536
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYIGHT HOLDERS AND CONTRIBUTORS
|
537
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
538
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
539
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
540
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
541
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
542
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
543
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
544
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
545
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
546
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
547
|
+
|
548
|
+
|
549
|
+
--------------------------------------------------------------------------------
|
550
|
+
|
551
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/internal/v4a
|
552
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
553
|
+
github.com/aws/aws-sdk-go-v2/internal/v4a is under the Apache-2.0 license.
|
554
|
+
|
555
|
+
--------------------------------------------------------------------------------
|
556
|
+
|
557
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding
|
558
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
559
|
+
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding is under the Apache-2.0 license.
|
560
|
+
|
561
|
+
--------------------------------------------------------------------------------
|
562
|
+
|
563
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/service/internal/checksum
|
564
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
565
|
+
github.com/aws/aws-sdk-go-v2/service/internal/checksum is under the Apache-2.0 license.
|
566
|
+
|
567
|
+
--------------------------------------------------------------------------------
|
568
|
+
|
569
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/service/internal/presigned-url
|
570
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
571
|
+
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url is under the Apache-2.0 license.
|
572
|
+
|
573
|
+
--------------------------------------------------------------------------------
|
574
|
+
|
575
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/service/internal/s3shared
|
576
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
577
|
+
github.com/aws/aws-sdk-go-v2/service/internal/s3shared is under the Apache-2.0 license.
|
578
|
+
|
579
|
+
--------------------------------------------------------------------------------
|
580
|
+
|
581
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/service/s3
|
582
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
583
|
+
github.com/aws/aws-sdk-go-v2/service/s3 is under the Apache-2.0 license.
|
584
|
+
|
585
|
+
--------------------------------------------------------------------------------
|
586
|
+
|
587
|
+
3rdparty dependency github.com/aws/smithy-go
|
588
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
589
|
+
github.com/aws/smithy-go is under the Apache-2.0 license.
|
590
|
+
|
591
|
+
--------------------------------------------------------------------------------
|
592
|
+
|
593
|
+
3rdparty dependency github.com/aws/smithy-go/internal/sync/singleflight
|
594
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
595
|
+
github.com/aws/smithy-go/internal/sync/singleflight is under the BSD-3-Clause license.
|
596
|
+
Copyright (c) 2009 The Go Authors. All rights reserved.
|
597
|
+
|
598
|
+
Redistribution and use in source and binary forms, with or without
|
599
|
+
modification, are permitted provided that the following conditions are
|
600
|
+
met:
|
601
|
+
|
602
|
+
* Redistributions of source code must retain the above copyright
|
603
|
+
notice, this list of conditions and the following disclaimer.
|
604
|
+
* Redistributions in binary form must reproduce the above
|
605
|
+
copyright notice, this list of conditions and the following disclaimer
|
606
|
+
in the documentation and/or other materials provided with the
|
607
|
+
distribution.
|
608
|
+
* Neither the name of Google Inc. nor the names of its
|
609
|
+
contributors may be used to endorse or promote products derived from
|
610
|
+
this software without specific prior written permission.
|
611
|
+
|
612
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYIGHT HOLDERS AND CONTRIBUTORS
|
613
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
614
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
615
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
616
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
617
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
618
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
619
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
620
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
621
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
622
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
623
|
+
|
624
|
+
|
343
625
|
--------------------------------------------------------------------------------
|
344
626
|
|
345
627
|
3rdparty dependency github.com/bluele/gcache
|
@@ -390,6 +672,74 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
390
672
|
|
391
673
|
--------------------------------------------------------------------------------
|
392
674
|
|
675
|
+
3rdparty dependency github.com/dvsekhvalnov/jose2go
|
676
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
677
|
+
github.com/dvsekhvalnov/jose2go is under the MIT license.
|
678
|
+
The MIT License (MIT)
|
679
|
+
|
680
|
+
Copyright (c) 2014
|
681
|
+
|
682
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
683
|
+
of this software and associated documentation files (the "Software"), to deal
|
684
|
+
in the Software without restriction, including without limitation the rights
|
685
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
686
|
+
copies of the Software, and to permit persons to whom the Software is
|
687
|
+
furnished to do so, subject to the following conditions:
|
688
|
+
|
689
|
+
The above copyright notice and this permission notice shall be included in all
|
690
|
+
copies or substantial portions of the Software.
|
691
|
+
|
692
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
693
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
694
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
695
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
696
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
697
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
698
|
+
SOFTWARE.
|
699
|
+
|
700
|
+
--------------------------------------------------------------------------------
|
701
|
+
|
702
|
+
3rdparty dependency github.com/form3tech-oss/jwt-go
|
703
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
704
|
+
github.com/form3tech-oss/jwt-go is under the MIT license.
|
705
|
+
Copyright (c) 2012 Dave Grijalva
|
706
|
+
|
707
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
708
|
+
|
709
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
710
|
+
|
711
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
712
|
+
|
713
|
+
|
714
|
+
--------------------------------------------------------------------------------
|
715
|
+
|
716
|
+
3rdparty dependency github.com/gabriel-vasile/mimetype
|
717
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
718
|
+
github.com/gabriel-vasile/mimetype is under the MIT license.
|
719
|
+
MIT License
|
720
|
+
|
721
|
+
Copyright (c) 2018-2020 Gabriel Vasile
|
722
|
+
|
723
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
724
|
+
of this software and associated documentation files (the "Software"), to deal
|
725
|
+
in the Software without restriction, including without limitation the rights
|
726
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
727
|
+
copies of the Software, and to permit persons to whom the Software is
|
728
|
+
furnished to do so, subject to the following conditions:
|
729
|
+
|
730
|
+
The above copyright notice and this permission notice shall be included in all
|
731
|
+
copies or substantial portions of the Software.
|
732
|
+
|
733
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
734
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
735
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
736
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
737
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
738
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
739
|
+
SOFTWARE.
|
740
|
+
|
741
|
+
--------------------------------------------------------------------------------
|
742
|
+
|
393
743
|
3rdparty dependency github.com/goccy/go-json
|
394
744
|
is statically linked in certain binary distributions, like the Python wheels.
|
395
745
|
github.com/goccy/go-json is under the MIT license.
|
@@ -417,6 +767,37 @@ SOFTWARE.
|
|
417
767
|
|
418
768
|
--------------------------------------------------------------------------------
|
419
769
|
|
770
|
+
3rdparty dependency github.com/godbus/dbus
|
771
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
772
|
+
github.com/godbus/dbus is under the BSD-2-Clause license.
|
773
|
+
Copyright (c) 2013, Georg Reinke (<guelfey at gmail dot com>), Google
|
774
|
+
All rights reserved.
|
775
|
+
|
776
|
+
Redistribution and use in source and binary forms, with or without
|
777
|
+
modification, are permitted provided that the following conditions
|
778
|
+
are met:
|
779
|
+
|
780
|
+
1. Redistributions of source code must retain the above copyright notice,
|
781
|
+
this list of conditions and the following disclaimer.
|
782
|
+
|
783
|
+
2. Redistributions in binary form must reproduce the above copyright
|
784
|
+
notice, this list of conditions and the following disclaimer in the
|
785
|
+
documentation and/or other materials provided with the distribution.
|
786
|
+
|
787
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
788
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
789
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
790
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
791
|
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
792
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
793
|
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
794
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
795
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
796
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
797
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
798
|
+
|
799
|
+
--------------------------------------------------------------------------------
|
800
|
+
|
420
801
|
3rdparty dependency github.com/golang/protobuf
|
421
802
|
is statically linked in certain binary distributions, like the Python wheels.
|
422
803
|
github.com/golang/protobuf is under the BSD-3-Clause license.
|
@@ -490,6 +871,40 @@ github.com/google/flatbuffers/go is under the Apache-2.0 license.
|
|
490
871
|
|
491
872
|
--------------------------------------------------------------------------------
|
492
873
|
|
874
|
+
3rdparty dependency github.com/gsterjov/go-libsecret
|
875
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
876
|
+
github.com/gsterjov/go-libsecret is under the MIT license.
|
877
|
+
The MIT License (MIT)
|
878
|
+
|
879
|
+
Copyright (c) 2016 Goran Sterjov
|
880
|
+
|
881
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
882
|
+
of this software and associated documentation files (the "Software"), to deal
|
883
|
+
in the Software without restriction, including without limitation the rights
|
884
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
885
|
+
copies of the Software, and to permit persons to whom the Software is
|
886
|
+
furnished to do so, subject to the following conditions:
|
887
|
+
|
888
|
+
The above copyright notice and this permission notice shall be included in all
|
889
|
+
copies or substantial portions of the Software.
|
890
|
+
|
891
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
892
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
893
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
894
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
895
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
896
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
897
|
+
SOFTWARE.
|
898
|
+
|
899
|
+
|
900
|
+
--------------------------------------------------------------------------------
|
901
|
+
|
902
|
+
3rdparty dependency github.com/jmespath/go-jmespath
|
903
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
904
|
+
github.com/jmespath/go-jmespath is under the Apache-2.0 license.
|
905
|
+
|
906
|
+
--------------------------------------------------------------------------------
|
907
|
+
|
493
908
|
3rdparty dependency github.com/klauspost/compress
|
494
909
|
is statically linked in certain binary distributions, like the Python wheels.
|
495
910
|
github.com/klauspost/compress is under the Apache-2.0 license.
|
@@ -583,6 +998,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
583
998
|
SOFTWARE.
|
584
999
|
|
585
1000
|
|
1001
|
+
--------------------------------------------------------------------------------
|
1002
|
+
|
1003
|
+
3rdparty dependency github.com/mtibben/percent
|
1004
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1005
|
+
github.com/mtibben/percent is under the MIT license.
|
1006
|
+
MIT License
|
1007
|
+
|
1008
|
+
Copyright (c) 2020 Michael Tibben
|
1009
|
+
|
1010
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
1011
|
+
of this software and associated documentation files (the "Software"), to deal
|
1012
|
+
in the Software without restriction, including without limitation the rights
|
1013
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
1014
|
+
copies of the Software, and to permit persons to whom the Software is
|
1015
|
+
furnished to do so, subject to the following conditions:
|
1016
|
+
|
1017
|
+
The above copyright notice and this permission notice shall be included in all
|
1018
|
+
copies or substantial portions of the Software.
|
1019
|
+
|
1020
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1021
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1022
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1023
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1024
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1025
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1026
|
+
SOFTWARE.
|
1027
|
+
|
586
1028
|
--------------------------------------------------------------------------------
|
587
1029
|
|
588
1030
|
3rdparty dependency github.com/pierrec/lz4/v4
|
@@ -617,6 +1059,35 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
617
1059
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
618
1060
|
|
619
1061
|
|
1062
|
+
--------------------------------------------------------------------------------
|
1063
|
+
|
1064
|
+
3rdparty dependency github.com/pkg/browser
|
1065
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1066
|
+
github.com/pkg/browser is under the BSD-2-Clause license.
|
1067
|
+
Copyright (c) 2014, Dave Cheney <dave@cheney.net>
|
1068
|
+
All rights reserved.
|
1069
|
+
|
1070
|
+
Redistribution and use in source and binary forms, with or without
|
1071
|
+
modification, are permitted provided that the following conditions are met:
|
1072
|
+
|
1073
|
+
* Redistributions of source code must retain the above copyright notice, this
|
1074
|
+
list of conditions and the following disclaimer.
|
1075
|
+
|
1076
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
1077
|
+
this list of conditions and the following disclaimer in the documentation
|
1078
|
+
and/or other materials provided with the distribution.
|
1079
|
+
|
1080
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
1081
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
1082
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
1083
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
1084
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
1085
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
1086
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
1087
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
1088
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
1089
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1090
|
+
|
620
1091
|
--------------------------------------------------------------------------------
|
621
1092
|
|
622
1093
|
3rdparty dependency github.com/pmezard/go-difflib/difflib
|
@@ -652,6 +1123,39 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
652
1123
|
|
653
1124
|
--------------------------------------------------------------------------------
|
654
1125
|
|
1126
|
+
3rdparty dependency github.com/sirupsen/logrus
|
1127
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1128
|
+
github.com/sirupsen/logrus is under the MIT license.
|
1129
|
+
The MIT License (MIT)
|
1130
|
+
|
1131
|
+
Copyright (c) 2014 Simon Eskildsen
|
1132
|
+
|
1133
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
1134
|
+
of this software and associated documentation files (the "Software"), to deal
|
1135
|
+
in the Software without restriction, including without limitation the rights
|
1136
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
1137
|
+
copies of the Software, and to permit persons to whom the Software is
|
1138
|
+
furnished to do so, subject to the following conditions:
|
1139
|
+
|
1140
|
+
The above copyright notice and this permission notice shall be included in
|
1141
|
+
all copies or substantial portions of the Software.
|
1142
|
+
|
1143
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1144
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1145
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1146
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1147
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1148
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
1149
|
+
THE SOFTWARE.
|
1150
|
+
|
1151
|
+
--------------------------------------------------------------------------------
|
1152
|
+
|
1153
|
+
3rdparty dependency github.com/snowflakedb/gosnowflake
|
1154
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1155
|
+
github.com/snowflakedb/gosnowflake is under the Apache-2.0 license.
|
1156
|
+
|
1157
|
+
--------------------------------------------------------------------------------
|
1158
|
+
|
655
1159
|
3rdparty dependency github.com/stretchr/testify
|
656
1160
|
is statically linked in certain binary distributions, like the Python wheels.
|
657
1161
|
github.com/stretchr/testify is under the MIT license.
|
@@ -710,9 +1214,25 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
710
1214
|
|
711
1215
|
--------------------------------------------------------------------------------
|
712
1216
|
|
713
|
-
3rdparty dependency golang.org/
|
1217
|
+
3rdparty dependency google.golang.org/genproto/googleapis/rpc/status
|
1218
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1219
|
+
google.golang.org/genproto/googleapis/rpc/status is under the Apache-2.0 license.
|
1220
|
+
|
1221
|
+
--------------------------------------------------------------------------------
|
1222
|
+
|
1223
|
+
3rdparty dependency google.golang.org/grpc
|
714
1224
|
is statically linked in certain binary distributions, like the Python wheels.
|
715
|
-
golang.org/
|
1225
|
+
google.golang.org/grpc is under the Apache-2.0 license.
|
1226
|
+
|
1227
|
+
--------------------------------------------------------------------------------
|
1228
|
+
|
1229
|
+
3rdparty dependency golang.org/x/crypto/ocsp
|
1230
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1231
|
+
golang.org/x/crypto/ocsp is under the BSD-3-Clause license.
|
1232
|
+
|
1233
|
+
3rdparty dependency golang.org/x/exp
|
1234
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1235
|
+
golang.org/x/exp is under the BSD-3-Clause license.
|
716
1236
|
|
717
1237
|
3rdparty dependency golang.org/x/mod/semver
|
718
1238
|
is statically linked in certain binary distributions, like the Python wheels.
|
@@ -730,6 +1250,10 @@ golang.org/x/sync/errgroup is under the BSD-3-Clause license.
|
|
730
1250
|
is statically linked in certain binary distributions, like the Python wheels.
|
731
1251
|
golang.org/x/sys is under the BSD-3-Clause license.
|
732
1252
|
|
1253
|
+
3rdparty dependency golang.org/x/term
|
1254
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1255
|
+
golang.org/x/term is under the BSD-3-Clause license.
|
1256
|
+
|
733
1257
|
3rdparty dependency golang.org/x/text
|
734
1258
|
is statically linked in certain binary distributions, like the Python wheels.
|
735
1259
|
golang.org/x/text is under the BSD-3-Clause license.
|
@@ -738,56 +1262,9 @@ golang.org/x/text is under the BSD-3-Clause license.
|
|
738
1262
|
is statically linked in certain binary distributions, like the Python wheels.
|
739
1263
|
golang.org/x/tools is under the BSD-3-Clause license.
|
740
1264
|
|
741
|
-
3rdparty dependency golang.org/x/xerrors
|
742
|
-
is statically linked in certain binary distributions, like the Python wheels.
|
743
|
-
golang.org/x/xerrors is under the BSD-3-Clause license.
|
744
|
-
|
745
|
-
Copyright (c) 2009 The Go Authors. All rights reserved.
|
746
|
-
|
747
|
-
Redistribution and use in source and binary forms, with or without
|
748
|
-
modification, are permitted provided that the following conditions are
|
749
|
-
met:
|
750
|
-
|
751
|
-
* Redistributions of source code must retain the above copyright
|
752
|
-
notice, this list of conditions and the following disclaimer.
|
753
|
-
* Redistributions in binary form must reproduce the above
|
754
|
-
copyright notice, this list of conditions and the following disclaimer
|
755
|
-
in the documentation and/or other materials provided with the
|
756
|
-
distribution.
|
757
|
-
* Neither the name of Google Inc. nor the names of its
|
758
|
-
contributors may be used to endorse or promote products derived from
|
759
|
-
this software without specific prior written permission.
|
760
|
-
|
761
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
762
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
763
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
764
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
765
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
766
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
767
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
768
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
769
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
770
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
771
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
772
|
-
|
773
|
-
--------------------------------------------------------------------------------
|
774
|
-
|
775
|
-
3rdparty dependency google.golang.org/genproto/googleapis/rpc/status
|
776
|
-
is statically linked in certain binary distributions, like the Python wheels.
|
777
|
-
google.golang.org/genproto/googleapis/rpc/status is under the Apache-2.0 license.
|
778
|
-
|
779
|
-
--------------------------------------------------------------------------------
|
780
|
-
|
781
|
-
3rdparty dependency google.golang.org/grpc
|
782
|
-
is statically linked in certain binary distributions, like the Python wheels.
|
783
|
-
google.golang.org/grpc is under the Apache-2.0 license.
|
784
|
-
|
785
|
-
--------------------------------------------------------------------------------
|
786
|
-
|
787
1265
|
3rdparty dependency google.golang.org/protobuf
|
788
1266
|
is statically linked in certain binary distributions, like the Python wheels.
|
789
1267
|
google.golang.org/protobuf is under the BSD-3-Clause license.
|
790
|
-
|
791
1268
|
Copyright (c) 2018 The Go Authors. All rights reserved.
|
792
1269
|
|
793
1270
|
Redistribution and use in source and binary forms, with or without
|
@@ -820,6 +1297,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
820
1297
|
|
821
1298
|
3rdparty dependency gopkg.in/yaml.v3
|
822
1299
|
is statically linked in certain binary distributions, like the Python wheels.
|
1300
|
+
gopkg.in/yaml.v3 is under the MIT license.
|
1301
|
+
|
823
1302
|
This project is covered by two different licenses: MIT and Apache.
|
824
1303
|
|
825
1304
|
#### MIT License ####
|
data/lib/adbc/connection.rb
CHANGED
@@ -17,23 +17,52 @@
|
|
17
17
|
|
18
18
|
module ADBC
|
19
19
|
class Connection
|
20
|
-
def
|
21
|
-
|
20
|
+
def open_statement(&block)
|
21
|
+
Statement.open(self, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
def query(sql, &block)
|
25
|
+
open_statement do |statement|
|
26
|
+
statement.query(sql, &block)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def ingest(table_name, values, mode: :create)
|
31
|
+
open_statment do |statement|
|
32
|
+
statement.ingest(table_name, values, mode: mode)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
def info(codes=nil)
|
37
|
+
unless codes.nil?
|
38
|
+
codes = codes.collect do |code|
|
39
|
+
ADBC::Info.try_convert(code)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
c_abi_array_stream = get_info(codes)
|
22
43
|
begin
|
23
|
-
|
24
|
-
_, c_abi_array_stream, n_rows_affected = statement.execute
|
44
|
+
reader = Arrow::RecordBatchReader.import(c_abi_array_stream)
|
25
45
|
begin
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
46
|
+
table = reader.read_all
|
47
|
+
values = {}
|
48
|
+
table.raw_records.each do |code, value|
|
49
|
+
value = value.values[0] if value.is_a?(Hash)
|
50
|
+
code = ADBC::Info.try_convert(code)
|
51
|
+
values[code.nick.gsub("-", "_").to_sym] = value
|
31
52
|
end
|
53
|
+
values
|
32
54
|
ensure
|
33
|
-
|
55
|
+
reader.unref
|
34
56
|
end
|
35
57
|
ensure
|
36
|
-
|
58
|
+
GLib.free(c_abi_array_stream)
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
ADBC::Info.values.each do |value|
|
63
|
+
name = value.nick.gsub("-", "_").to_sym
|
64
|
+
define_method(name) do
|
65
|
+
info([name])[name]
|
37
66
|
end
|
38
67
|
end
|
39
68
|
end
|
data/lib/adbc/loader.rb
CHANGED
@@ -31,6 +31,15 @@ module ADBC
|
|
31
31
|
def require_libraries
|
32
32
|
require_relative "connection"
|
33
33
|
require_relative "database"
|
34
|
+
require_relative "statement"
|
35
|
+
end
|
36
|
+
|
37
|
+
def load_function_info_singleton_method(info, klass, method_name)
|
38
|
+
if klass.name == "ADBC::IsolationLevel" and method_name == "to_string"
|
39
|
+
define_method(info, klass, "to_s")
|
40
|
+
else
|
41
|
+
super
|
42
|
+
end
|
34
43
|
end
|
35
44
|
end
|
36
45
|
end
|
@@ -0,0 +1,118 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
+
# or more contributor license agreements. See the NOTICE file
|
3
|
+
# distributed with this work for additional information
|
4
|
+
# regarding copyright ownership. The ASF licenses this file
|
5
|
+
# to you under the Apache License, Version 2.0 (the
|
6
|
+
# "License"); you may not use this file except in compliance
|
7
|
+
# with the License. You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
17
|
+
|
18
|
+
module ADBC
|
19
|
+
class Statement
|
20
|
+
class << self
|
21
|
+
def open(connection)
|
22
|
+
statement = new(connection)
|
23
|
+
if block_given?
|
24
|
+
begin
|
25
|
+
yield(statement)
|
26
|
+
ensure
|
27
|
+
statement.release
|
28
|
+
end
|
29
|
+
else
|
30
|
+
statement
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
alias_method :execute_raw, :execute
|
36
|
+
def execute(need_result: true)
|
37
|
+
_, c_abi_array_stream, n_rows_affected = execute_raw(need_result)
|
38
|
+
if need_result
|
39
|
+
begin
|
40
|
+
reader = Arrow::RecordBatchReader.import(c_abi_array_stream)
|
41
|
+
begin
|
42
|
+
if block_given?
|
43
|
+
yield(reader, n_rows_affected)
|
44
|
+
else
|
45
|
+
[reader.read_all, n_rows_affected]
|
46
|
+
end
|
47
|
+
ensure
|
48
|
+
reader.unref
|
49
|
+
end
|
50
|
+
ensure
|
51
|
+
GLib.free(c_abi_array_stream)
|
52
|
+
end
|
53
|
+
else
|
54
|
+
if block_given?
|
55
|
+
yield(n_rows_affected)
|
56
|
+
else
|
57
|
+
n_rows_affected
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
alias_method :bind_raw, :bind
|
63
|
+
def bind(*args)
|
64
|
+
n_args = args.size
|
65
|
+
if block_given?
|
66
|
+
message = "wrong number of arguments (given #{n_args}, expected 1 with block)"
|
67
|
+
raise ArgumentError, message unless n_args == 1
|
68
|
+
values = args[0]
|
69
|
+
if values.is_a?(Arrow::Table)
|
70
|
+
values = Arrow::TableBatchReader.new(values)
|
71
|
+
end
|
72
|
+
if values.is_a?(Arrow::RecordBatchReader)
|
73
|
+
c_abi_array_stream = values.export
|
74
|
+
begin
|
75
|
+
bind_stream(c_abi_array_stream)
|
76
|
+
yield
|
77
|
+
ensure
|
78
|
+
GLib.free(c_abi_array_stream)
|
79
|
+
end
|
80
|
+
else
|
81
|
+
_, c_abi_array, c_abi_schema = values.export
|
82
|
+
begin
|
83
|
+
bind_raw(c_abi_array, c_abi_schema)
|
84
|
+
yield
|
85
|
+
ensure
|
86
|
+
begin
|
87
|
+
GLib.free(c_abi_array)
|
88
|
+
ensure
|
89
|
+
GLib.free(c_abi_schema)
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
else
|
94
|
+
bind_raw(*args)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
def ingest(table_name, values, mode: :create)
|
99
|
+
insert = "INSERT INTO #{table_name} (" # TODO escape
|
100
|
+
fields = values.schema.fields
|
101
|
+
insert << fields.collect(&:name).join(", ")
|
102
|
+
insert << ") VALUES ("
|
103
|
+
insert << (["?"] * fields.size).join(", ")
|
104
|
+
insert << ")"
|
105
|
+
self.sql_query = insert
|
106
|
+
self.ingest_target_table = table_name
|
107
|
+
self.ingest_mode = mode
|
108
|
+
bind(values) do
|
109
|
+
execute(need_result: false)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
def query(sql, &block)
|
114
|
+
self.sql_query = sql
|
115
|
+
execute(&block)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
data/lib/adbc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-adbc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Arrow Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: red-arrow
|
@@ -41,6 +41,7 @@ files:
|
|
41
41
|
- lib/adbc/connection.rb
|
42
42
|
- lib/adbc/database.rb
|
43
43
|
- lib/adbc/loader.rb
|
44
|
+
- lib/adbc/statement.rb
|
44
45
|
- lib/adbc/version.rb
|
45
46
|
homepage: https://arrow.apache.org/
|
46
47
|
licenses:
|