Package org.sqlite

Enum SQLiteConfig.Pragma

    • Field Detail

      • pragmaName

        public final java.lang.String pragmaName
      • choices

        public final java.lang.String[] choices
      • description

        public final java.lang.String description
    • Constructor Detail

      • Pragma

        private Pragma​(java.lang.String pragmaName)
      • Pragma

        private Pragma​(java.lang.String pragmaName,
                       java.lang.String[] choices)
      • Pragma

        private Pragma​(java.lang.String pragmaName,
                       java.lang.String description,
                       java.lang.String[] choices)
    • Method Detail

      • values

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

        public static SQLiteConfig.Pragma 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
      • getPragmaName

        public final java.lang.String getPragmaName()