Package | Description |
---|---|
com.datastax.dse.driver.api.core.graph | |
com.datastax.dse.driver.internal.core.graph |
Modifier and Type | Method and Description |
---|---|
GraphNode |
GraphNode.getByIndex(int index)
Returns the element at the given index as a node.
|
GraphNode |
GraphNode.getByKey(Object key)
Returns the value for the given key as a node.
|
default GraphNode |
GraphResultSet.one()
Returns the next node, or
null if the result set is exhausted. |
default GraphNode |
AsyncGraphResultSet.one()
Returns the next node, or
null if the result set is exhausted. |
Modifier and Type | Method and Description |
---|---|
default List<GraphNode> |
GraphResultSet.all()
Returns all the remaining nodes as a list; not recommended for paginated queries that return
a large number of nodes.
|
Iterable<GraphNode> |
AsyncGraphResultSet.currentPage()
The nodes in the current page.
|
Modifier and Type | Class and Description |
---|---|
class |
LegacyGraphNode
Legacy implementation for GraphSON 1 results.
|
class |
ObjectGraphNode
Modern implementation for GraphSON 2+ results.
|
Modifier and Type | Method and Description |
---|---|
GraphNode |
ObjectGraphNode.getByIndex(int index) |
GraphNode |
ObjectGraphNode.getByKey(Object key) |
Modifier and Type | Method and Description |
---|---|
Iterable<GraphNode> |
DefaultAsyncGraphResultSet.currentPage() |
Iterator<GraphNode> |
SinglePageGraphResultSet.iterator() |
Constructor and Description |
---|
DefaultAsyncGraphResultSet(GraphExecutionInfo executionInfo,
Queue<GraphNode> data) |
Copyright © 2017–2019. All rights reserved.