Enum FromClause.JoinConditionType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FromClause.JoinConditionType>
    Enclosing class:
    FromClause

    public static enum FromClause.JoinConditionType
    extends java.lang.Enum<FromClause.JoinConditionType>
    For FROM clauses that contain join expressions, this enumeration specifies the kind of join-condition for each join expression.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      JOIN_ON_EXPR
      The join clause specifies an ON clause with an expression that must evaluate to true.
      JOIN_USING
      The join clause specifies a USING clause, which explicitly lists the shared columns whose values must be equal.
      NATURAL_JOIN
      Perform a natural join, which implicitly specifies that values in all shared columns must be equal.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private JoinConditionType()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FromClause.JoinConditionType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static FromClause.JoinConditionType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NATURAL_JOIN

        public static final FromClause.JoinConditionType NATURAL_JOIN
        Perform a natural join, which implicitly specifies that values in all shared columns must be equal.
      • JOIN_USING

        public static final FromClause.JoinConditionType JOIN_USING
        The join clause specifies a USING clause, which explicitly lists the shared columns whose values must be equal.
      • JOIN_ON_EXPR

        public static final FromClause.JoinConditionType JOIN_ON_EXPR
        The join clause specifies an ON clause with an expression that must evaluate to true.
    • Constructor Detail

      • JoinConditionType

        private JoinConditionType()
    • Method Detail

      • values

        public static FromClause.JoinConditionType[] 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 (FromClause.JoinConditionType c : FromClause.JoinConditionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FromClause.JoinConditionType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null