@Override public long size(Resource... contexts) throws SailException { return wrappedCon.size(contexts); }
public long size(Resource context) throws SailException { return wrappedCon.size(context); }
@Override public long size(Resource... contexts) throws SailException { return wrappedCon.size(contexts); }
public long size(Resource context) throws SailException { return wrappedCon.size(context); }
public Long execute(final SailConnection sc) throws SailException { return sc.size(contexts); } }
protected long sizeInternal(final Resource... contexts) throws SailException { return baseSailConnection.size(contexts); }
protected long sizeInternal(final Resource... contexts) throws SailException { return baseSailConnection.size(contexts); }
protected long sizeInternal(final Resource... contexts) throws SailException { if (0 == contexts.length) { return baseSailConnection.size(singleContext); } else { for (Resource context : contexts) { if (null != context && context.equals(singleContext)) { return baseSailConnection.size(singleContext); } } return 0; } }
@Override public long size(Resource... contexts) throws RepositoryException { try { return sailConnection.size(contexts); } catch (SailException e) { throw new RepositoryException(e); } }
protected long sizeInternal(final Resource... contexts) throws SailException { if (ReplayConfiguration.LOG_READ_OPERATIONS) { queryHandler.handle(new SizeCall(id, contexts)); } return baseSailConnection.size(contexts); }