Package app.ductape.sdk.graph.types
Record Class GraphTypes.TraverseOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.graph.types.GraphTypes.TraverseOptions
- Enclosing class:
- GraphTypes
-
Constructor Summary
ConstructorsConstructorDescriptionTraverseOptions(Object startNodeId, GraphTypes.TraversalDirection direction, List<String> relationshipTypes, Integer maxDepth, Integer minDepth, Map<String, Object> nodeFilter, Map<String, Object> relationshipFilter, Integer limit) Creates an instance of aTraverseOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.limit()Returns the value of thelimitrecord component.maxDepth()Returns the value of themaxDepthrecord component.minDepth()Returns the value of theminDepthrecord component.Returns the value of thenodeFilterrecord component.Returns the value of therelationshipFilterrecord component.Returns the value of therelationshipTypesrecord component.Returns the value of thestartNodeIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TraverseOptions
public TraverseOptions(Object startNodeId, GraphTypes.TraversalDirection direction, List<String> relationshipTypes, Integer maxDepth, Integer minDepth, Map<String, Object> nodeFilter, Map<String, Object> relationshipFilter, Integer limit) Creates an instance of aTraverseOptionsrecord class.- Parameters:
startNodeId- the value for thestartNodeIdrecord componentdirection- the value for thedirectionrecord componentrelationshipTypes- the value for therelationshipTypesrecord componentmaxDepth- the value for themaxDepthrecord componentminDepth- the value for theminDepthrecord componentnodeFilter- the value for thenodeFilterrecord componentrelationshipFilter- the value for therelationshipFilterrecord componentlimit- the value for thelimitrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
startNodeId
Returns the value of thestartNodeIdrecord component.- Returns:
- the value of the
startNodeIdrecord component
-
direction
Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-
relationshipTypes
Returns the value of therelationshipTypesrecord component.- Returns:
- the value of the
relationshipTypesrecord component
-
maxDepth
Returns the value of themaxDepthrecord component.- Returns:
- the value of the
maxDepthrecord component
-
minDepth
Returns the value of theminDepthrecord component.- Returns:
- the value of the
minDepthrecord component
-
nodeFilter
Returns the value of thenodeFilterrecord component.- Returns:
- the value of the
nodeFilterrecord component
-
relationshipFilter
Returns the value of therelationshipFilterrecord component.- Returns:
- the value of the
relationshipFilterrecord component
-
limit
Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-