maytasm commented on a change in pull request #11078:
URL: https://github.com/apache/druid/pull/11078#discussion_r610291070
##########
File path: core/src/main/java/org/apache/druid/common/config/ConfigSerde.java
##########
@@ -24,6 +24,14 @@
public interface ConfigSerde<T>
{
byte[] serialize(T obj);
- String serializeToString(T obj);
+ /**
+ * Serialize object to String
+ *
+ * @param obj to be serialize
+ * @param skipNull if true, then skip serialization of any field with null
value.
+ * This can be used to reduce the size of the resulting
String.
+ * @return String serialization of the input without fields with null values
Review comment:
Oops. Updated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]