Class AtomFeatures

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AtomFeatures>

    public class AtomFeatures
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<AtomFeatures>
    Various kinds of atomic expressions
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the hydra.cypher.features.AtomFeatures type.
      • CASE_EXPRESSION

        public static final Name CASE_EXPRESSION
        Name of the hydra.cypher.features.AtomFeatures.caseExpression field.
      • COUNT

        public static final Name COUNT
        Name of the hydra.cypher.features.AtomFeatures.count field.
      • EXISTENTIAL_SUBQUERY

        public static final Name EXISTENTIAL_SUBQUERY
        Name of the hydra.cypher.features.AtomFeatures.existentialSubquery field.
      • FUNCTION_INVOCATION

        public static final Name FUNCTION_INVOCATION
        Name of the hydra.cypher.features.AtomFeatures.functionInvocation field.
      • PARAMETER

        public static final Name PARAMETER
        Name of the hydra.cypher.features.AtomFeatures.parameter field.
      • PATTERN_COMPREHENSION

        public static final Name PATTERN_COMPREHENSION
        Name of the hydra.cypher.features.AtomFeatures.patternComprehension field.
      • PATTERN_PREDICATE

        public static final Name PATTERN_PREDICATE
        Name of the hydra.cypher.features.AtomFeatures.patternPredicate field.
      • VARIABLE

        public static final Name VARIABLE
        Name of the hydra.cypher.features.AtomFeatures.variable field.
      • caseExpression

        public final java.lang.Boolean caseExpression
        CASE expressions
      • count

        public final java.lang.Boolean count
        The COUNT (*) expression
      • existentialSubquery

        public final java.lang.Boolean existentialSubquery
        Existential subqueries
      • functionInvocation

        public final java.lang.Boolean functionInvocation
        Function invocation
      • parameter

        public final java.lang.Boolean parameter
        Parameter expressions
      • patternComprehension

        public final java.lang.Boolean patternComprehension
        Pattern comprehensions
      • patternPredicate

        public final java.lang.Boolean patternPredicate
        Relationship patterns as subexpressions
      • variable

        public final java.lang.Boolean variable
        Variable expressions (note: included by most if not all implementations).
    • Constructor Detail

      • AtomFeatures

        public AtomFeatures​(java.lang.Boolean caseExpression,
                            java.lang.Boolean count,
                            java.lang.Boolean existentialSubquery,
                            java.lang.Boolean functionInvocation,
                            java.lang.Boolean parameter,
                            java.lang.Boolean patternComprehension,
                            java.lang.Boolean patternPredicate,
                            java.lang.Boolean variable)
        Constructs an immutable AtomFeatures.
        Parameters:
        caseExpression - CASE expressions
        count - The COUNT (*) expression
        existentialSubquery - Existential subqueries
        functionInvocation - Function invocation
        parameter - Parameter expressions
        patternComprehension - Pattern comprehensions
        patternPredicate - Relationship patterns as subexpressions
        variable - Variable expressions (note: included by most if not all implementations).
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(AtomFeatures other)
        Specified by:
        compareTo in interface java.lang.Comparable<AtomFeatures>
      • withCaseExpression

        public AtomFeatures withCaseExpression​(java.lang.Boolean caseExpression)
        Returns a copy of this AtomFeatures with caseExpression replaced.
      • withCount

        public AtomFeatures withCount​(java.lang.Boolean count)
        Returns a copy of this AtomFeatures with count replaced.
      • withExistentialSubquery

        public AtomFeatures withExistentialSubquery​(java.lang.Boolean existentialSubquery)
        Returns a copy of this AtomFeatures with existentialSubquery replaced.
      • withFunctionInvocation

        public AtomFeatures withFunctionInvocation​(java.lang.Boolean functionInvocation)
        Returns a copy of this AtomFeatures with functionInvocation replaced.
      • withParameter

        public AtomFeatures withParameter​(java.lang.Boolean parameter)
        Returns a copy of this AtomFeatures with parameter replaced.
      • withPatternComprehension

        public AtomFeatures withPatternComprehension​(java.lang.Boolean patternComprehension)
        Returns a copy of this AtomFeatures with patternComprehension replaced.
      • withPatternPredicate

        public AtomFeatures withPatternPredicate​(java.lang.Boolean patternPredicate)
        Returns a copy of this AtomFeatures with patternPredicate replaced.
      • withVariable

        public AtomFeatures withVariable​(java.lang.Boolean variable)
        Returns a copy of this AtomFeatures with variable replaced.