mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 11:57:51 +00:00
Clarify PDK schema table
This commit is contained in:
parent
6cc848efc9
commit
e8ce4b99d6
1 changed files with 12 additions and 12 deletions
24
docs/pdk.md
24
docs/pdk.md
|
|
@ -38,19 +38,19 @@ the record to arrive at that field. For example:
|
|||
|
||||
This JSON object would result in the following Pilosa schema:
|
||||
|
||||
| Name | Field | Type | Size/Min | Max |
|
||||
|----------------|-----------|--------|----------|------------|
|
||||
| name | | ranked | 100000 | |
|
||||
| favorite_foods | | ranked | 100000 | |
|
||||
| default | | Ranked | 100000 | |
|
||||
| | age | int | 0 | 2147483647 |
|
||||
| location | | ranked | 1000 | |
|
||||
| | latitude | int | 0 | 2147483647 |
|
||||
| | longitude | int | 0 | 2147483647 |
|
||||
| location-city | | ranked | 100000 | |
|
||||
| location-state | | ranked | 100000 | |
|
||||
| Name | Field | Type | Min | Max | Size |
|
||||
|----------------|-----------|--------|-----|------------|--------|
|
||||
| name | | ranked | | | 100000 |
|
||||
| favorite_foods | | ranked | | | 100000 |
|
||||
| default | | ranked | | | 100000 |
|
||||
| | age | int | 0 | 2147483647 | |
|
||||
| location | | ranked | | | 1000 |
|
||||
| | latitude | int | 0 | 2147483647 | |
|
||||
| | longitude | int | 0 | 2147483647 | |
|
||||
| location-city | | ranked | | | 100000 |
|
||||
| location-state | | ranked | | | 100000 |
|
||||
|
||||
All frames are created as ranked frames by default, and fields are created with
|
||||
All frames are created as ranked frames by default, with the cache size listed above. Fields are created with
|
||||
a minimum size of zero and a fixed maximum of 2147483647. Fields at the top level
|
||||
are created in the default frame. Frames are a dash-separated concatenation of
|
||||
all key values in the path - you can see this with frames like location-city.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue