Package hydra.ext.cypher.features
Class RangeLiteralFeatures
- java.lang.Object
-
- hydra.ext.cypher.features.RangeLiteralFeatures
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RangeLiteralFeatures>
public class RangeLiteralFeatures extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<RangeLiteralFeatures>
Range literals within relationship patterns- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.BooleanboundsRange literals with both lower and upper boundsstatic NameBOUNDSstatic NameEXACT_RANGEjava.lang.BooleanexactRangeRange literals providing an exact number of repetitionsstatic NameLOWER_BOUNDjava.lang.BooleanlowerBoundRange literals with a lower bound (only)static NameSTAR_RANGEjava.lang.BooleanstarRangeThe * range literalstatic NameTYPE_static NameUPPER_BOUNDjava.lang.BooleanupperBoundRange literals with an upper bound (only)
-
Constructor Summary
Constructors Constructor Description RangeLiteralFeatures(java.lang.Boolean bounds, java.lang.Boolean exactRange, java.lang.Boolean lowerBound, java.lang.Boolean starRange, java.lang.Boolean upperBound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(RangeLiteralFeatures other)booleanequals(java.lang.Object other)inthashCode()RangeLiteralFeatureswithBounds(java.lang.Boolean bounds)RangeLiteralFeatureswithExactRange(java.lang.Boolean exactRange)RangeLiteralFeatureswithLowerBound(java.lang.Boolean lowerBound)RangeLiteralFeatureswithStarRange(java.lang.Boolean starRange)RangeLiteralFeatureswithUpperBound(java.lang.Boolean upperBound)
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
-
BOUNDS
public static final Name BOUNDS
-
EXACT_RANGE
public static final Name EXACT_RANGE
-
LOWER_BOUND
public static final Name LOWER_BOUND
-
STAR_RANGE
public static final Name STAR_RANGE
-
UPPER_BOUND
public static final Name UPPER_BOUND
-
bounds
public final java.lang.Boolean bounds
Range literals with both lower and upper bounds
-
exactRange
public final java.lang.Boolean exactRange
Range literals providing an exact number of repetitions
-
lowerBound
public final java.lang.Boolean lowerBound
Range literals with a lower bound (only)
-
starRange
public final java.lang.Boolean starRange
The * range literal
-
upperBound
public final java.lang.Boolean upperBound
Range literals with an upper bound (only)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(RangeLiteralFeatures other)
- Specified by:
compareToin interfacejava.lang.Comparable<RangeLiteralFeatures>
-
withBounds
public RangeLiteralFeatures withBounds(java.lang.Boolean bounds)
-
withExactRange
public RangeLiteralFeatures withExactRange(java.lang.Boolean exactRange)
-
withLowerBound
public RangeLiteralFeatures withLowerBound(java.lang.Boolean lowerBound)
-
withStarRange
public RangeLiteralFeatures withStarRange(java.lang.Boolean starRange)
-
withUpperBound
public RangeLiteralFeatures withUpperBound(java.lang.Boolean upperBound)
-
-