private Referenceable getDatabaseReference(String clusterName, String databaseName) throws Exception {
        LOG.debug("Getting reference for database {}", databaseName);
        String typeName = HiveDataTypes.HIVE_DB.getName();

        return getEntityReference(typeName, getDBQualifiedName(clusterName, databaseName));
    }
private Referenceable getDatabaseReference ( String clusterName , String databaseName ) throws Exception { LOG . debug ( "Getting reference for database {}" , databaseName ) ; String typeName = HiveDataTypes . HIVE_DB . getName ( ) ; return getEntityReference ( typeName , getDBQualifiedName ( clusterName , databaseName ) ) ; }
Gets reference to the atlas entity for the database
@param databaseName  database Name
@param clusterName    cluster name
@return Reference for database if exists, else null
@throws Exception