public static class CoderProperties.TestElementByteSizeObserver
extends org.apache.beam.sdk.util.common.ElementByteSizeObserver
ElementByteSizeObserver that records the observed element sizes for testing
 purposes.| Constructor and Description | 
|---|
TestElementByteSizeObserver()  | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getCount()  | 
double | 
getMean()  | 
long | 
getSum()  | 
long | 
getSumAndReset()  | 
protected void | 
reportElementSize(long elementByteSize)  | 
void | 
reset()  | 
protected void reportElementSize(long elementByteSize)
reportElementSize in class org.apache.beam.sdk.util.common.ElementByteSizeObserverpublic double getMean()
public long getSum()
public long getCount()
public void reset()
public long getSumAndReset()