org.compass.core.mapping.json
Class JsonBoostPropertyMapping
java.lang.Object
org.compass.core.mapping.support.AbstractMapping
org.compass.core.mapping.support.AbstractResourcePropertyMapping
org.compass.core.mapping.json.JsonPropertyMapping
org.compass.core.mapping.json.JsonBoostPropertyMapping
- All Implemented Interfaces:
- BoostPropertyMapping, InternalResourcePropertyMapping, JsonMapping, Mapping, OverrideByNameMapping, ResourcePropertyMapping
public class JsonBoostPropertyMapping
- extends JsonPropertyMapping
- implements BoostPropertyMapping
- Author:
- kimchy
| Methods inherited from class org.compass.core.mapping.json.JsonPropertyMapping |
copy, getFormat, getFullPath, getNamingType, getResourcePropertyConverter, getValueConverter, getValueConverterName, isOverrideByName, setFormat, setFullPath, setNamingType, setOverrideByName, setValueConverter, setValueConverterName |
| Methods inherited from class org.compass.core.mapping.support.AbstractResourcePropertyMapping |
copy, getAnalyzer, getBoost, getExcludeFromAll, getNullValue, getReverse, getRootAlias, getSpellCheck, getTermVector, hasNullValue, isInternal, isOmitNorms, isOmitTf, setAnalyzer, setBoost, setExcludeFromAll, setIndex, setInternal, setNullValue, setOmitNorms, setOmitTf, setReverse, setRootAlias, setSpellCheck, setStore, setTermVector |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.compass.core.mapping.ResourcePropertyMapping |
getAnalyzer, getBoost, getExcludeFromAll, getNullValue, getReverse, getRootAlias, getSpellCheck, getTermVector, hasNullValue, isInternal, isOmitNorms, isOmitTf |
JsonBoostPropertyMapping
public JsonBoostPropertyMapping()
copy
public Mapping copy()
- Description copied from interface:
Mapping
- Copies over the mapping definition into a newly instanciated Mapping object.
- Specified by:
copy in interface Mapping- Overrides:
copy in class JsonPropertyMapping
getBoostResourcePropertyName
public String getBoostResourcePropertyName()
- Specified by:
getBoostResourcePropertyName in interface BoostPropertyMapping
getDefaultBoost
public float getDefaultBoost()
- Specified by:
getDefaultBoost in interface BoostPropertyMapping
setDefaultBoost
public void setDefaultBoost(float defaultBoost)
getIndex
public Property.Index getIndex()
- Specified by:
getIndex in interface ResourcePropertyMapping- Overrides:
getIndex in class AbstractResourcePropertyMapping
getStore
public Property.Store getStore()
- Specified by:
getStore in interface ResourcePropertyMapping- Overrides:
getStore in class AbstractResourcePropertyMapping
Copyright (c) 2004-2008 The Compass Project.