public abstract class QueryExecutionConverters extends Object
java.util.Optional
com.google.common.base.Optional
scala.Option
- as of 1.12java.util.concurrent.Future
java.util.concurrent.CompletableFuture
org.springframework.util.concurrent.ListenableFuture<
javaslang.control.Option
- as of 1.13ReactiveWrappers
ReactiveWrappers
Modifier and Type | Method and Description |
---|---|
static void |
registerConvertersIn(ConfigurableConversionService conversionService)
Registers converters for wrapper types found on the classpath.
|
static boolean |
supports(Class<?> type)
Returns whether the given type is a supported wrapper type.
|
static boolean |
supportsUnwrapping(Class<?> type)
Returns whether the given wrapper type supports unwrapping.
|
static Object |
unwrap(Object source)
Unwraps the given source value in case it's one of the currently supported wrapper types detected at runtime.
|
public static boolean supports(Class<?> type)
type
- must not be null.public static boolean supportsUnwrapping(Class<?> type)
type
- must not be null.public static void registerConvertersIn(ConfigurableConversionService conversionService)
conversionService
- must not be null.Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.