static enum SqlShell.Format extends Enum<SqlShell.Format>
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
output(PrintWriter out,
ResultSet r) |
static SqlShell.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlShell.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlShell.Format SPACED
public static final SqlShell.Format HEADERS
public static final SqlShell.Format CSV
public static final SqlShell.Format JSON
public static final SqlShell.Format MYSQL
public static SqlShell.Format[] values()
for (SqlShell.Format c : SqlShell.Format.values()) System.out.println(c);
public static SqlShell.Format valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullprotected abstract void output(PrintWriter out, ResultSet r) throws SQLException
SQLExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.