in core/src/main/thrift-gen-java/org/apache/accumulo/core/manager/thrift/TableInfo.java [855:973]
public int compareTo(TableInfo other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.compare(isSetRecs(), other.isSetRecs());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetRecs()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.recs, other.recs);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetRecsInMemory(), other.isSetRecsInMemory());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetRecsInMemory()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.recsInMemory, other.recsInMemory);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetTablets(), other.isSetTablets());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetTablets()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablets, other.tablets);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetOnlineTablets(), other.isSetOnlineTablets());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetOnlineTablets()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.onlineTablets, other.onlineTablets);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetIngestRate(), other.isSetIngestRate());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetIngestRate()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ingestRate, other.ingestRate);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetIngestByteRate(), other.isSetIngestByteRate());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetIngestByteRate()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ingestByteRate, other.ingestByteRate);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetQueryRate(), other.isSetQueryRate());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetQueryRate()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryRate, other.queryRate);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetQueryByteRate(), other.isSetQueryByteRate());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetQueryByteRate()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryByteRate, other.queryByteRate);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetMinors(), other.isSetMinors());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetMinors()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minors, other.minors);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetScans(), other.isSetScans());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetScans()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scans, other.scans);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetScanRate(), other.isSetScanRate());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetScanRate()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scanRate, other.scanRate);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}