クラス LettuceConverters
java.lang.ObjectSE
org.springframework.data.redis.connection.convert.Converters
org.springframework.data.redis.connection.lettuce.LettuceConverters
Lettuce 型のコンバーター
- 作成者:
- Jennifer Hickey, Christoph Strobl, Thomas Darimont, Mark Paluch, Ninad Divadkar, dengliming, Chris Bono, Vikas Garg, John Blum, Roman Osadchuk
フィールドサマリー
フィールド修飾子と型フィールド説明static final byte[]
static final byte[]
static final byte[]
static final byte[]
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明static Converter<SetSE<byte[]>,
GeoResults<RedisGeoCommands.GeoLocation<byte[]>>> static Point
geoCoordinatesToPoint
(io.lettuce.core.GeoCoordinates geoCoordinate) static Converter<ListSE<io.lettuce.core.GeoWithin<byte[]>>,
GeoResults<RedisGeoCommands.GeoLocation<byte[]>>> static ListSE<RedisClusterNode>
partitionsToClusterNodes
(io.lettuce.core.cluster.models.partitions.Partitions source) static io.lettuce.core.RedisURI
sentinelConfigurationToRedisURI
(RedisSentinelConfiguration sentinelConfiguration) static Converter<StringSE,
ListSE<RedisClientInfo>> static io.lettuce.core.BitFieldArgs
toBitFieldArgs
(BitFieldSubCommands subCommands) BitFieldSubCommands
をBitFieldArgs
に変換します。static boolean
toBoolean
(long value) static boolean
static byte[]
static byte[]
static byte[]
static byte[]
static ListSE<byte[]>
toBytesList
(io.lettuce.core.KeyValue<byte[], byte[]> source) static ListSE<byte[]>
toBytesList
(CollectionSE<byte[]> source) static SetSE<byte[]>
toBytesSet
(ListSE<byte[]> source) static io.lettuce.core.GeoArgs
RedisGeoCommands.GeoCommandArgs
をGeoArgs
に変換します。static io.lettuce.core.GeoArgs
RedisGeoCommands.GeoRadiusCommandArgs
をGeoArgs
に変換します。static io.lettuce.core.GeoArgs.Unit
toGeoArgsUnit
(Metric metric) Metric
をGeoArgs.Unit
に変換します。static int
toInt
(boolean value) static io.lettuce.core.Limit
Limit
を LettuceLimit
に変換します。static ListSE<RedisClientInfo>
toListOfRedisClientInformation
(StringSE clientList) static ListSE<RedisServer>
toListOfRedisServer
(ListSE<MapSE<StringSE, StringSE>> source) static LongSE
static MapSE<byte[],
byte[]> static <T> io.lettuce.core.Range<T>
RedisZSetCommands.Range
を lettuceRange
に変換します。static <T> io.lettuce.core.Range<T>
Range
を lettuceRange
に変換します。static RedisClusterNode
toRedisClusterNode
(io.lettuce.core.cluster.models.partitions.RedisClusterNode source) static <T> io.lettuce.core.Range<T>
toRevRange
(Range<T> range) Range
を lettuceRange
に変換し、境界を逆にします。static io.lettuce.core.ScriptOutputType
toScriptOutputType
(ReturnType returnType) static io.lettuce.core.SetArgs
toSetArgs
(Expiration expiration, RedisStringCommands.SetOption option) static io.lettuce.core.SortArgs
toSortArgs
(SortParameters params) static StringSE
toString
(byte[] source) static Tuple
toTuple
(io.lettuce.core.ScoredValue<byte[]> source) クラス org.springframework.data.redis.connection.convert.Converters から継承されたメソッド
deserializingGeoResultsConverter, distanceConverterForMetric, entryOf, identityConverter, listToPropertiesConverter, longToBoolean, mapToPropertiesConverter, millisecondsToTimeUnit, millisecondsToTimeUnit, parse, parse, secondsToDuration, secondsToTimeUnit, secondsToTimeUnit, stringToBoolean, stringToBooleanConverter, stringToDataType, stringToProps, toBit, toBoolean, toClusterNode, toDataType, toObjects, toProperties, toProperties, toProperties, toSetOfRedisClusterNodes, toSetOfRedisClusterNodes, toTimeMillis, toTimeMillis
フィールドの詳細
PLUS_BYTES
public static final byte[] PLUS_BYTESMINUS_BYTES
public static final byte[] MINUS_BYTESPOSITIVE_INFINITY_BYTES
public static final byte[] POSITIVE_INFINITY_BYTESNEGATIVE_INFINITY_BYTES
public static final byte[] NEGATIVE_INFINITY_BYTES
コンストラクターの詳細
LettuceConverters
public LettuceConverters()
メソッドの詳細
geoCoordinatesToPoint
stringToRedisClientListConverter
scoredValuesToTupleList
toBoolean
public static boolean toBoolean(long value) longToBooleanConverter
- 導入:
- 1.3
toLong
toBytesSet
toBytesList
toBytesList
toTuple
toString
toScriptOutputType
toBoolean
toInt
public static int toInt(boolean value) toMap
toSortArgs
toListOfRedisClientInformation
toLimit
Limit
を LettuceLimit
に変換します。- 戻り値:
- lettuce
Limit
。 - 導入:
- 2.0
toRange
RedisZSetCommands.Range
を lettuceRange
に変換します。- 導入:
- 2.0
toRange
Range
を lettuceRange
に変換します。- 導入:
- 2.2
toRevRange
Range
を lettuceRange
に変換し、境界を逆にします。- 導入:
- 2.0
toListOfRedisServer
- パラメーター:
source
- SENTINEL REPLICAS または SENTINEL MASTERS からのノードの詳細を含むマップのリスト。空または null の場合があります。- 戻り値:
RedisServer
のリスト。マップのリストが空の場合、リストは空です。- 導入:
- 1.5
sentinelConfigurationToRedisURI
public static io.lettuce.core.RedisURI sentinelConfigurationToRedisURI(RedisSentinelConfiguration sentinelConfiguration) - パラメーター:
sentinelConfiguration
- 1 つ以上のセンチネルとマスター名を含む sentinel 構成。null であってはなりません- 戻り値:
RedisSentinelConfiguration
の Redis Sentinel アドレスを含むRedisURI
- 導入:
- 1.5
toBytes
toBytes
toBytes
toBytes
- 導入:
- 1.6
partitionsToClusterNodes
public static ListSE<RedisClusterNode> partitionsToClusterNodes(@Nullable io.lettuce.core.cluster.models.partitions.Partitions source) toRedisClusterNode
public static RedisClusterNode toRedisClusterNode(io.lettuce.core.cluster.models.partitions.RedisClusterNode source) - 導入:
- 1.7
toSetArgs
public static io.lettuce.core.SetArgs toSetArgs(@Nullable Expiration expiration, @Nullable RedisStringCommands.SetOption option) - パラメーター:
expiration
- null でもかまいません。option
- null でもかまいません。- 導入:
- 1.7
toGeoArgsUnit
Metric
をGeoArgs.Unit
に変換します。- 導入:
- 1.8
toGeoArgs
RedisGeoCommands.GeoRadiusCommandArgs
をGeoArgs
に変換します。- 導入:
- 1.8
toGeoArgs
RedisGeoCommands.GeoCommandArgs
をGeoArgs
に変換します。- 導入:
- 2.6
toBitFieldArgs
BitFieldSubCommands
をBitFieldArgs
に変換します。- 導入:
- 2.1
bytesSetToGeoResultsConverter
public static Converter<SetSE<byte[]>,GeoResults<RedisGeoCommands.GeoLocation<byte[]>>> bytesSetToGeoResultsConverter()- 導入:
- 1.8
geoRadiusResponseToGeoResultsConverter
public static Converter<ListSE<io.lettuce.core.GeoWithin<byte[]>>,GeoResults<RedisGeoCommands.GeoLocation<byte[]>>> geoRadiusResponseToGeoResultsConverter(Metric metric) - 導入:
- 1.8
transactionResultUnwrapper