thrownewAtlasBaseException(AtlasErrorCode.INSTANCE_CRUD_INVALID_PARAMS,"Use AtlasObjectId to refer to another instance instead of AtlasEntity "+type.getTypeName());
}else{
}else{
thrownewAtlasBaseException(AtlasErrorCode.INSTANCE_CRUD_INVALID_PARAMS,"Invalid object type "+entity.getClass());
thrownewAtlasBaseException(AtlasErrorCode.INSTANCE_CRUD_INVALID_PARAMS,"Invalid object type "+entity.getClass());
}
}
...
@@ -154,26 +160,18 @@ public class AtlasEntityGraphDiscoveryV1 implements EntityGraphDiscovery {
...
@@ -154,26 +160,18 @@ public class AtlasEntityGraphDiscoveryV1 implements EntityGraphDiscovery {
* Bulk retrieval API for searching on entities by certain predefined attributes ( typeName, superType, name, qualifiedName etc) + optional user defined attributes