Added setter for properties in the Neo4JItemReader

This commit is contained in:
Michael Minella
2015-02-19 17:24:25 -06:00
parent 4839102ed5
commit 5fdcc4d272
2 changed files with 43 additions and 13 deletions

View File

@@ -85,6 +85,15 @@ InitializingBean {
setName(ClassUtils.getShortName(Neo4jItemReader.class));
}
/**
* Optional parameters to be used in the cypher query.
*
* @param parameterValues the parameter values to be used in the cypher query
*/
public void setParameterValues(Map<String, Object> parameterValues) {
this.parameterValues = parameterValues;
}
/**
* The start segment of the cypher query. START is prepended
* to the statement provided and should <em>not</em> be