io.quarkus.redis.datasource.search.SynDumpResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-redis-client Show documentation
Show all versions of quarkus-redis-client Show documentation
Connect to Redis in either imperative or reactive style
package io.quarkus.redis.datasource.search;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Represents the response of a {@code ft.syndump} command.
*/
public class SynDumpResponse {
private final Map> response;
public SynDumpResponse(Map> response) {
this.response = response;
}
/**
* Gets the list of synonyms.
*
* @param word the group name
* @return the list
*/
public List synonym(String word) {
return response.get(word);
}
/**
* @return the name of the groups.
*/
public Set groups() {
return response.keySet();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy