mirror of https://github.com/apache/druid.git
SegmentWithState: Add toString method. (#5635)
The class appears in log messages, and the default toString method isn't very informative.
This commit is contained in:
parent
dbea5cb9b7
commit
d0400a0688
|
@ -150,4 +150,13 @@ public class SegmentWithState
|
||||||
to
|
to
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString()
|
||||||
|
{
|
||||||
|
return "SegmentWithState{" +
|
||||||
|
"segmentIdentifier=" + segmentIdentifier +
|
||||||
|
", state=" + state +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue