Class LongFieldMapping.Builder
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping.Builder
-
- com.atlassian.confluence.plugins.index.api.mapping.LongFieldMapping.Builder
-
- Enclosing class:
- LongFieldMapping
public static class LongFieldMapping.Builder extends AbstractFieldMapping.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongFieldMapping
build()
LongFieldMapping.Builder
index(boolean indexed)
LongFieldMapping.Builder
store(boolean stored)
-
-
-
Constructor Detail
-
Builder
public Builder(String name)
-
-
Method Detail
-
store
public LongFieldMapping.Builder store(boolean stored)
- Overrides:
store
in classAbstractFieldMapping.Builder
- Parameters:
stored
- If true, the field will store the original value so that it can be retrieved. Default = false, i.e. the field can only be searched.- Returns:
- this builder
-
index
public LongFieldMapping.Builder index(boolean indexed)
- Overrides:
index
in classAbstractFieldMapping.Builder
- Parameters:
indexed
- If true (default), the field will be indexed so that it can be searched- Returns:
- this builder
-
build
public LongFieldMapping build()
- Specified by:
build
in classAbstractFieldMapping.Builder
- Returns:
- a newly created mapping
-
-