com.amazon.redshift.jdbc.AutoSave Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redshift-jdbc42 Show documentation
Show all versions of redshift-jdbc42 Show documentation
Java JDBC 4.2 (JRE 8+) driver for Redshift database
/*
* Copyright (c) 2005, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package com.amazon.redshift.jdbc;
public enum AutoSave {
NEVER,
ALWAYS,
CONSERVATIVE;
private final String value;
AutoSave() {
value = this.name().toLowerCase();
}
public String value() {
return value;
}
public static AutoSave of(String value) {
return valueOf(value.toUpperCase());
}
}