元组(tuple)是关系数据库中的基本概念,关系是一张表,表中的每行(即数据库中的每条记录)就是一个元组,每列就是一个属性。在二维表里,元组也称为行。
...Bolt,任务(Task),元组(Tuple),如果不清楚这些概念,可以参看我之前写的文章:Storm介绍(一),理解Storm并发。下文中元组(Tuple),跟消息(message)是等价的,Storm中处理的消息是用元组这种数据结构来表示的。 一个消息被完整处理是什么意思?
基于100个网页-相关网页
位元组 sc-bytes ; ten bytes ; Exabytes
元组关系演算 Tuple relational calculus
位元组顺序记号 byte order mark
益生元组合 GOS ; FOS GOS ; FOS ; GOS&FOS
支路单元组 tributary unit group ; TUG ; TUG-n ; TributaryunitgroupTUG
八位元组 oktett
管理单元组 administrative unit group ; AUG AdministrationUnitGroup ; AUG-n
元组关系演算语言 ALPHA ; QUEL
双位元组字元集 DBCS ; double-byte character set
穿山甲的鳞片由非常薄的棱柱形结构单元和折叠单元组成。
The scales of the pangolin were composed of the very thin prismy construction units and the folded units.
每个元组代表一对股票代码和股价。
Each tuple represents a pair of stock tickers and stock prices.
其它有效性类应该列在该元组中。
And I responded to at least one email about this issue, someone quite correctly said tuple are immutable, how can I change one?
我在不止一封邮件里回复了这个问题,一些人很明智,知道元组不可变,但是疑问怎么能去改变他们,我的答案是?
My answer is, you can't change one but you can create a new one that is almost like the old one but different in a little bit.
既然你不能改变元组,你可以新建一个跟原来的元组,大体上一致但有细微差别的元组。
And the nice thing is that there's a shared behavior there. Just as I can have tuples as an ordered collection of things, strings behave as an ordered collection of things.
共享的行为,就像元组是有序的元素序列,字符串也是有序的元素序列,因此我可以对字符串做同样的操作,我可以把它们连结起来。
应用推荐