public class PropertyMapping extends TypeMapping
Constructor and Description |
---|
PropertyMapping() |
Modifier and Type | Method and Description |
---|---|
void |
addField(String name,
PropertyMapping mapping) |
String |
getAnalyzer() |
Float |
getBoost() |
Boolean |
getDocValues() |
Map<String,PropertyMapping> |
getFields() |
List<String> |
getFormat() |
IndexType |
getIndex() |
com.google.gson.JsonPrimitive |
getNullValue() |
Boolean |
getStore() |
DataType |
getType() |
void |
removeField(String name) |
void |
setAnalyzer(String analyzer) |
void |
setBoost(Float boost) |
void |
setDocValues(Boolean docValues) |
void |
setFormat(List<String> format) |
void |
setIndex(IndexType index) |
void |
setNullValue(com.google.gson.JsonPrimitive nullValue) |
void |
setStore(Boolean store) |
void |
setType(DataType type) |
String |
toString() |
addProperty, getDynamic, getProperties, removeProperty, setDynamic
public DataType getType()
public void setType(DataType type)
public Float getBoost()
public void setBoost(Float boost)
public IndexType getIndex()
public void setIndex(IndexType index)
public Boolean getDocValues()
public void setDocValues(Boolean docValues)
public Boolean getStore()
public void setStore(Boolean store)
public com.google.gson.JsonPrimitive getNullValue()
public void setNullValue(com.google.gson.JsonPrimitive nullValue)
public Map<String,PropertyMapping> getFields()
public void addField(String name, PropertyMapping mapping)
public void removeField(String name)
public String getAnalyzer()
public void setAnalyzer(String analyzer)
public String toString()
toString
in class TypeMapping
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved