diff --git a/hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/flatrecords/FlatRecord.java b/hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/flatrecords/FlatRecord.java index 32142fb20..f261e5fb4 100644 --- a/hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/flatrecords/FlatRecord.java +++ b/hollow/src/main/java/com/netflix/hollow/core/write/objectmapper/flatrecords/FlatRecord.java @@ -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) {