java.lang.Object
org.neo4j.cypherdsl.core.Hint
- All Implemented Interfaces:
Visitable
Visitable implementing hints. See
ExposesHints.- Since:
- 2021.0.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionvoidstatic HintuseIndexFor(boolean seek, Property... properties) Creates an index hint.static HintuseJoinOn(SymbolicName... name) Creates a join hint on one or more symbolic names.static HintuseScanFor(Node node) Creates an index scan hint.
-
Method Details
-
useIndexFor
Creates an index hint. Mostly useful when building elements outside the fluent DSL.- Parameters:
seek- Set to true to use the index for seeks onlyproperties- The properties to use in the index, must know their container- Returns:
- A hint
- Since:
- 2021.2.3
-
useScanFor
Creates an index scan hint. Mostly useful when building elements outside the fluent DSL.- Parameters:
node- The node who's label and name should be used to define the scan hint- Returns:
- A hint
- Since:
- 2021.2.3
-
useJoinOn
Creates a join hint on one or more symbolic names.- Parameters:
name- The names that are supposed to provide the join point- Returns:
- A hint
- Since:
- 2021.2.3
-
accept
Description copied from interface:Visitable
-