Package uk.co.sculptor.kflibjava
Enum Class KeyedFile.Option
- All Implemented Interfaces:
Serializable
,Comparable<KeyedFile.Option>
,Constable
- Enclosing class:
KeyedFile
KeyedFile option enumerator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAssume ascending key sequenceCreate a big file: kfOpenFile()Create an index only fileIgnore keep index closed flagsMirror this fileDon't write updates to transaction logRecreate file if it existsTemporary file: Delete on closeThrow exceptions for warnings (KfLib* client side option)The .d file specified represents a local client side file (KfLib* client side option)Use SCDATA/SAGEDATA -
Method Summary
Modifier and TypeMethodDescriptionint
getInt()
Returns The Database flag as the int value used on KfServerstatic int
getScValue
(EnumSet<KeyedFile.Option> options) Convert a EnumSet of KeyedFile options to the Sculptor value used on the server.static KeyedFile.Option
Returns the enum constant of this class with the specified name.static KeyedFile.Option[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INDEX_ONLY
Create an index only file -
BIGFILE
Create a big file: kfOpenFile() -
RECREATE
Recreate file if it exists -
KEEPIXOPEN
Ignore keep index closed flags -
NOLOG
Don't write updates to transaction log -
USE_SCDATA
Use SCDATA/SAGEDATA -
TEMPFILE
Temporary file: Delete on close -
ASC_KEY_INSERTS
Assume ascending key sequence -
MIRROR
Mirror this file -
THROW_WARNINGS
Throw exceptions for warnings (KfLib* client side option) -
USE_LOCAL_DOT_D
The .d file specified represents a local client side file (KfLib* client side option)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getScValue
Convert a EnumSet of KeyedFile options to the Sculptor value used on the server.- Parameters:
options
-KeyedFile.Option
Enumerator set- Returns:
- The Sculptor value used on KfServer.
-
getInt
public int getInt()Returns The Database flag as the int value used on KfServer- Returns:
- Database flag as the int value used on KfServer
-