Skip to content

Commit

Permalink
add comment for SetData
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed May 7, 2024
1 parent 788bbed commit ddd0cde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/src/parquet/encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,10 @@ class Decoder {

// Sets the data for a new page. This will be called multiple times on the same
// decoder and should reset all internal state.
//
// In current implementations, `num_values` is the `num_values` field in the
// data page header, which may greater than the number of values in the data
// buffer.
virtual void SetData(int num_values, const uint8_t* data, int len) = 0;

// Returns the number of values left (for the last call to SetData()). This is
Expand Down

0 comments on commit ddd0cde

Please sign in to comment.