ContentSummary extends QuotaUsage implements Writable { public static String getHeader(boolean qOption) { return qOption ? ALL_HEADER : SUMMARY_HEADER; } @Deprecated  ContentSummary(); @Deprecated  ContentSummary(long length, long fileCount, long directoryCount); @Deprecated  ContentSummary(
      long length, long fileCount, long directoryCount, long quota,
      long spaceConsumed, long spaceQuota); private  ContentSummary(Builder builder); long getLength(); long getSnapshotLength(); long getDirectoryCount(); long getSnapshotDirectoryCount(); long getFileCount(); long getSnapshotFileCount(); long getSnapshotSpaceConsumed(); String getErasureCodingPolicy(); @Override @InterfaceAudience.Private void write(DataOutput out); @Override @InterfaceAudience.Private void readFields(DataInput in); @Override boolean equals(Object to); @Override int hashCode(); static String getHeader(boolean qOption); static String[] getHeaderFields(); static String[] getQuotaHeaderFields(); @Override String toString(); @Override String toString(boolean qOption); String toString(boolean qOption, boolean hOption); String toString(boolean qOption, boolean hOption, boolean xOption); String toString(boolean qOption, boolean hOption,
                         boolean tOption, List<StorageType> types); String toString(boolean qOption, boolean hOption, boolean tOption,
      boolean xOption, List<StorageType> types);  }
@Test public void testGetHeaderWithQuota() { String header = " QUOTA REM_QUOTA SPACE_QUOTA " + "REM_SPACE_QUOTA DIR_COUNT FILE_COUNT CONTENT_SIZE "; assertEquals(header, ContentSummary.getHeader(true)); }
@Test public void testGetHeaderNoQuota() { String header = " DIR_COUNT FILE_COUNT CONTENT_SIZE "; assertEquals(header, ContentSummary.getHeader(false)); }