com.cloudera.api.model
Class ApiHdfsUsageReport
java.lang.Object
com.cloudera.api.model.ApiHdfsUsageReport
- All Implemented Interfaces:
- Iterable<ApiHdfsUsageReportRow>
public class ApiHdfsUsageReport
- extends Object
ITEMS_ATTR
public static final String ITEMS_ATTR
- See Also:
- Constant Field Values
values
protected List<T> values
ApiHdfsUsageReport
public ApiHdfsUsageReport()
ApiHdfsUsageReport
public ApiHdfsUsageReport(Date lastUpdateTime,
List<ApiHdfsUsageReportRow> rows)
getLastUpdateTime
public Date getLastUpdateTime()
- The time when HDFS usage info was last collected. No information
beyond this time can be provided.
setLastUpdateTime
public void setLastUpdateTime(Date lastUpdateTime)
getReportRows
public List<ApiHdfsUsageReportRow> getReportRows()
- A list of per-user usage information at the requested
time granularity.
setReportRows
public void setReportRows(List<ApiHdfsUsageReportRow> rows)
equals
public boolean equals(Object o)
hashCode
public int hashCode()
add
public boolean add(T item)
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T>
size
public int size()
get
public T get(int index)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.