@InterfaceAudience.Public @InterfaceStability.Unstable public class ResourceStatistics extends java.lang.Object implements java.lang.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 |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object anOther) |
java.lang.Long |
getAvgRecordSize() |
ResourceStatistics.ResourceFieldStatistics[] |
getFields() |
java.lang.Long |
getmBytes() |
java.lang.Long |
getNumRecords() |
java.lang.Long |
getSizeInBytes() |
int |
hashCode() |
void |
setAvgRecordSize(java.lang.Long sizeInBytes)
Set average record size in bytes
|
ResourceStatistics |
setFields(ResourceStatistics.ResourceFieldStatistics[] fields) |
ResourceStatistics |
setmBytes(java.lang.Long mBytes)
Deprecated.
Use
setSizeInBytes(Long) instead |
ResourceStatistics |
setNumRecords(java.lang.Long numRecords) |
void |
setSizeInBytes(java.lang.Long bytes)
Sets the size in bytes
|
java.lang.String |
toString() |
public java.lang.Long getmBytes()
@Deprecated public ResourceStatistics setmBytes(java.lang.Long mBytes)
setSizeInBytes(Long)
insteadmBytes
- public void setSizeInBytes(java.lang.Long bytes)
bytes
- public java.lang.Long getSizeInBytes()
public java.lang.Long getNumRecords()
public ResourceStatistics setNumRecords(java.lang.Long numRecords)
public java.lang.Long getAvgRecordSize()
public void setAvgRecordSize(java.lang.Long sizeInBytes)
sizeInBytes
- public ResourceStatistics.ResourceFieldStatistics[] getFields()
public ResourceStatistics setFields(ResourceStatistics.ResourceFieldStatistics[] fields)
public boolean equals(java.lang.Object anOther)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Copyright © 2007-2017 The Apache Software Foundation