• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iconara / cql-rb / 309
100%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v2.1.0.pre2
DEFAULT BRANCH: master
Ran 04 Jan 2014 11:02AM UTC
Jobs 4
Files 111
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
309

push

travis-ci

iconara
Ask the server not to send metadata in the response to prepared statements

In v2 prepared statements get metadata about their results along with the metadata about the parameters. When a prepared statement has this data it can ask the server not to send it on every response, hopefully saving a lot of bandwidth.

This patch introduces LazyQueryResult and RawRowsResultResponse that make it possible to defer row decoding to the absolute last moment. It also adds PreparedStatement#result_metadata for access to the result metadata.

All decoder methods also get the frame length, even though it's only RowsResultResponse that uses it.

179 of 179 new or added lines in 20 files covered. (100.0%)

7942 of 7974 relevant lines covered (99.6%)

7144.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
lib/cql/protocol/responses/raw_rows_result_response.rb
1
100.0
spec/cql/client/asynchronous_prepared_statement_spec.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
spec/cql/client/asynchronous_prepared_statement_spec.rb
3
100.0
spec/cql/client/request_runner_spec.rb
Jobs
ID Job ID Ran Files Coverage
1 309.1 (2.0.0, CQL_ENABLE_AUTH=1) 04 Jan 2014 11:02AM UTC 0
96.52
Travis Job 309.1
2 309.2 (1.9.3, CQL_ENABLE_AUTH=0) 04 Jan 2014 11:03AM UTC 0
99.59
Travis Job 309.2
3 309.3 (2.0.0, CQL_ENABLE_AUTH=0) 04 Jan 2014 11:03AM UTC 0
99.59
Travis Job 309.3
4 309.4 (jruby-19mode, CQL_ENABLE_AUTH=0) 04 Jan 2014 11:06AM UTC 0
98.46
Travis Job 309.4
Source Files on build 309
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #309
  • a3feffa8 on github
  • Prev Build on protocol_v2 (#302)
  • Next Build on protocol_v2 (#310)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc