public class StorageDecorator extends Object
Modifier and Type | Method and Description |
---|---|
AssocModelImpl |
fetchAssoc(String key,
Object value)
Retrieves a single assoc by exact value.
|
TopicModelImpl |
fetchTopic(String key,
Object value)
Retrieves a single topic by exact value (case-sensitive).
|
TopicModelImpl |
queryTopicFulltext(String key,
Object value)
Retrieves a single topic by fulltext search (case-insensitive).
|
public TopicModelImpl fetchTopic(String key, Object value)
null
if no such topic exists.RuntimeException
- if more than one topic exists.public TopicModelImpl queryTopicFulltext(String key, Object value)
null
if no such topic exists.RuntimeException
- if more than one topic exists.public AssocModelImpl fetchAssoc(String key, Object value)
null
if no such assoc exists.RuntimeException
- if more than one assoc exists.Copyright © 2023. All Rights Reserved.