クラス 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 @Nullable PointgeoCoordinatesToPoint(@Nullable io.lettuce.core.GeoCoordinates geoCoordinate) static Converter<ListSE<io.lettuce.core.GeoWithin<byte[]>>, GeoResults<RedisGeoCommands.GeoLocation<byte[]>>> static ListSE<RedisClusterNode> partitionsToClusterNodes(@Nullable io.lettuce.core.cluster.models.partitions.Partitions source) static io.lettuce.core.RedisURIsentinelConfigurationToRedisURI(RedisSentinelConfiguration sentinelConfiguration) static Converter<StringSE, ListSE<RedisClientInfo>> static io.lettuce.core.BitFieldArgstoBitFieldArgs(@Nullable BitFieldSubCommands subCommands) BitFieldSubCommandsをBitFieldArgsに変換します。static booleantoBoolean(long value) static booleanstatic byte @Nullable[]static byte[]static byte[]static byte[]static @Nullable ListSE<byte[]> toBytesList(@Nullable io.lettuce.core.KeyValue<byte[], byte[]> source) static @Nullable SetSE<byte[]> toBytesSet(@Nullable ListSE<byte[]> source) static io.lettuce.core.GeoArgsRedisGeoCommands.GeoCommandArgsをGeoArgsに変換します。static io.lettuce.core.GeoArgsRedisGeoCommands.GeoRadiusCommandArgsをGeoArgsに変換します。static io.lettuce.core.GeoArgs.UnittoGeoArgsUnit(Metric metric) MetricをGeoArgs.Unitに変換します。static inttoInt(boolean value) static io.lettuce.core.LimitLimitを LettuceLimitに変換します。static ListSE<RedisClientInfo> toListOfRedisClientInformation(StringSE clientList) static ListSE<RedisServer> toListOfRedisServer(ListSE<MapSE<StringSE, StringSE>> source) static @Nullable LongSEstatic MapSE<byte[], byte[]> static <T> io.lettuce.core.Range<T> RedisZSetCommands.Rangeを lettuceRangeに変換します。static <T> io.lettuce.core.Range<T> Rangeを lettuceRangeに変換します。static RedisClusterNodetoRedisClusterNode(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.ScriptOutputTypetoScriptOutputType(ReturnType returnType) static io.lettuce.core.SetArgstoSetArgs(@Nullable Expiration expiration, @Nullable RedisStringCommands.SetOption option) static io.lettuce.core.SortArgstoSortArgs(SortParameters params) static @Nullable StringSEtoString(byte @Nullable[] source) static TupletoTuple(@Nullable io.lettuce.core.ScoredValue<byte[]> source) クラス 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
public static @Nullable Point geoCoordinatesToPoint(@Nullable io.lettuce.core.GeoCoordinates geoCoordinate) stringToRedisClientListConverter
scoredValuesToTupleList
toBoolean
public static boolean toBoolean(long value) longToBooleanConverter
toLong
toBytesSet
toBytesList
toTuple
toString
toScriptOutputType
toBoolean
toInt
public static int toInt(boolean value) toMap
toSortArgs
toListOfRedisClientInformation
toLimit
toRange
RedisZSetCommands.Rangeを lettuceRangeに変換します。- 導入:
- 2.0
toRange
toRevRange
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
toGeoArgs
RedisGeoCommands.GeoRadiusCommandArgsをGeoArgsに変換します。- 導入:
- 1.8
toGeoArgs
RedisGeoCommands.GeoCommandArgsをGeoArgsに変換します。- 導入:
- 2.6
toBitFieldArgs
public static io.lettuce.core.BitFieldArgs toBitFieldArgs(@Nullable BitFieldSubCommands subCommands) 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