|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.compass.core.mapping.json.builder.JsonContentMappingBuilder
public class JsonContentMappingBuilder
A builder allowing to constrcut json content mapping definition allowing to
store the actual JSON content withn the index to and be able to rebuild the
JsonObject
back from the index.
JSEM.content(String)
Field Summary | |
---|---|
(package private) JsonContentMapping |
mapping
|
Constructor Summary | |
---|---|
JsonContentMappingBuilder(String name)
Constructs a new JSON content mapping with the given name. |
Method Summary | |
---|---|
JsonContentMappingBuilder |
converter(Converter converter)
Sets the actual converter that will be used to convert the JSON content. |
JsonContentMappingBuilder |
converter(String converterName)
Sets the lookup converter name (registered with Compass) that will be used to convert the JSON content. |
JsonContentMappingBuilder |
store(Property.Store store)
Specifies whether and how a property will be stored. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final JsonContentMapping mapping
Constructor Detail |
---|
public JsonContentMappingBuilder(String name)
Method Detail |
---|
public JsonContentMappingBuilder store(Property.Store store)
Property.Store.YES
. Note, Property.Store.NO
is not valid here.
public JsonContentMappingBuilder converter(String converterName)
JsonContentMappingConverter
.
public JsonContentMappingBuilder converter(Converter converter)
JsonContentMappingConverter
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |