Class Result

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Result>
    Direct Known Subclasses:
    Result.NullLiteral, Result.Simple

    public abstract class Result
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<Result>
    A GQL result: one of several alternative forms
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the openGql.grammar.Result type.
      • SIMPLE

        public static final Name SIMPLE
        Name of the openGql.grammar.Result.simple field.
      • NULL_LITERAL

        public static final Name NULL_LITERAL
        Name of the openGql.grammar.Result.nullLiteral field.
    • Method Detail

      • accept

        public abstract <R> R accept​(Result.Visitor<R> visitor)
        Dispatch to visitor.
      • hydraOrdinal

        public abstract int hydraOrdinal()