Search in sources :

Example 1 with AtlasEntityExtInfo

use of org.apache.atlas.model.instance.AtlasEntity.AtlasEntityExtInfo in project incubator-atlas by apache.

the class EntityGraphRetriever method toAtlasEntityWithExtInfo.

public AtlasEntityWithExtInfo toAtlasEntityWithExtInfo(AtlasVertex entityVertex) throws AtlasBaseException {
    AtlasEntityExtInfo entityExtInfo = new AtlasEntityExtInfo();
    AtlasEntity entity = mapVertexToAtlasEntity(entityVertex, entityExtInfo);
    AtlasEntityWithExtInfo ret = new AtlasEntityWithExtInfo(entity, entityExtInfo);
    ret.compact();
    return ret;
}
Also used : AtlasEntityExtInfo(org.apache.atlas.model.instance.AtlasEntity.AtlasEntityExtInfo) AtlasEntityWithExtInfo(org.apache.atlas.model.instance.AtlasEntity.AtlasEntityWithExtInfo) AtlasEntity(org.apache.atlas.model.instance.AtlasEntity)

Aggregations

AtlasEntity (org.apache.atlas.model.instance.AtlasEntity)1 AtlasEntityExtInfo (org.apache.atlas.model.instance.AtlasEntity.AtlasEntityExtInfo)1 AtlasEntityWithExtInfo (org.apache.atlas.model.instance.AtlasEntity.AtlasEntityWithExtInfo)1