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.13Modifier and Type | Class and Description |
---|---|
static class |
QueryExecutionConverters.WrapperType |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSingleValue(Class<?> type) |
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 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 isSingleValue(Class<?> type)
public static void registerConvertersIn(ConfigurableConversionService conversionService)
conversionService
- must not be null.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.