public abstract class GraphRowModelAdapter extends Object implements ResultAdapter<Map<String,Object>,GraphRowModel>
| Constructor and Description |
|---|
GraphRowModelAdapter(GraphModelAdapter graphModelAdapter) |
| Modifier and Type | Method and Description |
|---|---|
GraphRowModel |
adapt(Map<String,Object> data)
Reads the next row from the result object and transforms it into a RowModel object
|
protected void |
adapt(Object element,
GraphModel graphModel,
List<Object> values,
Set<Long> nodeIdentities,
Set<Long> edgeIdentities) |
void |
setColumns(List<String> columns) |
public GraphRowModelAdapter(GraphModelAdapter graphModelAdapter)
public GraphRowModel adapt(Map<String,Object> data)
adapt in interface ResultAdapter<Map<String,Object>,GraphRowModel>data - the data to transform, given as a mapRowModelprotected void adapt(Object element, GraphModel graphModel, List<Object> values, Set<Long> nodeIdentities, Set<Long> edgeIdentities)
Copyright © 2015–2019 Neo Technology, Inc.. All rights reserved.