Package com.yahoo.search
Class Query.Builder
java.lang.Object
com.yahoo.search.Query.Builder
- Enclosing class:
- Query
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a new query from this builder.com.yahoo.language.process.Embedder
Returns the query profile of this query, or null if none.com.yahoo.container.jdisc.HttpRequest
ai.vespa.cloud.ZoneInfo
setEmbedder
(com.yahoo.language.process.Embedder embedder) setEmbedders
(Map<String, com.yahoo.language.process.Embedder> embedders) setQueryProfile
(CompiledQueryProfile queryProfile) setRequest
(com.yahoo.container.jdisc.HttpRequest request) setRequest
(String query) setRequestMap
(Map<String, String> requestMap) Sets the request mao to use explicitly.setSchemaInfo
(SchemaInfo schemaInfo) setZoneInfo
(ai.vespa.cloud.ZoneInfo zoneInfo)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setRequest
-
setRequest
-
getRequest
public com.yahoo.container.jdisc.HttpRequest getRequest() -
setRequestMap
Sets the request mao to use explicitly. If not set, the request map will be getRequest().propertyMap() -
getRequestMap
-
setQueryProfile
-
getQueryProfile
Returns the query profile of this query, or null if none. -
setEmbedder
-
setEmbedders
-
getEmbedder
public com.yahoo.language.process.Embedder getEmbedder() -
getEmbedders
-
setZoneInfo
-
getZoneInfo
public ai.vespa.cloud.ZoneInfo getZoneInfo() -
setSchemaInfo
-
getSchemaInfo
-
build
Creates a new query from this builder. No properties are required to before calling this.
-