@Override public long count() throws DataAccessException { try { final Long count = collection.count().getCount(); return count != null ? count.longValue() : -1; } catch (final ArangoDBException e) { throw translateExceptionIfPossible(e); } }
@Override public long count() throws DataAccessException { try { final Long count = collection.count().getCount(); return count != null ? count.longValue() : -1; } catch (final ArangoDBException e) { throw translateExceptionIfPossible(e); } }