You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pinot.apache.org by GitBox <gi...@apache.org> on 2019/01/21 02:33:00 UTC

[GitHub] mayankshriv commented on a change in pull request #3728: Support for specifying Object Type in Schema

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pinot.apache.org
For additional commands, e-mail: dev-help@pinot.apache.org