Package co.luminositylabs.utils.orientdb
Enum OrientDBUtil.Engine
- java.lang.Object
-
- java.lang.Enum<OrientDBUtil.Engine>
-
- co.luminositylabs.utils.orientdb.OrientDBUtil.Engine
-
- All Implemented Interfaces:
Serializable,Comparable<OrientDBUtil.Engine>
- Enclosing class:
- OrientDBUtil
public static enum OrientDBUtil.Engine extends Enum<OrientDBUtil.Engine>
Enumerates the supported OrientDB engines.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OrientDBUtil.EnginefromString(String engineName)Returns the enumerated value equivalent to the specified engine name.StringtoStringValue()Returns the string value equivalent to the enumerated value.static OrientDBUtil.EnginevalueOf(String name)Returns the enum constant of this type with the specified name.static OrientDBUtil.Engine[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLOCAL
public static final OrientDBUtil.Engine PLOCAL
"paged local" engine.
-
REMOTE
public static final OrientDBUtil.Engine REMOTE
The remote engine.
-
-
Method Detail
-
values
public static OrientDBUtil.Engine[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OrientDBUtil.Engine c : OrientDBUtil.Engine.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrientDBUtil.Engine valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
toStringValue
public String toStringValue()
Returns the string value equivalent to the enumerated value.- Returns:
- the string value
-
fromString
public static OrientDBUtil.Engine fromString(String engineName)
Returns the enumerated value equivalent to the specified engine name.- Parameters:
engineName- the engine name- Returns:
- the enumerated value
-
-