@Beta
public interface Indexer
message-store entries added to a MessageStore so it can later be
retrieved using MessageStore.stream(Index,String).| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
calc(Index index,
MessageStoreEntry entry)
Calculates the Index value from the message-store entry.
|
com.google.common.collect.ImmutableSet<Index> |
getIndexes()
Returns the indexes supported by this Indexer.
|
MessageStoreEntry |
index(MessageStoreEntry entry) |
boolean |
supports(Index index) |
@Nonnull com.google.common.collect.ImmutableSet<Index> getIndexes()
boolean supports(@Nonnull
Index index)
index - the Index@Nonnull
java.lang.String calc(@Nonnull
Index index,
@Nonnull
MessageStoreEntry entry)
index - the Indexentry - the MessageStoreEntry@Nonnull MessageStoreEntry index(@Nonnull MessageStoreEntry entry)