Commit Graph
100 Commits
Author SHA1 Message Date
Michał Matczuk 83026b240e travis: scylla log to file 2018-05-24 14:36:14 +02:00
Michał Matczuk b4347d2757 migrate: migration integration tests 2018-05-24 14:36:14 +02:00
Michał Matczuk 9cfd46fcdd gocqlxtest: test helpers extracted to separate package 2018-05-24 14:36:14 +02:00
Michał Matczuk e74702cb6a migrate: migration callbacks
Callback enables interrupting the migration process and executing code
while migrating.
2018-05-23 16:02:40 +02:00
Michał Matczuk 6e4a05de42 queryx: added Get, GetRelease, Select and SelectRelease helper functions
I have piggy backed with this change some docs update.

Fixes #41
2018-05-23 11:25:00 +02:00
Michał Matczuk 5739e64887 makefile: added benchmarks target 2018-05-23 09:39:22 +02:00
Michał Matczuk a8febbc71e testing: benchmarks moved to separate files 2018-05-23 09:39:22 +02:00
Michał Matczuk 444d07da6a travis: scylla update to 2.1 2018-05-22 16:17:51 +02:00
Michał Matczuk 7999b5dd4e makefile: modernized check-fmt 2018-05-22 15:03:59 +02:00
Michał Matczuk cca99d4a42 makefile: added megacheck 2018-05-22 15:03:59 +02:00
Michał Matczuk cf3a5ab95f readme: updated package description to match the description in gocql readme 2018-05-15 10:26:33 +02:00
Michał Matczuk ecf0820d1d Readme update 2018-04-20 14:52:47 +02:00
Michał Matczuk ca0bd49565 migrate: replace tinyint with int
Tinyint is not supported on scylla enterprise.
2017-12-20 16:03:08 +01:00
Michał Matczuk 3a3f0a8f1d travis: set go to 1.x 2017-11-16 13:11:00 +01:00
Michał Matczuk cdb91625bf qb: batch add ability to add raw statements 2017-11-16 13:08:23 +01:00
Michał Matczuk 255429a93c Merge pull request #20 from danielsoro/move-var-to-const
Moving var to const for migration's info query and schema
2017-10-26 09:38:02 -07:00
Michał Matczuk a66169d3ba Update iterx.go
iter: doc update
2017-10-02 12:46:25 +02:00
Michał Matczuk f7ee069da9 readme: title rename to GoCQLX 2017-10-02 09:35:19 +02:00
Michał Matczuk 04179dd2d0 readme: license update 2017-09-28 15:33:13 +02:00
Michał Matczuk 1bcd8714dc Merge pull request #18 from scylladb/mmt/select_err_not_found
iterx: ErrNotFound for Get only
2017-09-28 15:20:18 +02:00
Michał Matczuk 3ce82982bb iterx: ErrNotFound for Get only 2017-09-28 15:10:47 +02:00
Michał Matczuk 9604635e8e migrate: renamed table 2017-09-25 10:01:48 +02:00
Michał Matczuk f2af2384ed iter: ErrNotFound bug fix 2017-09-22 15:02:12 +02:00
Michał Matczuk eef2c77a26 test-fixtures renamed to testdata 2017-09-22 14:30:04 +02:00
Michał Matczuk 33a8025b32 Merge pull request #17 from scylladb/mmt/migrate
migrate
2017-09-22 14:28:13 +02:00
Michał Matczuk 8da6902469 travis: drop of go 1.7 2017-09-22 14:11:44 +02:00
Michał Matczuk 3351b1f9a3 migrate 2017-09-22 14:05:26 +02:00
Michał Matczuk fd5efe40eb Merge pull request #16 from scylladb/mmt/counters
qb advanced updates
2017-09-22 09:54:18 +02:00
Michał Matczuk 557674a886 qb: update builder advanced assignments 2017-09-22 09:48:19 +02:00
Michał Matczuk fdb26806a9 qb: extracted function from cmp 2017-09-22 09:35:02 +02:00
Michał Matczuk 9e40fcfed4 license: added license header 2017-09-21 21:43:27 +02:00
Michał Matczuk 0b29eb569a makefile: check split 2017-09-21 21:33:43 +02:00
Michał Matczuk 46603152a1 error: %s replaced with %q in missing field errors 2017-09-21 21:29:44 +02:00
Michał Matczuk faa3a42062 readme fix 2017-08-31 16:50:06 +02:00
Michał Matczuk 196bc4e87c Merge pull request #14 from scylladb/mmt/batch_fix
batch: extracted AddWithPrefix
2017-08-30 16:29:26 +02:00
Michał Matczuk c4886ff8da batch: extracted AddWithPrefix 2017-08-30 16:26:30 +02:00
Michał Matczuk 11aa459275 Merge pull request #13 from scylladb/mmt/func
Cmp functions support
2017-08-30 16:10:59 +02:00
Michał Matczuk 0779ef4bf4 cmp: example update 2017-08-30 16:05:24 +02:00
Michał Matczuk ea8a9e9845 cmp: token builder 2017-08-30 16:05:14 +02:00
Michał Matczuk 2e903a54e0 cmp: functions support 2017-08-30 16:05:14 +02:00
Michał Matczuk 995a93e49b travis: go 1.9 2017-08-30 12:23:50 +02:00
Michał Matczuk 943e9d2cc0 Merge pull request #12 from scylladb/mmt/query_prt
query: Query return ptr
2017-08-24 12:47:08 +02:00
Michał Matczuk 1da2c19fe8 query: Query return ptr 2017-08-24 12:32:37 +02:00
Michał Matczuk 73666e5f16 Merge pull request #9 from scylladb/mmt/asf_tm
notice update
2017-08-24 12:22:26 +02:00
Michał Matczuk 10fe08845f Merge pull request #11 from scylladb/mmt/err_not_found
Return ErrNotFound for no results
2017-08-24 11:02:10 +02:00
Michał Matczuk e079a7b36a iter: return ErrNotFound for no results 2017-08-24 10:53:56 +02:00
Michał Matczuk ff828f9198 notice update 2017-08-24 09:56:45 +02:00
Michał Matczuk 4025a4d426 docs: whitespace fix 2017-08-23 16:07:55 +02:00
Michał Matczuk 0aeec73b2a Merge pull request #10 from scylladb/mmt/unsafe
iter: unsafe
2017-08-23 15:36:25 +02:00
Michał Matczuk 4be0a35207 iter: unsafe 2017-08-23 15:26:16 +02:00
Michał Matczuk de9287b6e7 queryx: exec release 2017-08-22 11:36:21 +02:00
Michał Matczuk 4708de6653 Merge pull request #8 from scylladb/mmt/batch
Batch statement support
2017-08-03 18:58:51 +02:00
Michał Matczuk bc289ada45 doc: example and readme fixes 2017-08-03 18:53:04 +02:00
Michał Matczuk 804cfad37c qb: batch builder 2017-08-03 18:46:29 +02:00
Michał Matczuk 8d47a6d133 qb: fixed benchmarks 2017-08-03 17:02:22 +02:00
Michał Matczuk 91cb873025 benchmark: longer benchmark with reduced allocations 2017-08-03 13:50:34 +02:00
Michał Matczuk 257c06efb4 Merge pull request #7 from scylladb/mmt/select
select: reduce allocations and improve code structure
2017-08-03 13:30:28 +02:00
Michał Matczuk a4a965f662 get: rename v to value follow select 2017-08-03 12:06:02 +02:00
Michał Matczuk 3b6b4ff687 select: reduce allocations and improve code structure 2017-08-03 12:02:23 +02:00
Michał Matczuk 456ce5e2f4 updated e2e benchmarks for new Scylla 2017-08-02 13:55:03 +02:00
Michał Matczuk 9e4166c178 Merge pull request #6 from scylladb/mmt/queryx_error
BindStruct, BindStructMap, BindStructMap returns *Queryx
2017-08-02 11:41:56 +02:00
Michał Matczuk fd4e0be6c8 BindStruct, BindStructMap, BindStructMap returns *Queryx 2017-08-02 11:16:31 +02:00
Michał Matczuk 563e708680 Merge pull request #5 from scylladb/mmt/named_params_for_using
Named parameters for USING TTL and TIMESTAMP
2017-08-02 11:10:24 +02:00
Michał Matczuk 711e3369d6 BindStructMap 2017-08-02 10:24:27 +02:00
Michał Matczuk 906f9433fe qb: TTL and Timestamp named parameters 2017-08-02 10:24:27 +02:00
Michał Matczuk ab0839a9d1 added missing benchmark data file 2017-08-02 10:16:59 +02:00
Michał Matczuk 93a6b7f0f0 Merge pull request #2 from scylladb/mmt/travis_on_scylla
run travis integration tests on scylla
2017-08-01 12:55:11 +02:00
Michał Matczuk c7f0483dd3 run travis integration tests on scylla 2017-08-01 11:27:08 +02:00
Michał Matczuk 8ce2726baf Merge pull request #3 from scylladb/mmt/coverage
makefile: separated integration tests, added test coverage
2017-07-31 16:22:38 +02:00
Michał Matczuk 9ab68074ab makefile: separated integration tests, added test coverage 2017-07-31 16:18:17 +02:00
Michał Matczuk f8043ef567 minor doc fix 2017-07-31 15:37:47 +02:00
Michał Matczuk 7772f52d95 Merge pull request #1 from scylladb/mmt/qb
Query builder
2017-07-31 15:34:16 +02:00
Michał Matczuk e976075998 qb: benchmark 2017-07-31 15:30:34 +02:00
Michał Matczuk 556a615f6f qb: benchmark test fixtures 2017-07-31 15:30:34 +02:00
Michał Matczuk 41bb8def2a qb: doc 2017-07-31 15:30:26 +02:00
Michał Matczuk 3b3c7087d2 qb: interface 2017-07-28 12:11:43 +02:00
Michał Matczuk eb033c4922 qb: removed error from builder ToCql function
Builder is not in a position to validate the statement and the effort is
duplicated when the query is build. The checked errors are simple and
do not occur most of the time.
2017-07-28 12:11:43 +02:00
Michał Matczuk 2afe71e2b9 qb: cmp 2017-07-28 12:11:39 +02:00
Michał Matczuk 546e11d58f qb: select 2017-07-28 12:10:50 +02:00
Michał Matczuk 69dad13e4b qb: update, delete and performance improvements 2017-07-27 15:08:09 +02:00
Michał Matczuk 5db5de8822 qb: insert 2017-07-27 15:08:09 +02:00
Michał Matczuk 7b5d550b50 readme: build status for master branch only 2017-07-27 15:00:00 +02:00
Michał Matczuk da3ff6db67 mapper: prettified test 2017-07-26 13:37:45 +02:00
Michał Matczuk 08b131c5ee mapper: moved mapper to separate file, added snake case mapper
Performance is comparable to sting.ToLower

BenchmarkSnakeCase-4              200000              5922 ns/op            1216 B/op         97 allocs/op
BenchmarkToLower-4                300000              5418 ns/op             704 B/op         74 allocs/op
2017-07-26 11:23:17 +02:00
Michał Matczuk 871a3693ad compile named query: drop of loop over runes 30% performance improvement 2017-07-26 09:10:35 +02:00
Michał Matczuk b05f30bb93 doc update 2017-07-25 14:35:49 +02:00
Michał Matczuk 23a66f993f makefile golint exit status fix 2017-07-25 14:12:25 +02:00
Michał Matczuk f3b13bf31b queryx 2017-07-25 14:12:07 +02:00
Michał Matczuk 37524a4485 named query compilation 2017-07-25 11:20:38 +02:00
Michał Matczuk a8cbe0454a WIP named 2017-07-25 11:10:19 +02:00
Michał Matczuk fee479a584 Iterx put to separate file 2017-07-25 11:09:41 +02:00
Michał Matczuk 9676daf60d example use query rebind 2017-07-25 11:08:53 +02:00
Michał Matczuk 51c33ef077 release query 2017-07-25 09:13:47 +02:00
Michał Matczuk 6a6b1c8801 license and notice 2017-07-25 08:34:43 +02:00
Michał Matczuk 26b3f24e21 move to scylladb 2017-07-25 08:25:58 +02:00
Michał Matczuk cab262b69a boo 2017-07-25 08:25:58 +02:00
Michał Matczuk f31e47d7bb simple readme and example_test 2017-07-25 08:20:16 +02:00
Michał Matczuk 0286a6dca9 package doc 2017-07-24 15:22:18 +02:00
Michał Matczuk 582dfdc6ef travis integration 2017-07-24 13:21:29 +02:00
Michał Matczuk 6653e63afd initial version 2017-07-24 13:00:21 +02:00