Package hydra.cypher.features
Class PathFeatures
- java.lang.Object
-
- hydra.cypher.features.PathFeatures
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PathFeatures>
public class PathFeatures extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PathFeatures>
Path functions only found in OpenCypher- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPathFeatures.BuilderA fluent builder forPathFeatures.
-
Field Summary
Fields Modifier and Type Field Description static NameSHORTEST_PATHName of thehydra.cypher.features.PathFeatures.shortestPathfield.java.lang.BooleanshortestPathThe shortestPath() functionstatic NameTYPE_Name of thehydra.cypher.features.PathFeaturestype.
-
Constructor Summary
Constructors Constructor Description PathFeatures(java.lang.Boolean shortestPath)Constructs an immutablePathFeatures.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PathFeatures.Builderbuilder()Creates a new fluent builder forPathFeatures.intcompareTo(PathFeatures other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.cypher.features.PathFeaturestype.
-
SHORTEST_PATH
public static final Name SHORTEST_PATH
Name of thehydra.cypher.features.PathFeatures.shortestPathfield.
-
shortestPath
public final java.lang.Boolean shortestPath
The shortestPath() function
-
-
Constructor Detail
-
PathFeatures
public PathFeatures(java.lang.Boolean shortestPath)
Constructs an immutablePathFeatures.- Parameters:
shortestPath- The shortestPath() function
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(PathFeatures other)
- Specified by:
compareToin interfacejava.lang.Comparable<PathFeatures>
-
builder
public static PathFeatures.Builder builder()
Creates a new fluent builder forPathFeatures.
-
-