@InterfaceAudience.Public @InterfaceStability.Unstable public class ResourceStatistics extends Object implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ResourceStatistics.ResourceFieldStatistics
Statistics for a given field in the data.
|
Constructor and Description |
---|
ResourceStatistics() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object anOther) |
Long |
getAvgRecordSize() |
ResourceStatistics.ResourceFieldStatistics[] |
getFields() |
Long |
getmBytes() |
Long |
getNumRecords() |
Long |
getSizeInBytes() |
int |
hashCode() |
void |
setAvgRecordSize(Long sizeInBytes)
Set average record size in bytes
|
ResourceStatistics |
setFields(ResourceStatistics.ResourceFieldStatistics[] fields) |
ResourceStatistics |
setmBytes(Long mBytes)
Deprecated.
Use
setSizeInBytes(Long) instead |
ResourceStatistics |
setNumRecords(Long numRecords) |
void |
setSizeInBytes(Long bytes)
Sets the size in bytes
|
String |
toString() |
public Long getmBytes()
@Deprecated public ResourceStatistics setmBytes(Long mBytes)
setSizeInBytes(Long)
insteadmBytes
- public void setSizeInBytes(Long bytes)
bytes
- public Long getSizeInBytes()
public Long getNumRecords()
public ResourceStatistics setNumRecords(Long numRecords)
public Long getAvgRecordSize()
public void setAvgRecordSize(Long sizeInBytes)
sizeInBytes
- public ResourceStatistics.ResourceFieldStatistics[] getFields()
public ResourceStatistics setFields(ResourceStatistics.ResourceFieldStatistics[] fields)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2007-2017 The Apache Software Foundation