@API(status=INTERNAL,
since="6.0")
public final class CypherAdapterUtils
extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.neo4j.cypherdsl.core.StatementBuilder.BuildableStatement |
addPagingParameter(NodeDescription<?> nodeDescription,
Pageable pageable,
org.neo4j.cypherdsl.core.StatementBuilder.OngoingReadingAndReturn returning) |
static Function<Sort.Order,org.neo4j.cypherdsl.core.SortItem> |
sortAdapterFor(NodeDescription<?> nodeDescription)
Maps Spring Datas
Sort.Order to a SortItem. |
static org.neo4j.cypherdsl.core.SortItem[] |
toSortItems(NodeDescription<?> nodeDescription,
Sort sort)
Converts a Spring Data sort to an equivalent list of
sort items. |
public static Function<Sort.Order,org.neo4j.cypherdsl.core.SortItem> sortAdapterFor(NodeDescription<?> nodeDescription)
nodeDescription - NodeDescription to get properties for sorting from.public static org.neo4j.cypherdsl.core.SortItem[] toSortItems(NodeDescription<?> nodeDescription, Sort sort)
sort items.nodeDescription - The node description to map the propertiessort - The sort object to convertpublic static org.neo4j.cypherdsl.core.StatementBuilder.BuildableStatement addPagingParameter(NodeDescription<?> nodeDescription, Pageable pageable, org.neo4j.cypherdsl.core.StatementBuilder.OngoingReadingAndReturn returning)
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.