One child hash within a fanout, linking a FanoutHash to the next level down in the content graph. When the owning fanout is a file fanout the hash names another fanout; when it is a chunk fanout the hash names a blob. Entries are read back in ascending id order, so the order rows were inserted in is the order the bytes are reassembled in.
Group: Database Entities
Implements: Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| chunkHash | String | The hash of the child this entry points at: another fanout's hash if the owning fanout is a file fanout, or a blob hash if it is a chunk fanout. |
| fanout | FanoutHash | The fanout this entry belongs to. An entry only has meaning in the context of its owning fanout, which determines whether the hash names a fanout or a blob. |
| id | long | Generated primary key. It also carries the ordering of this entry within its fanout, because the fanout sorts its entries by id when it builds the list of child hashes. |
Methods
getChunkHash()
Returns: String
The hash of the child this entry points at: another fanout's hash if the owning fanout is a file fanout, or a blob hash if it is a chunk fanout.
getFanout()
Returns: FanoutHash
The fanout this entry belongs to. An entry only has meaning in the context of its owning fanout, which determines whether the hash names a fanout or a blob.
getId()
Returns: long
Generated primary key. It also carries the ordering of this entry within its fanout, because the fanout sorts its entries by id when it builds the list of child hashes.