Sha256: 7083e844c794d557be8198b27ae35dd669df705ef30619bd886a31ffac5be2e2

Contents?: true

Size: 881 Bytes

Versions: 5

Compression:

Stored size: 881 Bytes

Contents

Execution example::

  table_create --name PatPrefix --flags TABLE_PAT_KEY --key_type ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  load --table PatPrefix
  [
  {"_key":"ひろゆき"},
  {"_key":"まろゆき"},
  {"_key":"ひろあき"},
  {"_key":"ゆきひろ"}
  ]
  # [[0, 1337566253.89858, 0.000355720520019531], 4]
  select --table PatPrefix --query _key:^ひろ
  # [
  #   [
  #     0, 
  #     1337566253.89858, 
  #     0.000355720520019531
  #   ], 
  #   [
  #     [
  #       [
  #         2
  #       ], 
  #       [
  #         [
  #           "_id", 
  #           "UInt32"
  #         ], 
  #         [
  #           "_key", 
  #           "ShortText"
  #         ]
  #       ], 
  #       [
  #         1, 
  #         "ひろゆき"
  #       ], 
  #       [
  #         3, 
  #         "ひろあき"
  #       ]
  #     ]
  #   ]
  # ]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rroonga-2.1.2-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log
rroonga-2.1.1-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log
rroonga-2.1.0-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log
rroonga-2.0.8-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log
rroonga-2.0.7-x86-mingw32 vendor/local/share/doc/groonga/source/example/tutorial/patricia_trie-1.log