org.compass.core.mapping.json
Class JsonContentMapping
java.lang.Object
org.compass.core.mapping.support.AbstractMapping
org.compass.core.mapping.support.AbstractResourcePropertyMapping
org.compass.core.mapping.json.JsonContentMapping
- All Implemented Interfaces:
- InternalResourcePropertyMapping, JsonMapping, Mapping, ResourcePropertyMapping
public class JsonContentMapping
- extends AbstractResourcePropertyMapping
- implements ResourcePropertyMapping, JsonMapping
- Author:
- kimchy
| Methods inherited from class org.compass.core.mapping.support.AbstractResourcePropertyMapping |
copy, getAnalyzer, getBoost, getExcludeFromAll, getNullValue, getReverse, getRootAlias, getSpellCheck, getStore, 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, getStore, getTermVector, hasNullValue, isInternal, isOmitNorms, isOmitTf |
JsonContentMapping
public JsonContentMapping()
getFullPath
public String getFullPath()
- Description copied from interface:
JsonMapping
- Returns a dot path to the mapping from the root.
- Specified by:
getFullPath in interface JsonMapping
setFullPath
public void setFullPath(String fullPath)
- Specified by:
setFullPath in interface JsonMapping
getIndex
public Property.Index getIndex()
- JSON content mapping is always
Property.Index.NO.
- Specified by:
getIndex in interface ResourcePropertyMapping- Overrides:
getIndex in class AbstractResourcePropertyMapping
isExcludeFromAll
public boolean isExcludeFromAll()
- Xml content mapping is always excluded from all
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
getResourcePropertyConverter
public ResourcePropertyConverter getResourcePropertyConverter()
- Specified by:
getResourcePropertyConverter in interface ResourcePropertyMapping
Copyright (c) 2004-2008 The Compass Project.