Package hydra.ext.cypher.features
Class RangeLiteralFeatures
- java.lang.Object
-
- hydra.ext.cypher.features.RangeLiteralFeatures
-
- All Implemented Interfaces:
java.io.Serializable
public class RangeLiteralFeatures extends java.lang.Object implements java.io.SerializableRange 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 boundsjava.lang.BooleanexactRangeRange literals providing an exact number of repetitionsstatic NameFIELD_NAME_BOUNDSstatic NameFIELD_NAME_EXACT_RANGEstatic NameFIELD_NAME_LOWER_BOUNDstatic NameFIELD_NAME_STAR_RANGEstatic NameFIELD_NAME_UPPER_BOUNDjava.lang.BooleanlowerBoundRange literals with a lower bound (only)java.lang.BooleanstarRangeThe * range literalstatic NameTYPE_NAMEjava.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 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_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_BOUNDS
public static final Name FIELD_NAME_BOUNDS
-
FIELD_NAME_EXACT_RANGE
public static final Name FIELD_NAME_EXACT_RANGE
-
FIELD_NAME_LOWER_BOUND
public static final Name FIELD_NAME_LOWER_BOUND
-
FIELD_NAME_STAR_RANGE
public static final Name FIELD_NAME_STAR_RANGE
-
FIELD_NAME_UPPER_BOUND
public static final Name FIELD_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
-
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)
-
-