io.polyglotted.elastic.search.QueryResponse Maven / Gradle / Ivy
package io.polyglotted.elastic.search;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.polyglotted.common.model.MapResult;
import io.polyglotted.common.util.ListBuilder.ImmutableListBuilder;
import lombok.AccessLevel;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import java.util.List;
import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY;
import static io.polyglotted.common.util.CollUtil.transformList;
import static io.polyglotted.common.util.ListBuilder.immutableListBuilder;
import static java.util.Objects.requireNonNull;
@SuppressWarnings({"unused", "WeakerAccess"})
@RequiredArgsConstructor
public final class QueryResponse {
public final ResponseHeader header;
@JsonInclude(NON_EMPTY) public final List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy