public class CouchDBMappingBuilder<K,T extends PersistentBase> extends Object
Constructor and Description |
---|
CouchDBMappingBuilder(CouchDBStore<K,T> store)
Constructor for builder to create the mapper.
|
Modifier and Type | Method and Description |
---|---|
CouchDBMapping |
build()
Return the built mapping if it is in a legal state
|
protected void |
readMapping(String filename)
Load the
CouchDBMapping from a file
passed in parameter. |
public CouchDBMappingBuilder(CouchDBStore<K,T> store)
store
- public CouchDBMapping build()
protected void readMapping(String filename) throws IOException
CouchDBMapping
from a file
passed in parameter.filename
- path to the file holding the mappingIOException
Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.