public enum EnumLogLevel extends Enum<EnumLogLevel>
Enum Constant and Description |
---|
AUTOCOMMIT
Disabled log with enabled row-by-row autocommit.
|
DISABLED
Disable log.
|
STATEMENT_LEVEL
Enable statement level log and row-by-row autocommit.
|
TRANSACTION_LEVEL
Enable transaction level log.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAutocommit()
Returns autocommit settings for the selected transaction log level.
|
int |
getBits()
Returns the corresponding bits parameter for Virtuoso log_level() function.
|
static EnumLogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumLogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumLogLevel DISABLED
public static final EnumLogLevel AUTOCOMMIT
public static final EnumLogLevel TRANSACTION_LEVEL
public static final EnumLogLevel STATEMENT_LEVEL
public static EnumLogLevel[] values()
for (EnumLogLevel c : EnumLogLevel.values()) System.out.println(c);
public static EnumLogLevel 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 nullpublic int getBits()
public boolean getAutocommit()
Copyright © 2013. All Rights Reserved.