Skip to content

Commit

Permalink
Merge pull request #710 from Netflix/tej-flatrecord-size
Browse files Browse the repository at this point in the history
add size method to flatrecord
  • Loading branch information
vvstej authored Nov 14, 2024
2 parents 45197ba + 5d4f77c commit 028b616
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ public byte[] toArray() {
return arr;
}

public long size() {
return data.length();
}

private Object readPrimaryKeyField(int location, FieldType fieldType) {
/// assumption: primary key fields are never null
switch (fieldType) {
Expand Down

0 comments on commit 028b616

Please sign in to comment.