org.apache.pig
Class ResourceStatistics
java.lang.Object
org.apache.pig.ResourceStatistics
- All Implemented Interfaces:
- Cloneable
@InterfaceAudience.Public
@InterfaceStability.Unstable
public class ResourceStatistics
- extends Object
- implements Cloneable
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.
- Since:
- Pig 0.7
mBytes
public Long mBytes
numRecords
public Long numRecords
avgRecordSize
public Long avgRecordSize
fields
public ResourceStatistics.ResourceFieldStatistics[] fields
ResourceStatistics
public ResourceStatistics()
getmBytes
public Long getmBytes()
setmBytes
public ResourceStatistics setmBytes(Long mBytes)
getNumRecords
public Long getNumRecords()
setNumRecords
public ResourceStatistics setNumRecords(Long numRecords)
getAvgRecordSize
public Long getAvgRecordSize()
setAvgRecordSize
public void setAvgRecordSize(Long size)
getFields
public ResourceStatistics.ResourceFieldStatistics[] getFields()
setFields
public ResourceStatistics setFields(ResourceStatistics.ResourceFieldStatistics[] fields)
equals
public boolean equals(Object anOther)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
Copyright © 2012 The Apache Software Foundation