Package org.openrdf.sail.rdbms.exceptions

Examples of org.openrdf.sail.rdbms.exceptions.RdbmsException


  @Override
  protected void rollbackInternal() throws SailException {
    try {
      triples.rollback();
    } catch (SQLException e) {
      throw new RdbmsException(e);
    } finally {
      unlock();
    }
  }
View Full Code Here


  @Override
  protected long sizeInternal(Resource... contexts) throws SailException {
    try {
      return triples.size(vf.asRdbmsResource(contexts));
    } catch (SQLException e) {
      throw new RdbmsException(e);
    }
  }
View Full Code Here

  protected void startTransactionInternal() throws SailException {
    try {
      lock();
      triples.begin();
    } catch (SQLException e) {
      throw new RdbmsException(e);
    }
  }
View Full Code Here

    try {
      bnodes.flush();
      uris.flush();
      literals.flush();
    } catch (SQLException e) {
      throw new RdbmsException(e);
    }
    catch (InterruptedException e) {
      throw new RdbmsException(e);
    }
  }
View Full Code Here

      if (value instanceof RdbmsBNode)
        return bnodes.getInternalId((RdbmsBNode)value);
      return literals.getInternalId((RdbmsLiteral)value);
    }
    catch (SQLException e) {
      throw new RdbmsException(e);
    } catch (InterruptedException e) {
      throw new RdbmsRuntimeException(e);
    }
  }
View Full Code Here

  public Number getPredicateId(RdbmsURI predicate) throws RdbmsException {
    try {
      return predicates.getIdOfPredicate(predicate);
    } catch (SQLException e) {
      throw new RdbmsException(e);
    } catch (InterruptedException e) {
      throw new RdbmsRuntimeException(e);
    }
  }
View Full Code Here

TOP

Related Classes of org.openrdf.sail.rdbms.exceptions.RdbmsException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.