Package com.yahoo.vespa.config.search
Class AttributesConfig.Attribute.Builder
java.lang.Object
com.yahoo.vespa.config.search.AttributesConfig.Attribute.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- AttributesConfig.Attribute
public static final class AttributesConfig.Attribute.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarity(int __value) build()createifnonexistent(boolean __value) densepostinglistthreshold(double __value) Make a new builder and run the supplied function on it before adding it to the listenableonlybitvector(boolean __value) fastaccess(boolean __value) fastsearch(boolean __value) imported(boolean __value) index(AttributesConfig.Attribute.Index.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listismutable(boolean __value) lowerbound(long __value) maxuncommittedmemory(long __value) paged(boolean __value) removeifzero(boolean __value) sortascending(boolean __value) sortlocale(String __value) tensortype(String __value) upperbound(long __value)
-
Field Details
-
dictionary
-
index
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
name
-
datatype
public AttributesConfig.Attribute.Builder datatype(AttributesConfig.Attribute.Datatype.Enum __value) -
collectiontype
public AttributesConfig.Attribute.Builder collectiontype(AttributesConfig.Attribute.Collectiontype.Enum __value) -
dictionary
public AttributesConfig.Attribute.Builder dictionary(AttributesConfig.Attribute.Dictionary.Builder __builder) -
dictionary
public AttributesConfig.Attribute.Builder dictionary(Consumer<AttributesConfig.Attribute.Dictionary.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
match
-
removeifzero
-
createifnonexistent
-
fastsearch
-
paged
-
ismutable
-
sortascending
-
sortfunction
public AttributesConfig.Attribute.Builder sortfunction(AttributesConfig.Attribute.Sortfunction.Enum __value) -
sortstrength
public AttributesConfig.Attribute.Builder sortstrength(AttributesConfig.Attribute.Sortstrength.Enum __value) -
sortlocale
-
enableonlybitvector
-
fastaccess
-
arity
-
lowerbound
-
upperbound
-
densepostinglistthreshold
-
tensortype
-
imported
-
maxuncommittedmemory
-
distancemetric
public AttributesConfig.Attribute.Builder distancemetric(AttributesConfig.Attribute.Distancemetric.Enum __value) -
index
-
index
public AttributesConfig.Attribute.Builder index(Consumer<AttributesConfig.Attribute.Index.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
build
-