当前位置:网站首页>Redis supports data structure types
Redis supports data structure types
2022-06-12 06:35:00 【Little white rabbit】
Support multiple types of data structures
1、 Binary safe string
2、Lists: A collection of string elements sorted by insertion order . They are basically linked lists (linked lists).
3、Sets: A collection of unrepeated and unordered string elements .
4、Sorted sets, similar Sets, But each string element is associated with a string element called score Floating values (floating number value). The elements in it always pass through score Sort it out , So the difference is , It's a series of elements that can be retrieved .( For example, you might ask : Give me the front 10 One or the back 10 Elements ).
5、Hashes, from field Associated with value Composed of map.field and value It's all strings . This sum Ruby、Python Of hashes It's like .
6、Bit arrays ( Or say simply bitmaps): By special orders , You can take String Value as a series of bits Handle : You can set and clear individual bits, Count all of them set to 1 Of bits The number of , The first one found is set to 1 or 0 Of bit, wait .
7、HyperLogLogs: This is used to estimate a set The number of elements in the probability of the data structure .
The official English website describes the types of support :
strings,
hashes,
lists,
sets,
sorted sets with range queries,
bitmaps,
hyperloglogs,
geospatial indexes,
and streams.
边栏推荐
- 夜神模擬器adb查看log
- The second day of June training - string
- Redis configuration (III) -- master-slave replication
- LeetCode-1629. Key with the longest key duration
- 六月集训 第九日——位运算
- Multithreading mode (I) -- protective pause and join source code
- 张驰课堂:2022年CAQ中质协六西格玛考试时间通知
- LeetCode-1303. Team size
- English grammar_ Adverb_ With or without ly, the meaning is different
- 六月集训 第八日——前缀和
猜你喜欢

What states do threads have?

Bert Chinese classification model training + reasoning + deployment

Redis queue

LeetCode个人题解(剑指offer3-5)3.数组中重复的数字,4.二维数组中的查找,5.替换空格

SQL injection - blind injection

Tips for using the potplayer video player

Bert use

Whether the modification of basic type and reference type is valid

SQL 注入读写文件

Node. Detailed installation tutorial of CPM and cnpm (including error resolution)
随机推荐
六月集训 第九日——位运算
PHP一句话木马深度详细剖析
SQL injection read / write file
leetcode 35. Search insert location
Multithreading (IV) -- no lock (IV) -- unsafe
Codeforces Round #793 (Div. 2) A B C
Overview of camera image quality
SQL注入原理即sqli-labs搭建,sql注入简单实战
The first day of June training - array
上传文件(post表单提交form-data)
Whether the modification of basic type and reference type is valid
LeetCode-1154. Day of the year
May training (day 28) - Dynamic Planning
(14)Blender源码分析之闪屏窗口显示软件版本号
SQL injection based on error reporting
Solution: content type 'application/x-www-form-urlencoded; charset=UTF-8‘ not supported
基于报错的 SQL 注入
CONDA create use virtual environment
The vs 2019 community version Microsoft account cannot be logged in and activated offline
The second day of June training - string