Skip to content

Commit

Permalink
add size method to flatrecord
Browse files Browse the repository at this point in the history
  • Loading branch information
vvstej committed Nov 13, 2024
1 parent 45197ba commit 5d4f77c
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 5d4f77c

Please sign in to comment.