1 5 package com.jofti.core; 6 7 import java.util.Map ; 8 9 import com.jofti.api.IndexQuery; 10 import com.jofti.exception.JoftiException; 11 import com.jofti.introspect.ClassIntrospector; 12 import com.jofti.parser.ParserManager; 13 14 22 public interface InternalIndex { 23 24 32 public void insert(Object key, Object value) throws IllegalArgumentException , JoftiException; 33 34 35 public void insertEntry(Object key, Object value) throws IllegalArgumentException , JoftiException; 36 37 45 public void remove(Object key, Object value) throws IllegalArgumentException , JoftiException; 46 47 54 public void removeByKey(Object key) throws JoftiException; 55 56 57 63 public Map getAttributesByKey(Object key) throws JoftiException; 64 65 71 72 public boolean contains(Object key) throws JoftiException; 73 74 75 81 public Map getEntries(Object key) throws JoftiException; 82 83 87 public void removeAll() throws JoftiException; 88 89 102 public Map query(IndexQuery query) throws JoftiException; 103 104 105 106 public long getKeyNumber(); 107 108 public ClassIntrospector getIntrospector(); 109 110 111 115 public ParserManager getParserManager(); 116 117 118 119 120 } 121 | Popular Tags |