com.cloudera.api.model
Class ApiHdfsUsageReport

java.lang.Object
  extended by com.cloudera.api.model.ApiHdfsUsageReport
All Implemented Interfaces:
Iterable<ApiHdfsUsageReportRow>

public class ApiHdfsUsageReport
extends Object


Field Summary
static String ITEMS_ATTR
           
protected  List<T> values
           
 
Constructor Summary
ApiHdfsUsageReport()
           
ApiHdfsUsageReport(Date lastUpdateTime, List<ApiHdfsUsageReportRow> rows)
           
 
Method Summary
 boolean add(T item)
           
 boolean equals(Object o)
           
 T get(int index)
           
 Date getLastUpdateTime()
          The time when HDFS usage info was last collected.
 List<ApiHdfsUsageReportRow> getReportRows()
          A list of per-user usage information at the requested time granularity.
 int hashCode()
           
 Iterator<T> iterator()
           
 void setLastUpdateTime(Date lastUpdateTime)
           
 void setReportRows(List<ApiHdfsUsageReportRow> rows)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ITEMS_ATTR

public static final String ITEMS_ATTR
See Also:
Constant Field Values

values

protected List<T> values
Constructor Detail

ApiHdfsUsageReport

public ApiHdfsUsageReport()

ApiHdfsUsageReport

public ApiHdfsUsageReport(Date lastUpdateTime,
                          List<ApiHdfsUsageReportRow> rows)
Method Detail

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.