Add new query format count and
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / serialization / queryformats / FormatMapper.java
index fb822dd..27d204a 100644 (file)
  */
 package org.onap.aai.serialization.queryformats;
 
-import com.google.gson.JsonObject;
+import org.onap.aai.serialization.queryformats.exceptions.AAIFormatQueryResultFormatNotSupported;
 import org.onap.aai.serialization.queryformats.exceptions.AAIFormatVertexException;
+import com.google.gson.JsonObject;
 
 public interface FormatMapper {
 
-       public JsonObject formatObject(Object v) throws AAIFormatVertexException;
+       public JsonObject formatObject(Object o) throws AAIFormatVertexException, AAIFormatQueryResultFormatNotSupported;
        
        public int parallelThreshold();
 }