| Package | Description |
|---|---|
| com.graphdbapi.driver.v1 |
| Modifier and Type | Method and Description |
|---|---|
Record |
StatementResult.next()
获取并移除结果流中的下一个结果
Record,请配合StatementResult.hasNext()使用 |
Record |
StatementResult.peek()
仅获取结果流中的下一条记录
|
Record |
StatementResult.single()
获取并移除结果流中的唯一一条记录
|
| Modifier and Type | Method and Description |
|---|---|
List<Record> |
StatementResult.list()
检索并存储整个结果流。 如果要多次迭代流或存储整个结果以供以后使用,可以使用此方法。
|
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
StatementResult.list(com.graphdbapi.driver.v1.util.Function<Record,T> mapFunction)
检索并存储整个结果的映射。 如果要多次迭代流或存储整个结果以供以后使用,可以使用此方法。
|
Copyright © 2024. All rights reserved.