public class DefaultMessageIndexer extends java.lang.Object implements MessageIndexer
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<Tuple,java.lang.Integer> |
indexer |
| Constructor and Description |
|---|
DefaultMessageIndexer() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all partial matchings stored in memory
|
void |
delete(Tuple update) |
int |
getCount(Tuple update) |
java.util.Map<Tuple,java.lang.Integer> |
getTuples() |
void |
insert(Tuple update) |
boolean |
isEmpty() |
void |
update(Tuple update,
int delta) |
protected final java.util.Map<Tuple,java.lang.Integer> indexer
public java.util.Map<Tuple,java.lang.Integer> getTuples()
public int getCount(Tuple update)
getCount in interface MessageIndexerpublic void insert(Tuple update)
insert in interface MessageIndexerpublic void delete(Tuple update)
delete in interface MessageIndexerpublic void update(Tuple update, int delta)
update in interface MessageIndexerpublic boolean isEmpty()
isEmpty in interface MessageIndexer