Kelley Reynolds
02b5abbe44
Bump thrift version
2017-03-02 16:04:09 -05:00
Kelley Reynolds
ba6d5ed6c1
Bump gem version
2017-03-02 16:00:20 -05:00
Kelley Reynolds
acfd093254
Merge pull request #68 from pauloricardomg/fetch_first
...
added row.first and result.fetch_first methods allowing for the first value of a column to be retrieved in a nicer way
2017-03-02 15:49:35 -05:00
Kelley Reynolds
fa9e4253ec
Merge pull request #75 from ccutrer/fixnum
...
Fixnum is deprecated in Ruby 2.4
2017-03-02 15:46:41 -05:00
Cody Cutrer
c9eb3cee4c
Fixnum is deprecated in Ruby 2.4
2017-03-02 13:44:08 -07:00
Kelley Reynolds
b2927ae44a
Merge pull request #73 from sgerrand/gemspec/vale-google-code
...
Update homepage to use GitHub repository
2015-10-21 10:30:44 -04:00
Sasha Gerrand
491e756153
Update homepage to use GitHub repository
2015-10-21 12:33:33 +01:00
Kelley Reynolds
5ab481c3a0
Merge pull request #72 from quainjn/master
...
Fix typo in Readme
2014-05-27 12:04:13 -04:00
Jake Quain
f0a46e85ce
Fix typo in Readme
2014-05-27 11:58:01 -04:00
Kelley Reynolds
beed72e249
Merge pull request #71 from codekitchen/consistency_level
...
Consistency level
2014-05-15 19:06:22 -04:00
Brian Palmer
64e98caa2e
fix typo in spec
2014-05-15 15:05:21 -06:00
Brian Palmer
71f0668c5b
fill in test coverage for cql3 consistency level option
2014-05-15 14:40:39 -06:00
Harold Nguyen
932607653e
Modified changes according to suggestions
2014-02-22 23:39:10 -08:00
Paulo Ricardo Motta Gomes
446c7a79d8
added row.first and result.fetch_first methods allowing for the first column of a query to be retrieved in a nicer way
2014-02-16 15:36:38 -03:00
haroldn
6719a96a16
Adding consistency level option in execute
2014-02-14 16:34:24 -08:00
haroldn
10396bddf0
Adding consistency level option in execute
2014-02-14 16:33:07 -08:00
haroldn
6c427d7899
Adding consistency level option in execute
2014-02-14 15:50:19 -08:00
haroldn
1d076498ad
Adding consistency level option in execute_cql_query
2014-02-14 15:42:29 -08:00
Kelley Reynolds
ba9470ebb4
Merge branch 'master' of github.com:kreynolds/cassandra-cql
2014-01-31 01:18:07 -05:00
Kelley Reynolds
64a4b85be1
Bump gem version to 1.2.2
2014-01-31 01:16:28 -05:00
Kelley Reynolds
16dd09bdda
Merge pull request #63 from vicentllongo/cast_map
...
FIX. Hash/Map casting conflicts with JSON strings
2013-11-06 07:38:54 -08:00
Vicent Llongo
17f518cc83
FIX. Map casting conflicts with JSON strings
2013-11-06 10:15:19 +02:00
Kelley Reynolds
1c8b50b183
Merge pull request #62 from vicentllongo/cast_map
...
Cast Hash as Collection Map
2013-11-05 06:17:59 -08:00
Vicent Llongo
6b0b37fe94
Cast Hash as Collection Map
2013-11-04 23:31:39 +02:00
Kelley Reynolds
d100be075b
Merge pull request #61 from ccutrer/autocql3
...
default to cassandra 1.2, and use cql3 transport methods automatically
2013-10-29 12:30:01 -07:00
Cody Cutrer
b73ccb982e
default to cassandra 1.2, and use cql3 transport methods automatically
...
also, don't execute USE in initialize; the after connect callback will
do that; it would start a cql query before it knew which version
to speak
third, fix quoting for cassandra 1.1
finally, DateType was renamed to TimestampType, so alias the
cast class
2013-10-29 13:03:17 -06:00
Kelley Reynolds
d0d11b8188
Bump version to 1.2.1
2013-07-22 08:16:58 -04:00
Kelley Reynolds
ac19204ce0
Merge pull request #56 from vicentllongo/auth_fix
...
Login before using a keyspace
2013-07-22 05:14:17 -07:00
Vicent Llongo
83bfaf9456
Login before keyspace use
2013-07-18 19:46:59 +03:00
Kelley Reynolds
84137f15e6
Test out 2.0.0 with travis
2013-07-01 12:35:38 -04:00
Kelley Reynolds
ec8fd64897
Update README and bump gem version
2013-07-01 12:28:09 -04:00
Kelley Reynolds
8f868408e1
Merge pull request #53 from vicentllongo/cast_quotes_fix
...
Fix cast and quotes issues with 1.2
2013-07-01 09:23:41 -07:00
Kelley Reynolds
c767a5dbd1
Merge pull request #52 from vicentllongo/travis_fix
...
Fix travis configuration
2013-07-01 09:20:26 -07:00
Vicent Llongo
795cbca346
Remove cassandra 0.8 from travis.yml
2013-06-29 20:33:15 +03:00
Vicent Llongo
bee655666b
Handle quotes and casts
...
* Based on cassandra and cql versions
2013-06-29 16:28:59 +03:00
Vicent Llongo
8785dc6698
Merge branch 'travis_fix' into cast_quotes_fix
2013-06-29 12:24:33 +03:00
Vicent Llongo
f47099c04c
Remove unsupported ruby versions from travis.yml
2013-06-29 12:23:18 +03:00
Vicent Llongo
f21c6520f0
Fix cast and quotes from 1.2.2 version
...
* Affected types: UUID, boolean, Numeric
* Tests fixed
2013-06-25 22:13:43 +03:00
Vicent Llongo
3546cc027d
Fix travis configuration
...
* Fix Java version check
* Add 1.1 and 1.2 conf files
* Fix gemcutter warning
2013-06-23 21:07:22 +03:00
Kelley Reynolds
4d57295574
Merge pull request #39 from outoftime/1.2
...
Thrift bindings etc. for 1.2
2013-05-21 05:24:22 -07:00
Mat Brown
fe27c61358
Support for reading collection columns in results
...
Define CassandraCQL::Collections::List, CassandraCQL::Collections::Set,
and CassandraCQL::Collections::Map, which implement a ::cast class
method that takes a block to cast each individual element. The return
types are Array, Set, and Hash respectively.
2013-03-16 21:25:25 -04:00
Mat Brown
821e077cc5
Get applicable specs working with Cassandra 1.2/CQL3
...
* Define constant CQL_VERSION in specs, read from environment and
defaults to 2.0.0
* Use this constant to filter specs which have a :cql_version option
defined
* Set :cql_version to 2.0.0 for specs that deal with comparators and
sparse columns
* Create spec helper modules to deal with different setup behavior for
CQL2 and CQL3, particularly introspecting for the existence of a
column family
* In some specs, needed to explicitly define columns which could be
lazily created by insert in CQL2
2013-03-16 20:11:32 -04:00
Kelley Reynolds
d860108c98
Bump version to 1.1.5
2013-03-15 18:39:20 -04:00
Kelley Reynolds
6a8446c685
Prevent thrift 0.9 from being used until more thorough tests can be run
2013-03-15 18:39:20 -04:00
Kelley Reynolds
2b4247b144
Fix column_family_spec to not check for column.id attribute now absent in cassandra 1.2
2013-03-15 18:39:20 -04:00
Mat Brown
e20f18f900
Remove #column_index helper; use #column_indices to check for int name
2013-03-15 18:39:20 -04:00
Mat Brown
7161d12afa
Precalculate a map of column names -> column indices
...
This allows us to avoid using Array#index to map names to indices, which
requires N**2 comparisons between column names to fully hydrate a row.
Performance improvements are considerable for large result rows.
2013-03-15 18:39:20 -04:00
Mat Brown
a688472901
Merge pull request #2 from ottbot/1.2-use-cql2-in-specs
...
Use CQL 2.0.0 for specs if using cassandra 1.2 or above.
2013-03-15 15:21:27 -07:00
Robert Crim
5b16790483
Use CQL 2.0.0 for specs if using cassandra 1.2 or above.
2013-02-14 18:12:22 +00:00
Kelley Reynolds
4966de96c1
Bump version to 1.1.5
2013-01-15 13:34:44 -05:00