@InterfaceAudience.Private @InterfaceStability.Evolving public class SizeUtil extends Object
| Constructor and Description |
|---|
SizeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getMapEntrySize(Object key,
Object value) |
static long |
getPigObjMemSize(Object o) |
static long |
roundToEight(long i)
Memory size of objects are rounded to multiple of 8 bytes
|
public static long getPigObjMemSize(Object o)
public static long roundToEight(long i)
i - Copyright © 2007-2017 The Apache Software Foundation