io.quarkus.redis.datasource.search.SearchQueryResponse 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.Collections;
import java.util.List;
/**
* Represents the response of a {@code ft.search} command.
*/
public class SearchQueryResponse {
private final int count;
private final List documents;
public SearchQueryResponse(int count, List documents) {
this.count = count;
this.documents = Collections.unmodifiableList(documents);
}
/**
* @return the number of documents
*/
public int count() {
return count;
}
/**
* @return the documents
*/
public List documents() {
return documents;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy