Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
|
org.springframework.data.redis.connection.convert |
Redis specific converters used for sending data and parsing responses.
|
org.springframework.data.redis.core |
Core package for integrating Redis with Spring concepts.
|
org.springframework.data.redis.support.atomic |
Small toolkit mirroring the
java.util.atomic package in Redis. |
org.springframework.data.redis.support.collections |
Package providing implementations for most of the
java.util collections on top of Redis. |
Modifier and Type | Method and Description |
---|---|
static DataType |
DataType.fromCode(String code)
Utility method for converting an enum code to an actual enum.
|
DataType |
RedisKeyCommands.type(byte[] key)
Determine the type stored at
key . |
default DataType |
DefaultedRedisConnection.type(byte[] pattern)
Deprecated.
in favor of
RedisConnection.keyCommands() . |
DataType |
DefaultStringRedisConnection.type(byte[] key) |
DataType |
StringRedisConnection.type(String key)
Determine the type stored at
key . |
DataType |
DefaultStringRedisConnection.type(String key) |
static DataType |
DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Mono<DataType> |
ReactiveKeyCommands.type(ByteBuffer key)
Determine the type stored at key.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,DataType>> |
ReactiveKeyCommands.type(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> keys)
Determine the type stored at key.
|
Modifier and Type | Method and Description |
---|---|
DataType |
StringToDataTypeConverter.convert(String source) |
static DataType |
Converters.toDataType(String source) |
Modifier and Type | Method and Description |
---|---|
static Converter<String,DataType> |
Converters.stringToDataType() |
Modifier and Type | Method and Description |
---|---|
DataType |
BoundKeyOperations.getType()
Returns the associated Redis type.
|
DataType |
RedisTemplate.type(K key) |
DataType |
RedisOperations.type(K key)
Determine the type stored at
key . |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<DataType> |
ReactiveRedisOperations.type(K key)
Determine the type stored at
key . |
reactor.core.publisher.Mono<DataType> |
ReactiveRedisTemplate.type(K key) |
Modifier and Type | Method and Description |
---|---|
DataType |
RedisAtomicDouble.getType() |
DataType |
RedisAtomicLong.getType() |
DataType |
RedisAtomicInteger.getType() |
Modifier and Type | Method and Description |
---|---|
DataType |
DefaultRedisMap.getType() |
DataType |
DefaultRedisZSet.getType() |
DataType |
DefaultRedisSet.getType() |
DataType |
DefaultRedisList.getType() |
DataType |
RedisProperties.getType() |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.