Package org.umlg.sqlg.sql.parse
Record Class PGRoutingDrivingDistanceConfig
java.lang.Object
java.lang.Record
org.umlg.sqlg.sql.parse.PGRoutingDrivingDistanceConfig
-
Constructor Summary
ConstructorsConstructorDescriptionPGRoutingDrivingDistanceConfig
(String name, List<Long> start_vids, boolean directed, Long distance, VertexLabel vertexLabel, EdgeLabel edgeLabel) Creates an instance of aPGRoutingDrivingDistanceConfig
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
directed()
Returns the value of thedirected
record component.distance()
Returns the value of thedistance
record component.Returns the value of theedgeLabel
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.Returns the value of thestart_vids
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thevertexLabel
record component.
-
Constructor Details
-
PGRoutingDrivingDistanceConfig
public PGRoutingDrivingDistanceConfig(String name, List<Long> start_vids, boolean directed, Long distance, VertexLabel vertexLabel, EdgeLabel edgeLabel) Creates an instance of aPGRoutingDrivingDistanceConfig
record class.- Parameters:
name
- the value for thename
record componentstart_vids
- the value for thestart_vids
record componentdirected
- the value for thedirected
record componentdistance
- the value for thedistance
record componentvertexLabel
- the value for thevertexLabel
record componentedgeLabel
- the value for theedgeLabel
record component
-
-
Method Details
-
toStartVidsString
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
start_vids
Returns the value of thestart_vids
record component.- Returns:
- the value of the
start_vids
record component
-
directed
public boolean directed()Returns the value of thedirected
record component.- Returns:
- the value of the
directed
record component
-
distance
Returns the value of thedistance
record component.- Returns:
- the value of the
distance
record component
-
vertexLabel
Returns the value of thevertexLabel
record component.- Returns:
- the value of the
vertexLabel
record component
-
edgeLabel
Returns the value of theedgeLabel
record component.- Returns:
- the value of the
edgeLabel
record component
-