1 10 package org.mmbase.storage.search; 11 12 import java.util.List ; 13 import org.mmbase.module.core.MMObjectBuilder; 14 15 22 public interface SearchQueryHandler { 23 26 public final static int SUPPORT_NONE = 0; 27 28 31 public final static int SUPPORT_WEAK = 1; 32 33 36 public final static int SUPPORT_NORMAL = 2; 37 38 41 public final static int SUPPORT_OPTIMAL = 3; 42 43 47 public final static int FEATURE_MAX_NUMBER = 1; 48 49 53 public final static int FEATURE_OFFSET = 2; 54 55 56 60 public final static int FEATURE_REGEXP = 3; 61 62 73 public int getSupportLevel(int feature, SearchQuery query) 74 throws SearchQueryException; 75 76 87 public int getSupportLevel(Constraint constraint, SearchQuery query) 88 throws SearchQueryException; 89 90 116 public List getNodes(SearchQuery query, MMObjectBuilder builder) 117 throws SearchQueryException; 118 } 119 | Popular Tags |