Package org.neo4j.ogm.result.adapter
Class GraphRowModelAdapter
java.lang.Object
org.neo4j.ogm.result.adapter.GraphRowModelAdapter
- All Implemented Interfaces:
ResultAdapter<Map<String,Object>, GraphRowModel>
public class GraphRowModelAdapter
extends Object
implements ResultAdapter<Map<String,Object>,GraphRowModel>
This adapter will transform an embedded response into a json response
- Author:
- Vince Bickers, Michael J. Simons
-
Field Summary
Fields inherited from interface org.neo4j.ogm.result.adapter.ResultAdapter
PATTERN_COMPREHENSION_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReads the next row from the result object and transforms it into a RowModel objectvoidsetColumns(List<String> columns)
-
Constructor Details
-
GraphRowModelAdapter
-
-
Method Details
-
adapt
Reads the next row from the result object and transforms it into a RowModel object- Specified by:
adaptin interfaceResultAdapter<Map<String,Object>, GraphRowModel> - Parameters:
data- the data to transform, given as a map- Returns:
- the data transformed to an
RowModel
-
setColumns
-