in ozhera-tspandata/src/main/java/org/apache/ozhera/tspandata/TSpanData.java [1224:1471]
public int compareTo(TSpanData var1) {
if (!this.getClass().equals(var1.getClass())) {
return this.getClass().getName().compareTo(var1.getClass().getName());
} else {
boolean var2 = false;
int var4 = Boolean.valueOf(this.isSetTraceId()).compareTo(var1.isSetTraceId());
if (var4 != 0) {
return var4;
} else {
if (this.isSetTraceId()) {
var4 = TBaseHelper.compareTo(this.traceId, var1.traceId);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetSpanId()).compareTo(var1.isSetSpanId());
if (var4 != 0) {
return var4;
} else {
if (this.isSetSpanId()) {
var4 = TBaseHelper.compareTo(this.spanId, var1.spanId);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetSampled()).compareTo(var1.isSetSampled());
if (var4 != 0) {
return var4;
} else {
if (this.isSetSampled()) {
var4 = TBaseHelper.compareTo(this.sampled, var1.sampled);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetTraceState()).compareTo(var1.isSetTraceState());
if (var4 != 0) {
return var4;
} else {
if (this.isSetTraceState()) {
var4 = TBaseHelper.compareTo(this.traceState, var1.traceState);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetParentSpanContext()).compareTo(var1.isSetParentSpanContext());
if (var4 != 0) {
return var4;
} else {
if (this.isSetParentSpanContext()) {
var4 = TBaseHelper.compareTo(this.parentSpanContext, var1.parentSpanContext);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetResouce()).compareTo(var1.isSetResouce());
if (var4 != 0) {
return var4;
} else {
if (this.isSetResouce()) {
var4 = TBaseHelper.compareTo(this.resouce, var1.resouce);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetInstrumentationLibraryInfo()).compareTo(var1.isSetInstrumentationLibraryInfo());
if (var4 != 0) {
return var4;
} else {
if (this.isSetInstrumentationLibraryInfo()) {
var4 = TBaseHelper.compareTo(this.instrumentationLibraryInfo, var1.instrumentationLibraryInfo);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetName()).compareTo(var1.isSetName());
if (var4 != 0) {
return var4;
} else {
if (this.isSetName()) {
var4 = TBaseHelper.compareTo(this.name, var1.name);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetKind()).compareTo(var1.isSetKind());
if (var4 != 0) {
return var4;
} else {
if (this.isSetKind()) {
var4 = TBaseHelper.compareTo(this.kind, var1.kind);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetStartEpochNanos()).compareTo(var1.isSetStartEpochNanos());
if (var4 != 0) {
return var4;
} else {
if (this.isSetStartEpochNanos()) {
var4 = TBaseHelper.compareTo(this.startEpochNanos, var1.startEpochNanos);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetAttributes()).compareTo(var1.isSetAttributes());
if (var4 != 0) {
return var4;
} else {
if (this.isSetAttributes()) {
var4 = TBaseHelper.compareTo(this.attributes, var1.attributes);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetEvents()).compareTo(var1.isSetEvents());
if (var4 != 0) {
return var4;
} else {
if (this.isSetEvents()) {
var4 = TBaseHelper.compareTo(this.events, var1.events);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetLinks()).compareTo(var1.isSetLinks());
if (var4 != 0) {
return var4;
} else {
if (this.isSetLinks()) {
var4 = TBaseHelper.compareTo(this.links, var1.links);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetStatus()).compareTo(var1.isSetStatus());
if (var4 != 0) {
return var4;
} else {
if (this.isSetStatus()) {
var4 = TBaseHelper.compareTo(this.status, var1.status);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetEndEpochNanos()).compareTo(var1.isSetEndEpochNanos());
if (var4 != 0) {
return var4;
} else {
if (this.isSetEndEpochNanos()) {
var4 = TBaseHelper.compareTo(this.endEpochNanos, var1.endEpochNanos);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetEnded()).compareTo(var1.isSetEnded());
if (var4 != 0) {
return var4;
} else {
if (this.isSetEnded()) {
var4 = TBaseHelper.compareTo(this.ended, var1.ended);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetTotalRecordedEvents()).compareTo(var1.isSetTotalRecordedEvents());
if (var4 != 0) {
return var4;
} else {
if (this.isSetTotalRecordedEvents()) {
var4 = TBaseHelper.compareTo(this.totalRecordedEvents, var1.totalRecordedEvents);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetTotalRecordedLinks()).compareTo(var1.isSetTotalRecordedLinks());
if (var4 != 0) {
return var4;
} else {
if (this.isSetTotalRecordedLinks()) {
var4 = TBaseHelper.compareTo(this.totalRecordedLinks, var1.totalRecordedLinks);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetTotalAttributeCount()).compareTo(var1.isSetTotalAttributeCount());
if (var4 != 0) {
return var4;
} else {
if (this.isSetTotalAttributeCount()) {
var4 = TBaseHelper.compareTo(this.totalAttributeCount, var1.totalAttributeCount);
if (var4 != 0) {
return var4;
}
}
var4 = Boolean.valueOf(this.isSetExtra()).compareTo(var1.isSetExtra());
if (var4 != 0) {
return var4;
} else {
if (this.isSetExtra()) {
var4 = TBaseHelper.compareTo(this.extra, var1.extra);
if (var4 != 0) {
return var4;
}
}
return 0;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}