Package com.ikanow.infinit.e.data_model.store.config.source

Examples of com.ikanow.infinit.e.data_model.store.config.source.SourcePojoSubstitutionDbMap


     
      try {
        BasicDBObject fields = new BasicDBObject(SourcePojo.templateProcessingFlow_, 0);
        BasicDBObject dbo = (BasicDBObject) DbManager.getIngest().getSource().findAndModify(query, fields, null, false, modify, false, false);
        if (null != dbo) {
          SourcePojo fullSource = SourcePojo.fromDb(dbo, SourcePojo.class, new SourcePojoSubstitutionDbMap());
          nextSetToProcess.add(fullSource);
          nNumSourcesGot++;
         
          ////////////////////////////////////////////////////////////////////////
          //
View Full Code Here


      // (need both suspended and active sources)
      srcQuery.put(SourcePojo.isApproved_, true);
      srcQuery.put(SourcePojo.harvestBadSource_, false);
     
      DBCursor dbc = DbManager.getIngest().getSource().find(srcQuery);     
      List<SourcePojo> srcList = SourcePojo.listFromDb(dbc, SourcePojo.listType(), new SourcePojoSubstitutionDbMap());
      long mostRecentlyChangedSource = 0L;
      for (SourcePojo src: srcList) {
        // Some input checking:
        if (ignoreSource(src, isSlave)) {
          continue;
View Full Code Here

TOP

Related Classes of com.ikanow.infinit.e.data_model.store.config.source.SourcePojoSubstitutionDbMap

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.