public enum DbType extends Enum<DbType>
| Enum Constant and Description |
|---|
EXPIRATION |
EXTINCT_SCANS |
ID |
METADATA |
NAME |
REP_GROUP |
RESERVED_FILES |
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.
|
String |
getInternalName()
Returns the DB name for an internal DB type.
|
LogEntryType |
getLogType(boolean isTransactional)
Returns the LogEntryType for LNs in this DB, or null if the usual user
LN types should be used.
|
boolean |
isInternal()
Returns true if this is an internal DB, or false if it is a user DB.
|
boolean |
isMixedReplication()
Returns true for certain internal DBs that support a mixture of
replicated and non-replicated records.
|
boolean |
mayCreateDeletedLN()
Returns true if createDeletedLN may be called.
|
boolean |
mayCreateUpdatedLN()
Returns true if createUpdatedLN may be called.
|
static DbType |
valueOf(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 EXPIRATION
public static final DbType REP_GROUP
public static final DbType VLSN_MAP
public static final DbType SYNC
public static final DbType RESERVED_FILES
public static final DbType EXTINCT_SCANS
public static final DbType METADATA
public static final DbType USER
public static DbType[] values()
for (DbType c : DbType.values()) System.out.println(c);
public static DbType 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 boolean isInternal()
public String getInternalName()
EnvironmentFailureException - if this is not an internal DB type.public boolean isMixedReplication()
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.public LogEntryType getLogType(boolean isTransactional)
Copyright © 2024. All rights reserved.