public class GraphRowModelAdapter extends JsonAdapter implements ResultAdapter<Map<String,Object>,GraphRowModel>
CLOSE_BRACE, CLOSE_BRACKET, COLON, COMMA, mapper, OPEN_BRACE, OPEN_BRACKET, QUOTE, SPACE| Constructor and Description |
|---|
GraphRowModelAdapter() |
| 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
|
void |
setColumns(List<String> columns) |
CLOSE_ARRAY, CLOSE_OBJECT, convert, convertToIterable, KEY_VALUE, KEY_VALUES, KEY, OPEN_ARRAY, OPEN_OBJECT, OPEN_OBJECT, quoted, VALUEpublic GraphRowModel adapt(Map<String,Object> data)
adapt in interface ResultAdapter<Map<String,Object>,GraphRowModel>data - the data to transform, given as a mapRowModelCopyright © 2016 Neo Technology, Inc.. All rights reserved.