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.13javaslang.collection.Seq
, javaslang.collection.Map
, javaslang.collection.Set
- as of
1.13ReactiveWrappers
- as of 2.0ReactiveWrappers
Modifier and Type | Class and Description |
---|---|
static class |
QueryExecutionConverters.WrapperType |
Modifier and Type | Method and Description |
---|---|
static Set<Class<?>> |
getAllowedPageableTypes()
Returns the types that are supported on paginating query methods.
|
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 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 boolean isSingleValue(Class<?> type)
public static Set<Class<?>> getAllowedPageableTypes()
public static void registerConvertersIn(ConfigurableConversionService conversionService)
conversionService
- must not be null.Copyright © 2011-2016–2017 Pivotal Software, Inc.. All rights reserved.