Integrate aai-schema-ingest library into aai-core
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / serialization / queryformats / FormatMapper.java
index a98b423..287170d 100644 (file)
@@ -23,9 +23,11 @@ import com.google.gson.JsonObject;
 import org.onap.aai.serialization.queryformats.exceptions.AAIFormatQueryResultFormatNotSupported;
 import org.onap.aai.serialization.queryformats.exceptions.AAIFormatVertexException;
 
+import java.util.Optional;
+
 public interface FormatMapper {
 
-       public JsonObject formatObject(Object o) throws AAIFormatVertexException, AAIFormatQueryResultFormatNotSupported;
+       Optional<JsonObject> formatObject(Object o) throws AAIFormatVertexException, AAIFormatQueryResultFormatNotSupported;
        
-       public int parallelThreshold();
+       int parallelThreshold();
 }