Package org.apache.oodt.cas.catalog.struct.impl.transaction

Examples of org.apache.oodt.cas.catalog.struct.impl.transaction.LongTransactionIdFactory


  public String getProperty(String key) throws CatalogIndexException {
    return null;
  }

  public TransactionIdFactory getTransactionIdFactory() throws CatalogIndexException {
    return new LongTransactionIdFactory();
  }
View Full Code Here


          LOG.log(Level.INFO, "Performing Query: " + sqlQuery);
      rs = stmt.executeQuery(sqlQuery);
     
      List<IngestReceipt> receipts = new Vector<IngestReceipt>();
      while (rs.next())
                receipts.add(new IngestReceipt(new LongTransactionIdFactory().createTransactionId(rs.getString("workflow_instance_id")), DateConvert.isoParse(rs.getString("start_date_time"))));
      return receipts;
    }catch (Exception e) {
      throw new QueryServiceException("Failed to query Workflow Instances Database : " + e.getMessage(), e);
    }finally {
      try {
View Full Code Here

     
      List<IngestReceipt> receipts = new Vector<IngestReceipt>();
      int index = 0;
      while (startIndex > index && rs.next()) index++;
      while (rs.next() && index++ <= endIndex)
        receipts.add(new IngestReceipt(new LongTransactionIdFactory().createTransactionId(rs.getString("workflow_instance_id")), DateConvert.isoParse(rs.getString("start_date_time"))));
      return receipts;
    }catch (Exception e) {
      throw new QueryServiceException("Failed to query Workflow Instances Database : " + e.getMessage(), e);
    }finally {
      try {
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.catalog.struct.impl.transaction.LongTransactionIdFactory

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.