public enum DbType extends java.lang.Enum<DbType>
| Enum Constant and Description |
|---|
ID |
NAME |
REP_GROUP |
SYNC |
USER |
UTILIZATION |
VLSN_MAP |
| Modifier and Type | Method and Description |
|---|---|
LN |
createDeletedLN(EnvironmentImpl envImpl)
Creates a deleted LN for use in an optimization in CursorImpl.delete.
|
LN |
createUpdatedLN(EnvironmentImpl envImpl,
byte[] newData)
Creates an updated LN for use in an optimization in
CursorImpl.putCurrentAlreadyLatchedAndLocked.
|
java.lang.String |
getInternalName()
Returns the DB name for an internal DB type.
|
boolean |
isInternal()
Returns true if this is an internal DB, or false if it is a user DB.
|
boolean |
mayCreateDeletedLN()
Returns true if createDeletedLN may be called.
|
boolean |
mayCreateUpdatedLN()
Returns true if createUpdatedLN may be called.
|
static DbType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DbType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbType ID
public static final DbType NAME
public static final DbType UTILIZATION
public static final DbType REP_GROUP
public static final DbType VLSN_MAP
public static final DbType SYNC
public static final DbType USER
public static DbType[] values()
for (DbType c : DbType.values()) System.out.println(c);
public static DbType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isInternal()
public java.lang.String getInternalName()
EnvironmentFailureException - if this is not an internal DB type.public boolean mayCreateUpdatedLN()
public LN createUpdatedLN(EnvironmentImpl envImpl, byte[] newData)
EnvironmentFailureException - if this is not allowed.public boolean mayCreateDeletedLN()
public LN createDeletedLN(EnvironmentImpl envImpl)
EnvironmentFailureException - if this is not allowed.Copyright (c) 2004-2012 Oracle. All rights reserved.