Enum QueryNodeType

    • Enum Constant Detail

      • QUERY_SEGMENT

        public static final QueryNodeType QUERY_SEGMENT
        segment query
      • QUERY_GROUP

        public static final QueryNodeType QUERY_GROUP
        group query
      • QUERY_SEQUENCE

        public static final QueryNodeType QUERY_SEQUENCE
        sequence query
      • QUERY_DISJUNCTION

        public static final QueryNodeType QUERY_DISJUNCTION
        or query
      • QUERY_WITH_WITHIN

        public static final QueryNodeType QUERY_WITH_WITHIN
        query with within part
      • EXPRESSION

        public static final QueryNodeType EXPRESSION
        simple expression
      • EXPRESSION_WILDCARD

        public static final QueryNodeType EXPRESSION_WILDCARD
        wildcard expression
      • EXPRESSION_GROUP

        public static final QueryNodeType EXPRESSION_GROUP
        group expression
      • EXPRESSION_OR

        public static final QueryNodeType EXPRESSION_OR
        or expression
      • EXPRESSION_AND

        public static final QueryNodeType EXPRESSION_AND
        and expression
      • EXPRESSION_NOT

        public static final QueryNodeType EXPRESSION_NOT
        not expression
      • SIMPLE_WITHIN

        public static final QueryNodeType SIMPLE_WITHIN
        simple within part
    • Method Detail

      • values

        public static QueryNodeType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (QueryNodeType c : QueryNodeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QueryNodeType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null