mayankshriv commented on a change in pull request #3728: Support for specifying 
Object Type in Schema
URL: https://github.com/apache/incubator-pinot/pull/3728#discussion_r249311546
 
 

 ##########
 File path: 
pinot-common/src/main/java/org/apache/pinot/common/data/objects/MapObject.java
 ##########
 @@ -0,0 +1,48 @@
+package org.apache.pinot.common.data.objects;
+
+import java.io.IOException;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.pinot.common.data.PinotObject;
+
+import com.beust.jcommander.internal.Lists;
+import com.fasterxml.jackson.core.JsonProcessingException;
+import com.fasterxml.jackson.databind.ObjectMapper;
+
+public class MapObject implements PinotObject {
+
+  private static ObjectMapper _MAPPER = new ObjectMapper();
+  Map<String, Object> _stringMap;
 
 Review comment:
   Would using generics help to support typed maps?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to