Package com.cetsoft.imcache.cache.search.index

Examples of com.cetsoft.imcache.cache.search.index.IndexNotFoundException


   * @return the list
   */
  protected List<Object> executeArithmetic(ArithmeticCriteria arithmeticCriteria) {
    CacheIndex cacheIndex = indexes.get(arithmeticCriteria.getAttributeName());
    if (cacheIndex == null) {
      throw new IndexNotFoundException();
    }
    return arithmeticCriteria.meets(cacheIndex);
  }
View Full Code Here


  protected List<Object> execute(Criteria criteria){
    if(criteria instanceof ArithmeticCriteria){
      ArithmeticCriteria arithmeticCriteria = ((ArithmeticCriteria)criteria);
      CacheIndex cacheIndex = indexes.get(arithmeticCriteria.getAttributeName());
      if(cacheIndex==null){
        throw new IndexNotFoundException();
      }
      return arithmeticCriteria.meets(cacheIndex);
    }
    else{
      if(criteria instanceof AndCriteria){
View Full Code Here

TOP

Related Classes of com.cetsoft.imcache.cache.search.index.IndexNotFoundException

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.