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.Serializable
Range literals within relationship patterns- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Boolean
bounds
Range literals with both lower and upper boundsjava.lang.Boolean
exactRange
Range literals providing an exact number of repetitionsstatic Name
FIELD_NAME_BOUNDS
static Name
FIELD_NAME_EXACT_RANGE
static Name
FIELD_NAME_LOWER_BOUND
static Name
FIELD_NAME_STAR_RANGE
static Name
FIELD_NAME_UPPER_BOUND
java.lang.Boolean
lowerBound
Range literals with a lower bound (only)java.lang.Boolean
starRange
The * range literalstatic Name
TYPE_NAME
java.lang.Boolean
upperBound
Range 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 boolean
equals(java.lang.Object other)
int
hashCode()
RangeLiteralFeatures
withBounds(java.lang.Boolean bounds)
RangeLiteralFeatures
withExactRange(java.lang.Boolean exactRange)
RangeLiteralFeatures
withLowerBound(java.lang.Boolean lowerBound)
RangeLiteralFeatures
withStarRange(java.lang.Boolean starRange)
RangeLiteralFeatures
withUpperBound(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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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)
-
-