Package com.sap.conn.jco
Enum JCoCustomRepository.QueryMode
- All Implemented Interfaces:
Serializable
,Comparable<JCoCustomRepository.QueryMode>
,Constable
- Enclosing interface:
- JCoCustomRepository
Enumeration that describes all modes to control the remote queries of a custom repository.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault mode.Use this mode with care! Instead of a separated repository pool the application pool is used.This mode only looks up the Non-Unicode layout. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static JCoCustomRepository.QueryMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NON_UNICODE_LAYOUT_ONLY
This mode only looks up the Non-Unicode layout. This might be needed for design time scenarios, where the runtime layout on the line is actually not needed. -
ALL_AVAILABLE_LAYOUTS
Default mode. The repository will lookup all data layouts and behave like a standard repository. -
DISABLE_REPOSITORY_POOL
Use this mode with care! Instead of a separated repository pool the application pool is used. This would mean that the application user needs the repository authorizations. For certain exotic use cases it still might be needed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-