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

sunchao / parquet-rs / 133
96%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2017 06:05AM UTC
Jobs 1
Files 21
Run time 2s
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
133

push

travis-ci

sunchao
Add LevelEncoder and LevelDecoder

The current decoding::RleDecoder is only used for decoding rep/def
levels. However, it can only decode i32 while levels are encoded as i16.
Also, it doesn't fit well within the Decoder trait.

This commit creates two separate structs: LevelEncoder and LevelDecoder,
to replace the above. This is similar to the C++ implementation. These
two are thin wrappers on the existing RawRleEncoder and RawRleDecoder.

Also did a little bit refactoring:
1. BitWriter::consume() and RawRleEncoder::consume() no longer consume
   "this". Instead they just replace the underlying buffer.
2. move RawRleEncoder::min_buffer_size and
   RawRleEncoder::max_buffer_size to the front of struct definition
   since they are "static" functions.

3091 of 4497 relevant lines covered (68.73%)

0.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 133.1 28 Jul 2017 06:05AM UTC 0
68.73
Travis Job 133.1
Source Files on build 133
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #133
  • c63a1df5 on github
  • Prev Build on master (#132)
  • Next Build on master (#134)
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