クラス 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 PointgeoCoordinatesToPoint(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.RedisURIsentinelConfigurationToRedisURI(RedisSentinelConfiguration sentinelConfiguration) static Converter<StringSE,ListSE<RedisClientInfo>> static io.lettuce.core.BitFieldArgstoBitFieldArgs(BitFieldSubCommands subCommands) BitFieldSubCommandsをBitFieldArgsに変換します。static booleantoBoolean(long value) static booleanstatic 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.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 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(Expiration expiration, RedisStringCommands.SetOption option) static io.lettuce.core.SortArgstoSortArgs(SortParameters params) static StringSEtoString(byte[] source) static TupletoTuple(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