|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.ResourceStatistics
@InterfaceAudience.Public @InterfaceStability.Unstable public class ResourceStatistics
An class that represents statistics about data to be loaded or stored. It is marked unstable because Pig does very little statistics collection at this point. If and when that functionality is added it is expected that this interface will change.
Nested Class Summary | |
---|---|
static class |
ResourceStatistics.ResourceFieldStatistics
Statistics for a given field in the data. |
Constructor Summary | |
---|---|
ResourceStatistics()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceStatistics()
Method Detail |
---|
public Long getmBytes()
@Deprecated public ResourceStatistics setmBytes(Long mBytes)
setSizeInBytes(Long)
instead
mBytes
- 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 boolean equals(Object anOther)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |