| 1 |
|
| 2 |
<!DOCTYPE html> |
| 3 |
|
| 4 |
|
| 5 |
<html lang="en" data-content_root="../" > |
| 6 |
|
| 7 |
<head> |
| 8 |
<meta charset="utf-8" /> |
| 9 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 10 |
|
| 11 |
<title>7.4. Data types — Groonga v16.0.9 documentation</title> |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
<script data-cfasync="false"> |
| 16 |
document.documentElement.dataset.mode = localStorage.getItem("mode") || ""; |
| 17 |
document.documentElement.dataset.theme = localStorage.getItem("theme") || ""; |
| 18 |
</script> |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
<noscript> |
| 23 |
<style> |
| 24 |
.pst-js-only { display: none !important; } |
| 25 |
|
| 26 |
</style> |
| 27 |
</noscript> |
| 28 |
|
| 29 |
|
| 30 |
<link href="../_static/styles/theme.css?digest=90905a2f556bf617f1a9" rel="stylesheet" /> |
| 31 |
<link href="../_static/styles/pydata-sphinx-theme.css?digest=90905a2f556bf617f1a9" rel="stylesheet" /> |
| 32 |
|
| 33 |
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=8f2a1f02" /> |
| 34 |
|
| 35 |
|
| 36 |
<script defer src="../_static/scripts/fontawesome.js?digest=90905a2f556bf617f1a9"></script> |
| 37 |
|
| 38 |
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=90905a2f556bf617f1a9" /> |
| 39 |
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=90905a2f556bf617f1a9" /> |
| 40 |
|
| 41 |
<script src="../_static/documentation_options.js?v=2fcb8d4f"></script> |
| 42 |
<script src="../_static/doctools.js?v=fd6eb6e6"></script> |
| 43 |
<script src="../_static/sphinx_highlight.js?v=6ffebe34"></script> |
| 44 |
<script> |
| 45 |
window.dataLayer = window.dataLayer || []; |
| 46 |
function gtag(){ dataLayer.push(arguments); } |
| 47 |
gtag('consent', 'default', { |
| 48 |
'ad_storage': 'denied', |
| 49 |
'ad_user_data': 'denied', |
| 50 |
'ad_personalization': 'denied', |
| 51 |
'analytics_storage': 'denied' |
| 52 |
}); |
| 53 |
</script> |
| 54 |
<script async="async" src="https://www.googletagmanager.com/gtag/js?id=G-MDK38RHNPW"></script> |
| 55 |
<script> |
| 56 |
window.dataLayer = window.dataLayer || []; |
| 57 |
function gtag(){dataLayer.push(arguments);} |
| 58 |
gtag('js', new Date()); |
| 59 |
gtag('config', 'G-MDK38RHNPW'); |
| 60 |
</script> |
| 61 |
<script>DOCUMENTATION_OPTIONS.pagename = 'reference/types';</script> |
| 62 |
<script> |
| 63 |
DOCUMENTATION_OPTIONS.theme_version = '0.20.0'; |
| 64 |
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://groonga.org/docs/_static/switcher.json'; |
| 65 |
DOCUMENTATION_OPTIONS.theme_switcher_version_match = 'english'; |
| 66 |
DOCUMENTATION_OPTIONS.show_version_warning_banner = |
| 67 |
false; |
| 68 |
</script> |
| 69 |
<script>DOCUMENTATION_OPTIONS.search_as_you_type = false;</script> |
| 70 |
<link rel="icon" href="../_static/favicon.ico"/> |
| 71 |
<link rel="index" title="Index" href="../genindex.html" /> |
| 72 |
<link rel="search" title="Search" href="../search.html" /> |
| 73 |
<link rel="next" title="7.5. Tables" href="tables.html" /> |
| 74 |
<link rel="prev" title="7.3.73. truncate" href="commands/truncate.html" /> |
| 75 |
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 76 |
<meta name="docsearch:language" content="en"/> |
| 77 |
<meta name="docsearch:version" content="16.0.9" /> |
| 78 |
|
| 79 |
|
| 80 |
<script src="../_static/searchtools.js"></script> |
| 81 |
<script src="../_static/language_data.js"></script> |
| 82 |
<script src="../searchindex.js"></script> |
| 83 |
|
| 84 |
</head> |
| 85 |
<body data-default-mode=""> |
| 86 |
|
| 87 |
|
| 88 |
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div> |
| 89 |
|
| 90 |
|
| 91 |
<div id="pst-scroll-pixel-helper"></div> |
| 92 |
|
| 93 |
<button type="button" class="btn rounded-pill" id="pst-back-to-top"> |
| 94 |
<i class="fa-solid fa-arrow-up"></i>Back to top</button> |
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
<dialog id="pst-search-dialog"> |
| 100 |
|
| 101 |
<form class="bd-search d-flex align-items-center" |
| 102 |
action="../search.html" |
| 103 |
method="get"> |
| 104 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 105 |
<input type="search" |
| 106 |
class="form-control" |
| 107 |
name="q" |
| 108 |
placeholder="Search the docs ..." |
| 109 |
aria-label="Search the docs ..." |
| 110 |
autocomplete="off" |
| 111 |
autocorrect="off" |
| 112 |
autocapitalize="off" |
| 113 |
spellcheck="false"/> |
| 114 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span> |
| 115 |
</form> |
| 116 |
</dialog> |
| 117 |
|
| 118 |
<div class="pst-async-banner-revealer d-none"> |
| 119 |
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside> |
| 120 |
</div> |
| 121 |
|
| 122 |
|
| 123 |
<header id="pst-header" class="bd-header navbar navbar-expand-lg bd-navbar d-print-none"> |
| 124 |
<div class="bd-header__inner bd-page-width"> |
| 125 |
<button class="pst-navbar-icon sidebar-toggle primary-toggle" aria-label="Site navigation"> |
| 126 |
<span class="fa-solid fa-bars"></span> |
| 127 |
</button> |
| 128 |
|
| 129 |
|
| 130 |
<div class="col-lg-3 navbar-header-items__start"> |
| 131 |
|
| 132 |
<div class="navbar-item"> |
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
<a class="navbar-brand logo" href="https://groonga.org/"> |
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
<img src="../_static/groonga.png" class="logo__image only-light" alt="Groonga v16.0.9 documentation - Home"/> |
| 150 |
<img src="../_static/groonga.png" class="logo__image only-dark pst-js-only" alt="Groonga v16.0.9 documentation - Home"/> |
| 151 |
|
| 152 |
|
| 153 |
</a></div> |
| 154 |
|
| 155 |
</div> |
| 156 |
|
| 157 |
<div class="col-lg-9 navbar-header-items"> |
| 158 |
|
| 159 |
|
| 160 |
<div class="navbar-header-items__end"> |
| 161 |
|
| 162 |
<div class="navbar-item navbar-persistent--container"> |
| 163 |
|
| 164 |
|
| 165 |
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 166 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 167 |
<span class="search-button__default-text">Search</span> |
| 168 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 169 |
</button> |
| 170 |
</div> |
| 171 |
|
| 172 |
|
| 173 |
<div class="navbar-item"> |
| 174 |
|
| 175 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 176 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 177 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i> |
| 178 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i> |
| 179 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 180 |
</button> |
| 181 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 182 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg fa-fw me-1"></i>System Settings</button></li> |
| 183 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="light"><i class="fa-solid fa-sun fa-lg fa-fw me-1"></i>Light</button></li> |
| 184 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="dark"><i class="fa-solid fa-moon fa-lg fa-fw me-1"></i>Dark</button></li> |
| 185 |
</ul> |
| 186 |
</div></div> |
| 187 |
|
| 188 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 189 |
aria-label="Icon Links"> |
| 190 |
<li class="nav-item"> |
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
<a href="https://github.com/groonga/groonga" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i><span class="visually-hidden">GitHub</span></a> |
| 200 |
</li> |
| 201 |
<li class="nav-item"> |
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|
| 210 |
<a href="https://twitter.com/groonga" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-twitter fa-lg" aria-hidden="true"></i><span class="visually-hidden">Twitter</span></a> |
| 211 |
</li> |
| 212 |
<li class="nav-item"> |
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
<a href="/blog" title="Blog" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fas fa-blog fa-lg" aria-hidden="true"></i><span class="visually-hidden">Blog</span></a> |
| 222 |
</li> |
| 223 |
</ul></div> |
| 224 |
|
| 225 |
<div class="navbar-item"> |
| 226 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 227 |
<button id="pst-version-switcher-button-2" |
| 228 |
type="button" |
| 229 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 230 |
data-bs-toggle="dropdown" |
| 231 |
aria-haspopup="listbox" |
| 232 |
aria-controls="pst-version-switcher-list-2" |
| 233 |
aria-label="Version switcher list" |
| 234 |
> |
| 235 |
Choose version |
| 236 |
<span class="caret"></span> |
| 237 |
</button> |
| 238 |
<div id="pst-version-switcher-list-2" |
| 239 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 240 |
role="listbox" aria-labelledby="pst-version-switcher-button-2"> |
| 241 |
|
| 242 |
</div> |
| 243 |
</div></div> |
| 244 |
|
| 245 |
</div> |
| 246 |
|
| 247 |
</div> |
| 248 |
|
| 249 |
|
| 250 |
<div class="navbar-persistent--mobile"> |
| 251 |
|
| 252 |
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 253 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 254 |
<span class="search-button__default-text">Search</span> |
| 255 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 256 |
</button> |
| 257 |
</div> |
| 258 |
|
| 259 |
|
| 260 |
|
| 261 |
<button class="pst-navbar-icon sidebar-toggle secondary-toggle" aria-label="On this page"> |
| 262 |
<span class="fa-solid fa-outdent"></span> |
| 263 |
</button> |
| 264 |
|
| 265 |
</div> |
| 266 |
|
| 267 |
</header> |
| 268 |
|
| 269 |
|
| 270 |
<div class="bd-container"> |
| 271 |
<div class="bd-container__inner bd-page-width"> |
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
<dialog id="pst-primary-sidebar-modal"></dialog> |
| 276 |
<div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar"> |
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
<div class="sidebar-header-items sidebar-primary__section"> |
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
<div class="sidebar-header-items__end"> |
| 286 |
|
| 287 |
<div class="navbar-item"> |
| 288 |
|
| 289 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 290 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 291 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i> |
| 292 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i> |
| 293 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 294 |
</button> |
| 295 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 296 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg fa-fw me-1"></i>System Settings</button></li> |
| 297 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="light"><i class="fa-solid fa-sun fa-lg fa-fw me-1"></i>Light</button></li> |
| 298 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="dark"><i class="fa-solid fa-moon fa-lg fa-fw me-1"></i>Dark</button></li> |
| 299 |
</ul> |
| 300 |
</div></div> |
| 301 |
|
| 302 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 303 |
aria-label="Icon Links"> |
| 304 |
<li class="nav-item"> |
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
<a href="https://github.com/groonga/groonga" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i><span class="visually-hidden">GitHub</span></a> |
| 314 |
</li> |
| 315 |
<li class="nav-item"> |
| 316 |
|
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
<a href="https://twitter.com/groonga" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-twitter fa-lg" aria-hidden="true"></i><span class="visually-hidden">Twitter</span></a> |
| 325 |
</li> |
| 326 |
<li class="nav-item"> |
| 327 |
|
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
<a href="/blog" title="Blog" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fas fa-blog fa-lg" aria-hidden="true"></i><span class="visually-hidden">Blog</span></a> |
| 336 |
</li> |
| 337 |
</ul></div> |
| 338 |
|
| 339 |
<div class="navbar-item"> |
| 340 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 341 |
<button id="pst-version-switcher-button-3" |
| 342 |
type="button" |
| 343 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 344 |
data-bs-toggle="dropdown" |
| 345 |
aria-haspopup="listbox" |
| 346 |
aria-controls="pst-version-switcher-list-3" |
| 347 |
aria-label="Version switcher list" |
| 348 |
> |
| 349 |
Choose version |
| 350 |
<span class="caret"></span> |
| 351 |
</button> |
| 352 |
<div id="pst-version-switcher-list-3" |
| 353 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 354 |
role="listbox" aria-labelledby="pst-version-switcher-button-3"> |
| 355 |
|
| 356 |
</div> |
| 357 |
</div></div> |
| 358 |
|
| 359 |
</div> |
| 360 |
|
| 361 |
</div> |
| 362 |
|
| 363 |
<div class="sidebar-primary-items__start sidebar-primary__section"> |
| 364 |
<div class="sidebar-primary-item pst-sidebar-collapse"><button id="pst-collapse-sidebar-button" aria-expanded="true" aria-controls="pst-primary-sidebar"> |
| 365 |
<svg class="pst-icon" role="img" aria-hidden="true" focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> |
| 366 |
<path fill="currentColor" d="M3 15.5C2.36232 15.5 1.74874 15.2564 1.28478 14.8189C0.820828 14.3815 0.541576 13.7832 0.504167 13.1467L0.5 13L0.5 3C0.499965 2.36232 0.743605 1.74874 1.18107 1.28478C1.61854 0.820828 2.21676 0.541576 2.85333 0.504167L3 0.5L13 0.5C13.6377 0.499965 14.2513 0.743605 14.7152 1.18107C15.1792 1.61854 15.4584 2.21676 15.4958 2.85333L15.5 3L15.5 13C15.5 13.6377 15.2564 14.2513 14.8189 14.7152C14.3815 15.1792 13.7832 15.4584 13.1467 15.4958L13 15.5L3 15.5ZM3 13.8333L10.5 13.8333L10.5 2.16667L3 2.16667C2.79589 2.16669 2.59889 2.24163 2.44636 2.37726C2.29383 2.5129 2.19638 2.69979 2.1725 2.9025L2.16667 3L2.16667 13C2.16669 13.2041 2.24163 13.4011 2.37726 13.5536C2.5129 13.7062 2.69979 13.8036 2.9025 13.8275L3 13.8333ZM6.65583 10.325L6.5775 10.2558L4.91083 8.58917C4.76735 8.44567 4.68116 8.25476 4.66843 8.05223C4.65569 7.84971 4.71729 7.6495 4.84167 7.48917L4.91083 7.41083L6.5775 5.74417C6.72747 5.59471 6.9287 5.50794 7.14032 5.50148C7.35194 5.49502 7.55809 5.56935 7.7169 5.70937C7.8757 5.8494 7.97525 6.04463 7.99533 6.25539C8.01541 6.46616 7.95451 6.67667 7.825 6.84417L7.75583 6.9225L6.67917 8L7.75583 9.0775C7.89931 9.22099 7.98551 9.41191 7.99824 9.61443C8.01097 9.81695 7.94938 10.0172 7.825 10.1775L7.75583 10.2558C7.61234 10.3993 7.42142 10.4855 7.2189 10.4982C7.01638 10.511 6.81617 10.4494 6.65583 10.325Z"/> |
| 367 |
</svg> |
| 368 |
<span class="pst-collapse-sidebar-label">Collapse Sidebar</span> |
| 369 |
<span class="pst-expand-sidebar-label">Expand Sidebar</span> |
| 370 |
</button></div> |
| 371 |
<div class="sidebar-primary-item"> |
| 372 |
|
| 373 |
<nav class="bd-docs-nav bd-links" |
| 374 |
aria-label="Section Navigation"> |
| 375 |
<p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p> |
| 376 |
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav"> |
| 377 |
<li class="toctree-l1 has-children"><a class="reference internal" href="executables.html">7.1. Executables</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 378 |
<li class="toctree-l2"><a class="reference internal" href="executables/grndb.html">7.1.1. <code class="docutils literal notranslate"><span class="pre">grndb</span></code></a></li> |
| 379 |
<li class="toctree-l2"><a class="reference internal" href="executables/grnslap.html">7.1.2. grnslap</a></li> |
| 380 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga.html">7.1.3. <code class="docutils literal notranslate"><span class="pre">groonga</span></code> executable file</a></li> |
| 381 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-benchmark.html">7.1.4. groonga-benchmark</a></li> |
| 382 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-httpd.html">7.1.5. groonga-httpd</a></li> |
| 383 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-server-http.html">7.1.6. Groonga HTTP server</a></li> |
| 384 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-suggest-create-dataset.html">7.1.7. groonga-suggest-create-dataset</a></li> |
| 385 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-suggest-httpd.html">7.1.8. <code class="docutils literal notranslate"><span class="pre">groonga-suggest-httpd</span></code></a></li> |
| 386 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-suggest-learner.html">7.1.9. groonga-suggest-learner</a></li> |
| 387 |
</ul> |
| 388 |
</details></li> |
| 389 |
<li class="toctree-l1"><a class="reference internal" href="output.html">7.2. Output</a></li> |
| 390 |
<li class="toctree-l1 has-children"><a class="reference internal" href="command.html">7.3. Command</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 391 |
<li class="toctree-l2"><a class="reference internal" href="command/command_version.html">7.3.1. Command version</a></li> |
| 392 |
<li class="toctree-l2"><a class="reference internal" href="command/n_workers.html">7.3.2. Parallel execution</a></li> |
| 393 |
<li class="toctree-l2"><a class="reference internal" href="command/output_format.html">7.3.3. Output format</a></li> |
| 394 |
<li class="toctree-l2"><a class="reference internal" href="command/output_trace_log.html">7.3.4. Output trace log</a></li> |
| 395 |
<li class="toctree-l2"><a class="reference internal" href="command/pretty_print.html">7.3.5. Pretty print</a></li> |
| 396 |
<li class="toctree-l2"><a class="reference internal" href="command/request_id.html">7.3.6. Request ID</a></li> |
| 397 |
<li class="toctree-l2"><a class="reference internal" href="command/request_timeout.html">7.3.7. Request timeout</a></li> |
| 398 |
<li class="toctree-l2 has-children"><a class="reference internal" href="command/return_code.html">7.3.8. Return code</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 399 |
<li class="toctree-l3"><a class="reference internal" href="command/return_codes/grn_operation_not_permitted.html">7.3.8.3.1. <code class="docutils literal notranslate"><span class="pre">-2:</span> <span class="pre">GRN_OPERATION_NOT_PERMITTED</span></code></a></li> |
| 400 |
<li class="toctree-l3"><a class="reference internal" href="command/return_codes/grn_no_such_file_or_directory.html">7.3.8.3.2. <code class="docutils literal notranslate"><span class="pre">-3:</span> <span class="pre">GRN_NO_SUCH_FILE_OR_DIRECTORY</span></code></a></li> |
| 401 |
<li class="toctree-l3"><a class="reference internal" href="command/return_codes/grn_input_output_error.html">7.3.8.3.3. <code class="docutils literal notranslate"><span class="pre">-6:</span> <span class="pre">GRN_INPUT_OUTPUT_ERROR</span></code></a></li> |
| 402 |
<li class="toctree-l3"><a class="reference internal" href="command/return_codes/grn_not_enough_space.html">7.3.8.3.4. <code class="docutils literal notranslate"><span class="pre">-13:</span> <span class="pre">GRN_NOT_ENOUGH_SPACE</span></code></a></li> |
| 403 |
<li class="toctree-l3"><a class="reference internal" href="command/return_codes/grn_invalid_argument.html">7.3.8.3.5. <code class="docutils literal notranslate"><span class="pre">-22:</span> <span class="pre">GRN_INVALID_ARGUMENT</span></code></a></li> |
| 404 |
<li class="toctree-l3"><a class="reference internal" href="command/return_codes/grn_resource_deadlock_avoided.html">7.3.8.3.6. <code class="docutils literal notranslate"><span class="pre">-34:</span> <span class="pre">GRN_RESOURCE_DEADLOCK_AVOIDED</span></code></a></li> |
| 405 |
</ul> |
| 406 |
</details></li> |
| 407 |
<li class="toctree-l2"><a class="reference internal" href="commands/cache_limit.html">7.3.9. <code class="docutils literal notranslate"><span class="pre">cache_limit</span></code></a></li> |
| 408 |
<li class="toctree-l2"><a class="reference internal" href="commands/check.html">7.3.10. <code class="docutils literal notranslate"><span class="pre">check</span></code></a></li> |
| 409 |
<li class="toctree-l2"><a class="reference internal" href="commands/clearlock.html">7.3.11. <code class="docutils literal notranslate"><span class="pre">clearlock</span></code></a></li> |
| 410 |
<li class="toctree-l2"><a class="reference internal" href="commands/column_copy.html">7.3.12. <code class="docutils literal notranslate"><span class="pre">column_copy</span></code></a></li> |
| 411 |
<li class="toctree-l2"><a class="reference internal" href="commands/column_create.html">7.3.13. <code class="docutils literal notranslate"><span class="pre">column_create</span></code></a></li> |
| 412 |
<li class="toctree-l2"><a class="reference internal" href="commands/column_list.html">7.3.14. <code class="docutils literal notranslate"><span class="pre">column_list</span></code></a></li> |
| 413 |
<li class="toctree-l2"><a class="reference internal" href="commands/column_remove.html">7.3.15. <code class="docutils literal notranslate"><span class="pre">column_remove</span></code></a></li> |
| 414 |
<li class="toctree-l2"><a class="reference internal" href="commands/column_rename.html">7.3.16. <code class="docutils literal notranslate"><span class="pre">column_rename</span></code></a></li> |
| 415 |
<li class="toctree-l2"><a class="reference internal" href="commands/config_delete.html">7.3.17. <code class="docutils literal notranslate"><span class="pre">config_delete</span></code></a></li> |
| 416 |
<li class="toctree-l2"><a class="reference internal" href="commands/config_get.html">7.3.18. <code class="docutils literal notranslate"><span class="pre">config_get</span></code></a></li> |
| 417 |
<li class="toctree-l2"><a class="reference internal" href="commands/config_set.html">7.3.19. <code class="docutils literal notranslate"><span class="pre">config_set</span></code></a></li> |
| 418 |
<li class="toctree-l2"><a class="reference internal" href="commands/database_unmap.html">7.3.20. <code class="docutils literal notranslate"><span class="pre">database_unmap</span></code></a></li> |
| 419 |
<li class="toctree-l2"><a class="reference internal" href="commands/define_selector.html">7.3.21. <code class="docutils literal notranslate"><span class="pre">define_selector</span></code></a></li> |
| 420 |
<li class="toctree-l2"><a class="reference internal" href="commands/defrag.html">7.3.22. <code class="docutils literal notranslate"><span class="pre">defrag</span></code></a></li> |
| 421 |
<li class="toctree-l2"><a class="reference internal" href="commands/delete.html">7.3.23. <code class="docutils literal notranslate"><span class="pre">delete</span></code></a></li> |
| 422 |
<li class="toctree-l2"><a class="reference internal" href="commands/dump.html">7.3.24. <code class="docutils literal notranslate"><span class="pre">dump</span></code></a></li> |
| 423 |
<li class="toctree-l2"><a class="reference internal" href="commands/extract.html">7.3.25. <code class="docutils literal notranslate"><span class="pre">extract</span></code></a></li> |
| 424 |
<li class="toctree-l2"><a class="reference internal" href="commands/index_column_diff.html">7.3.26. <code class="docutils literal notranslate"><span class="pre">index_column_diff</span></code></a></li> |
| 425 |
<li class="toctree-l2"><a class="reference internal" href="commands/io_flush.html">7.3.27. <code class="docutils literal notranslate"><span class="pre">io_flush</span></code></a></li> |
| 426 |
<li class="toctree-l2"><a class="reference internal" href="commands/load.html">7.3.28. <code class="docutils literal notranslate"><span class="pre">load</span></code></a></li> |
| 427 |
<li class="toctree-l2"><a class="reference internal" href="commands/lock_acquire.html">7.3.29. <code class="docutils literal notranslate"><span class="pre">lock_acquire</span></code></a></li> |
| 428 |
<li class="toctree-l2"><a class="reference internal" href="commands/lock_clear.html">7.3.30. <code class="docutils literal notranslate"><span class="pre">lock_clear</span></code></a></li> |
| 429 |
<li class="toctree-l2"><a class="reference internal" href="commands/lock_release.html">7.3.31. <code class="docutils literal notranslate"><span class="pre">lock_release</span></code></a></li> |
| 430 |
<li class="toctree-l2"><a class="reference internal" href="commands/log_level.html">7.3.32. <code class="docutils literal notranslate"><span class="pre">log_level</span></code></a></li> |
| 431 |
<li class="toctree-l2"><a class="reference internal" href="commands/log_put.html">7.3.33. <code class="docutils literal notranslate"><span class="pre">log_put</span></code></a></li> |
| 432 |
<li class="toctree-l2"><a class="reference internal" href="commands/log_reopen.html">7.3.34. <code class="docutils literal notranslate"><span class="pre">log_reopen</span></code></a></li> |
| 433 |
<li class="toctree-l2"><a class="reference internal" href="commands/logical_count.html">7.3.35. <code class="docutils literal notranslate"><span class="pre">logical_count</span></code></a></li> |
| 434 |
<li class="toctree-l2"><a class="reference internal" href="commands/logical_parameters.html">7.3.36. <code class="docutils literal notranslate"><span class="pre">logical_parameters</span></code></a></li> |
| 435 |
<li class="toctree-l2"><a class="reference internal" href="commands/logical_range_filter.html">7.3.37. <code class="docutils literal notranslate"><span class="pre">logical_range_filter</span></code></a></li> |
| 436 |
<li class="toctree-l2"><a class="reference internal" href="commands/logical_select.html">7.3.38. <code class="docutils literal notranslate"><span class="pre">logical_select</span></code></a></li> |
| 437 |
<li class="toctree-l2"><a class="reference internal" href="commands/logical_shard_list.html">7.3.39. <code class="docutils literal notranslate"><span class="pre">logical_shard_list</span></code></a></li> |
| 438 |
<li class="toctree-l2"><a class="reference internal" href="commands/logical_table_remove.html">7.3.40. <code class="docutils literal notranslate"><span class="pre">logical_table_remove</span></code></a></li> |
| 439 |
<li class="toctree-l2"><a class="reference internal" href="commands/normalize.html">7.3.41. <code class="docutils literal notranslate"><span class="pre">normalize</span></code></a></li> |
| 440 |
<li class="toctree-l2"><a class="reference internal" href="commands/normalizer_list.html">7.3.42. <code class="docutils literal notranslate"><span class="pre">normalizer_list</span></code></a></li> |
| 441 |
<li class="toctree-l2"><a class="reference internal" href="commands/object_exist.html">7.3.43. <code class="docutils literal notranslate"><span class="pre">object_exist</span></code></a></li> |
| 442 |
<li class="toctree-l2"><a class="reference internal" href="commands/object_inspect.html">7.3.44. <code class="docutils literal notranslate"><span class="pre">object_inspect</span></code></a></li> |
| 443 |
<li class="toctree-l2"><a class="reference internal" href="commands/object_list.html">7.3.45. <code class="docutils literal notranslate"><span class="pre">object_list</span></code></a></li> |
| 444 |
<li class="toctree-l2"><a class="reference internal" href="commands/object_remove.html">7.3.46. <code class="docutils literal notranslate"><span class="pre">object_remove</span></code></a></li> |
| 445 |
<li class="toctree-l2"><a class="reference internal" href="commands/plugin_register.html">7.3.47. <code class="docutils literal notranslate"><span class="pre">plugin_register</span></code></a></li> |
| 446 |
<li class="toctree-l2"><a class="reference internal" href="commands/plugin_unregister.html">7.3.48. <code class="docutils literal notranslate"><span class="pre">plugin_unregister</span></code></a></li> |
| 447 |
<li class="toctree-l2"><a class="reference internal" href="commands/query_expand.html">7.3.49. <code class="docutils literal notranslate"><span class="pre">query_expand</span></code></a></li> |
| 448 |
<li class="toctree-l2"><a class="reference internal" href="commands/quit.html">7.3.50. <code class="docutils literal notranslate"><span class="pre">quit</span></code></a></li> |
| 449 |
<li class="toctree-l2"><a class="reference internal" href="commands/range_filter.html">7.3.51. <code class="docutils literal notranslate"><span class="pre">range_filter</span></code></a></li> |
| 450 |
<li class="toctree-l2"><a class="reference internal" href="commands/reference_acquire.html">7.3.52. <code class="docutils literal notranslate"><span class="pre">reference_acquire</span></code></a></li> |
| 451 |
<li class="toctree-l2"><a class="reference internal" href="commands/reference_release.html">7.3.53. <code class="docutils literal notranslate"><span class="pre">reference_release</span></code></a></li> |
| 452 |
<li class="toctree-l2"><a class="reference internal" href="commands/register.html">7.3.54. <code class="docutils literal notranslate"><span class="pre">register</span></code></a></li> |
| 453 |
<li class="toctree-l2"><a class="reference internal" href="commands/reindex.html">7.3.55. <code class="docutils literal notranslate"><span class="pre">reindex</span></code></a></li> |
| 454 |
<li class="toctree-l2"><a class="reference internal" href="commands/request_cancel.html">7.3.56. <code class="docutils literal notranslate"><span class="pre">request_cancel</span></code></a></li> |
| 455 |
<li class="toctree-l2"><a class="reference internal" href="commands/ruby_eval.html">7.3.57. <code class="docutils literal notranslate"><span class="pre">ruby_eval</span></code></a></li> |
| 456 |
<li class="toctree-l2"><a class="reference internal" href="commands/schema.html">7.3.58. <code class="docutils literal notranslate"><span class="pre">schema</span></code></a></li> |
| 457 |
<li class="toctree-l2"><a class="reference internal" href="commands/select.html">7.3.59. <code class="docutils literal notranslate"><span class="pre">select</span></code></a></li> |
| 458 |
<li class="toctree-l2"><a class="reference internal" href="commands/shutdown.html">7.3.60. <code class="docutils literal notranslate"><span class="pre">shutdown</span></code></a></li> |
| 459 |
<li class="toctree-l2"><a class="reference internal" href="commands/status.html">7.3.61. <code class="docutils literal notranslate"><span class="pre">status</span></code></a></li> |
| 460 |
<li class="toctree-l2"><a class="reference internal" href="commands/suggest.html">7.3.62. <code class="docutils literal notranslate"><span class="pre">suggest</span></code></a></li> |
| 461 |
<li class="toctree-l2"><a class="reference internal" href="commands/table_copy.html">7.3.63. <code class="docutils literal notranslate"><span class="pre">table_copy</span></code></a></li> |
| 462 |
<li class="toctree-l2"><a class="reference internal" href="commands/table_create.html">7.3.64. <code class="docutils literal notranslate"><span class="pre">table_create</span></code></a></li> |
| 463 |
<li class="toctree-l2"><a class="reference internal" href="commands/table_list.html">7.3.65. <code class="docutils literal notranslate"><span class="pre">table_list</span></code></a></li> |
| 464 |
<li class="toctree-l2"><a class="reference internal" href="commands/table_remove.html">7.3.66. <code class="docutils literal notranslate"><span class="pre">table_remove</span></code></a></li> |
| 465 |
<li class="toctree-l2"><a class="reference internal" href="commands/table_rename.html">7.3.67. <code class="docutils literal notranslate"><span class="pre">table_rename</span></code></a></li> |
| 466 |
<li class="toctree-l2"><a class="reference internal" href="commands/table_tokenize.html">7.3.68. <code class="docutils literal notranslate"><span class="pre">table_tokenize</span></code></a></li> |
| 467 |
<li class="toctree-l2"><a class="reference internal" href="commands/thread_dump.html">7.3.69. <code class="docutils literal notranslate"><span class="pre">thread_dump</span></code></a></li> |
| 468 |
<li class="toctree-l2"><a class="reference internal" href="commands/thread_limit.html">7.3.70. <code class="docutils literal notranslate"><span class="pre">thread_limit</span></code></a></li> |
| 469 |
<li class="toctree-l2"><a class="reference internal" href="commands/tokenize.html">7.3.71. <code class="docutils literal notranslate"><span class="pre">tokenize</span></code></a></li> |
| 470 |
<li class="toctree-l2"><a class="reference internal" href="commands/tokenizer_list.html">7.3.72. <code class="docutils literal notranslate"><span class="pre">tokenizer_list</span></code></a></li> |
| 471 |
<li class="toctree-l2"><a class="reference internal" href="commands/truncate.html">7.3.73. <code class="docutils literal notranslate"><span class="pre">truncate</span></code></a></li> |
| 472 |
</ul> |
| 473 |
</details></li> |
| 474 |
<li class="toctree-l1 current active"><a class="current reference internal" href="#">7.4. Data types</a></li> |
| 475 |
<li class="toctree-l1"><a class="reference internal" href="tables.html">7.5. Tables</a></li> |
| 476 |
<li class="toctree-l1 has-children"><a class="reference internal" href="column.html">7.6. Column</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 477 |
<li class="toctree-l2"><a class="reference internal" href="columns/scalar.html">7.6.2.1. Scalar column</a></li> |
| 478 |
<li class="toctree-l2"><a class="reference internal" href="columns/vector.html">7.6.2.2. Vector column</a></li> |
| 479 |
<li class="toctree-l2"><a class="reference internal" href="columns/pseudo.html">7.6.2.3. Pseudo column</a></li> |
| 480 |
<li class="toctree-l2"><a class="reference internal" href="columns/index.html">7.6.3.1. Index column</a></li> |
| 481 |
</ul> |
| 482 |
</details></li> |
| 483 |
<li class="toctree-l1 has-children"><a class="reference internal" href="extractors.html">7.7. Extractors</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 484 |
<li class="toctree-l2"><a class="reference internal" href="extractors/extractor_html.html">7.7.2.1. <code class="docutils literal notranslate"><span class="pre">ExtractorHTML</span></code></a></li> |
| 485 |
<li class="toctree-l2"><a class="reference internal" href="extractors/extractor_json.html">7.7.2.2. <code class="docutils literal notranslate"><span class="pre">ExtractorJSON</span></code></a></li> |
| 486 |
</ul> |
| 487 |
</details></li> |
| 488 |
<li class="toctree-l1 has-children"><a class="reference internal" href="normalizers.html">7.8. Normalizers</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 489 |
<li class="toctree-l2"><a class="reference internal" href="normalizers/normalizer_auto.html">7.8.2.1. <code class="docutils literal notranslate"><span class="pre">NormalizerAuto</span></code></a></li> |
| 490 |
<li class="toctree-l2"><a class="reference internal" href="normalizers/normalizer_nfkc.html">7.8.2.2. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC</span></code></a></li> |
| 491 |
<li class="toctree-l2"><a class="reference internal" href="normalizers/normalizer_nfkc100.html">7.8.2.3. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC100</span></code></a></li> |
| 492 |
<li class="toctree-l2"><a class="reference internal" href="normalizers/normalizer_nfkc121.html">7.8.2.4. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC121</span></code></a></li> |
| 493 |
<li class="toctree-l2"><a class="reference internal" href="normalizers/normalizer_nfkc130.html">7.8.2.5. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC130</span></code></a></li> |
| 494 |
<li class="toctree-l2"><a class="reference internal" href="normalizers/normalizer_nfkc150.html">7.8.2.6. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC150</span></code></a></li> |
| 495 |
<li class="toctree-l2"><a class="reference internal" href="normalizers/normalizer_nfkc51.html">7.8.2.7. <code class="docutils literal notranslate"><span class="pre">NormalizerNFKC51</span></code></a></li> |
| 496 |
<li class="toctree-l2"><a class="reference internal" href="normalizers/normalizer_table.html">7.8.2.8. <code class="docutils literal notranslate"><span class="pre">NormalizerTable</span></code></a></li> |
| 497 |
</ul> |
| 498 |
</details></li> |
| 499 |
<li class="toctree-l1 has-children"><a class="reference internal" href="tokenizers.html">7.9. Tokenizers</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 500 |
<li class="toctree-l2"><a class="reference internal" href="tokenizer/summary.html">7.9.1. Summary</a></li> |
| 501 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_bigram.html">7.9.2. <code class="docutils literal notranslate"><span class="pre">TokenBigram</span></code></a></li> |
| 502 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_bigram_ignore_blank.html">7.9.3. <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlank</span></code></a></li> |
| 503 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_bigram_ignore_blank_split_symbol.html">7.9.4. <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlankSplitSymbol</span></code></a></li> |
| 504 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html">7.9.5. <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlankSplitSymbolAlpha</span></code></a></li> |
| 505 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html">7.9.6. <code class="docutils literal notranslate"><span class="pre">TokenBigramIgnoreBlankSplitSymbolAlphaDigit</span></code></a></li> |
| 506 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_bigram_split_symbol.html">7.9.7. <code class="docutils literal notranslate"><span class="pre">TokenBigramSplitSymbol</span></code></a></li> |
| 507 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_bigram_split_symbol_alpha.html">7.9.8. <code class="docutils literal notranslate"><span class="pre">TokenBigramSplitSymbolAlpha</span></code></a></li> |
| 508 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_bigram_split_symbol_alpha_digit.html">7.9.9. <code class="docutils literal notranslate"><span class="pre">TokenBigramSplitSymbolAlphaDigit</span></code></a></li> |
| 509 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_delimit.html">7.9.10. <code class="docutils literal notranslate"><span class="pre">TokenDelimit</span></code></a></li> |
| 510 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_delimit_null.html">7.9.11. <code class="docutils literal notranslate"><span class="pre">TokenDelimitNull</span></code></a></li> |
| 511 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_language_model_knn.html">7.9.12. <code class="docutils literal notranslate"><span class="pre">TokenLanguageModelKNN</span></code></a></li> |
| 512 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_mecab.html">7.9.13. <code class="docutils literal notranslate"><span class="pre">TokenMecab</span></code></a></li> |
| 513 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_ngram.html">7.9.14. <code class="docutils literal notranslate"><span class="pre">TokenNgram</span></code></a></li> |
| 514 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_pattern.html">7.9.15. <code class="docutils literal notranslate"><span class="pre">TokenPattern</span></code></a></li> |
| 515 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_regexp.html">7.9.16. <code class="docutils literal notranslate"><span class="pre">TokenRegexp</span></code></a></li> |
| 516 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_table.html">7.9.17. <code class="docutils literal notranslate"><span class="pre">TokenTable</span></code></a></li> |
| 517 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_trigram.html">7.9.18. <code class="docutils literal notranslate"><span class="pre">TokenTrigram</span></code></a></li> |
| 518 |
<li class="toctree-l2"><a class="reference internal" href="tokenizers/token_unigram.html">7.9.19. <code class="docutils literal notranslate"><span class="pre">TokenUnigram</span></code></a></li> |
| 519 |
</ul> |
| 520 |
</details></li> |
| 521 |
<li class="toctree-l1 has-children"><a class="reference internal" href="token_filters.html">7.10. Token filters</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 522 |
<li class="toctree-l2"><a class="reference internal" href="token_filter/summary.html">7.10.1. Summary</a></li> |
| 523 |
<li class="toctree-l2"><a class="reference internal" href="token_filters/token_filter_nfkc.html">7.10.2. <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC</span></code></a></li> |
| 524 |
<li class="toctree-l2"><a class="reference internal" href="token_filters/token_filter_nfkc100.html">7.10.3. <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC100</span></code></a></li> |
| 525 |
<li class="toctree-l2"><a class="reference internal" href="token_filters/token_filter_nfkc150.html">7.10.4. <code class="docutils literal notranslate"><span class="pre">TokenFilterNFKC150</span></code></a></li> |
| 526 |
<li class="toctree-l2"><a class="reference internal" href="token_filters/token_filter_stem.html">7.10.5. <code class="docutils literal notranslate"><span class="pre">TokenFilterStem</span></code></a></li> |
| 527 |
<li class="toctree-l2"><a class="reference internal" href="token_filters/token_filter_stop_word.html">7.10.6. <code class="docutils literal notranslate"><span class="pre">TokenFilterStopWord</span></code></a></li> |
| 528 |
</ul> |
| 529 |
</details></li> |
| 530 |
<li class="toctree-l1 has-children"><a class="reference internal" href="query_expanders.html">7.11. Query expanders</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 531 |
<li class="toctree-l2"><a class="reference internal" href="query_expanders/tsv.html">7.11.1. QueryExpanderTSV</a></li> |
| 532 |
</ul> |
| 533 |
</details></li> |
| 534 |
<li class="toctree-l1 has-children"><a class="reference internal" href="scorer.html">7.12. Scorer</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 535 |
<li class="toctree-l2"><a class="reference internal" href="scorers/scorer_tf_at_most.html">7.12.3.1. <code class="docutils literal notranslate"><span class="pre">scorer_tf_at_most</span></code></a></li> |
| 536 |
<li class="toctree-l2"><a class="reference internal" href="scorers/scorer_tf_idf.html">7.12.3.2. <code class="docutils literal notranslate"><span class="pre">scorer_tf_idf</span></code></a></li> |
| 537 |
</ul> |
| 538 |
</details></li> |
| 539 |
<li class="toctree-l1"><a class="reference internal" href="cast.html">7.13. Cast</a></li> |
| 540 |
<li class="toctree-l1 has-children"><a class="reference internal" href="grn_expr.html">7.14. grn_expr</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 541 |
<li class="toctree-l2"><a class="reference internal" href="grn_expr/query_syntax.html">7.14.1. Query syntax</a></li> |
| 542 |
<li class="toctree-l2"><a class="reference internal" href="grn_expr/script_syntax.html">7.14.2. Script syntax</a></li> |
| 543 |
</ul> |
| 544 |
</details></li> |
| 545 |
<li class="toctree-l1"><a class="reference internal" href="regular_expression.html">7.15. Regular expression</a></li> |
| 546 |
<li class="toctree-l1 has-children"><a class="reference internal" href="function.html">7.16. Function</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 547 |
<li class="toctree-l2"><a class="reference internal" href="functions/between.html">7.16.1. <code class="docutils literal notranslate"><span class="pre">between</span></code></a></li> |
| 548 |
<li class="toctree-l2"><a class="reference internal" href="functions/cast_loose.html">7.16.2. <code class="docutils literal notranslate"><span class="pre">cast_loose</span></code></a></li> |
| 549 |
<li class="toctree-l2"><a class="reference internal" href="functions/edit_distance.html">7.16.3. edit_distance</a></li> |
| 550 |
<li class="toctree-l2"><a class="reference internal" href="functions/escalate.html">7.16.4. <code class="docutils literal notranslate"><span class="pre">escalate</span></code></a></li> |
| 551 |
<li class="toctree-l2"><a class="reference internal" href="functions/fuzzy_search.html">7.16.5. <code class="docutils literal notranslate"><span class="pre">fuzzy_search</span></code></a></li> |
| 552 |
<li class="toctree-l2"><a class="reference internal" href="functions/geo_distance.html">7.16.6. <code class="docutils literal notranslate"><span class="pre">geo_distance</span></code></a></li> |
| 553 |
<li class="toctree-l2"><a class="reference internal" href="functions/geo_in_circle.html">7.16.7. geo_in_circle</a></li> |
| 554 |
<li class="toctree-l2"><a class="reference internal" href="functions/geo_in_rectangle.html">7.16.8. geo_in_rectangle</a></li> |
| 555 |
<li class="toctree-l2"><a class="reference internal" href="functions/highlight.html">7.16.9. <code class="docutils literal notranslate"><span class="pre">highlight</span></code></a></li> |
| 556 |
<li class="toctree-l2"><a class="reference internal" href="functions/highlight_full.html">7.16.10. <code class="docutils literal notranslate"><span class="pre">highlight_full</span></code></a></li> |
| 557 |
<li class="toctree-l2"><a class="reference internal" href="functions/highlight_html.html">7.16.11. <code class="docutils literal notranslate"><span class="pre">highlight_html</span></code></a></li> |
| 558 |
<li class="toctree-l2"><a class="reference internal" href="functions/html_untag.html">7.16.12. <code class="docutils literal notranslate"><span class="pre">html_untag</span></code></a></li> |
| 559 |
<li class="toctree-l2"><a class="reference internal" href="functions/in_records.html">7.16.13. <code class="docutils literal notranslate"><span class="pre">in_records</span></code></a></li> |
| 560 |
<li class="toctree-l2"><a class="reference internal" href="functions/in_values.html">7.16.14. <code class="docutils literal notranslate"><span class="pre">in_values</span></code></a></li> |
| 561 |
<li class="toctree-l2"><a class="reference internal" href="functions/json_extract.html">7.16.15. <code class="docutils literal notranslate"><span class="pre">json_extract</span></code></a></li> |
| 562 |
<li class="toctree-l2"><a class="reference internal" href="functions/language_model_knn.html">7.16.16. <code class="docutils literal notranslate"><span class="pre">language_model_knn</span></code></a></li> |
| 563 |
<li class="toctree-l2"><a class="reference internal" href="functions/language_model_vectorize.html">7.16.17. <code class="docutils literal notranslate"><span class="pre">language_model_vectorize</span></code></a></li> |
| 564 |
<li class="toctree-l2"><a class="reference internal" href="functions/math_abs.html">7.16.18. <code class="docutils literal notranslate"><span class="pre">math_abs</span></code></a></li> |
| 565 |
<li class="toctree-l2"><a class="reference internal" href="functions/now.html">7.16.19. now</a></li> |
| 566 |
<li class="toctree-l2"><a class="reference internal" href="functions/number_classify.html">7.16.20. <code class="docutils literal notranslate"><span class="pre">number_classify</span></code></a></li> |
| 567 |
<li class="toctree-l2"><a class="reference internal" href="functions/prefix_rk_search.html">7.16.21. <code class="docutils literal notranslate"><span class="pre">prefix_rk_search</span></code></a></li> |
| 568 |
<li class="toctree-l2"><a class="reference internal" href="functions/query.html">7.16.22. <code class="docutils literal notranslate"><span class="pre">query</span></code></a></li> |
| 569 |
<li class="toctree-l2"><a class="reference internal" href="functions/query_parallel_or.html">7.16.23. <code class="docutils literal notranslate"><span class="pre">query_parallel_or</span></code></a></li> |
| 570 |
<li class="toctree-l2"><a class="reference internal" href="functions/rand.html">7.16.24. rand</a></li> |
| 571 |
<li class="toctree-l2"><a class="reference internal" href="functions/snippet.html">7.16.25. <code class="docutils literal notranslate"><span class="pre">snippet</span></code></a></li> |
| 572 |
<li class="toctree-l2"><a class="reference internal" href="functions/snippet_html.html">7.16.26. <code class="docutils literal notranslate"><span class="pre">snippet_html</span></code></a></li> |
| 573 |
<li class="toctree-l2"><a class="reference internal" href="functions/string_length.html">7.16.27. <code class="docutils literal notranslate"><span class="pre">string_length</span></code></a></li> |
| 574 |
<li class="toctree-l2"><a class="reference internal" href="functions/string_slice.html">7.16.28. <code class="docutils literal notranslate"><span class="pre">string_slice</span></code></a></li> |
| 575 |
<li class="toctree-l2"><a class="reference internal" href="functions/string_substring.html">7.16.29. <code class="docutils literal notranslate"><span class="pre">string_substring</span></code></a></li> |
| 576 |
<li class="toctree-l2"><a class="reference internal" href="functions/string_truncate.html">7.16.30. <code class="docutils literal notranslate"><span class="pre">string_truncate</span></code></a></li> |
| 577 |
<li class="toctree-l2"><a class="reference internal" href="functions/sub_filter.html">7.16.31. <code class="docutils literal notranslate"><span class="pre">sub_filter</span></code></a></li> |
| 578 |
<li class="toctree-l2"><a class="reference internal" href="functions/time_classify_day.html">7.16.32. <code class="docutils literal notranslate"><span class="pre">time_classify_day</span></code></a></li> |
| 579 |
<li class="toctree-l2"><a class="reference internal" href="functions/time_classify_day_of_week.html">7.16.33. <code class="docutils literal notranslate"><span class="pre">time_classify_day_of_week</span></code></a></li> |
| 580 |
<li class="toctree-l2"><a class="reference internal" href="functions/time_classify_hour.html">7.16.34. <code class="docutils literal notranslate"><span class="pre">time_classify_hour</span></code></a></li> |
| 581 |
<li class="toctree-l2"><a class="reference internal" href="functions/time_classify_minute.html">7.16.35. <code class="docutils literal notranslate"><span class="pre">time_classify_minute</span></code></a></li> |
| 582 |
<li class="toctree-l2"><a class="reference internal" href="functions/time_classify_month.html">7.16.36. <code class="docutils literal notranslate"><span class="pre">time_classify_month</span></code></a></li> |
| 583 |
<li class="toctree-l2"><a class="reference internal" href="functions/time_classify_second.html">7.16.37. <code class="docutils literal notranslate"><span class="pre">time_classify_second</span></code></a></li> |
| 584 |
<li class="toctree-l2"><a class="reference internal" href="functions/time_classify_week.html">7.16.38. <code class="docutils literal notranslate"><span class="pre">time_classify_week</span></code></a></li> |
| 585 |
<li class="toctree-l2"><a class="reference internal" href="functions/time_classify_year.html">7.16.39. <code class="docutils literal notranslate"><span class="pre">time_classify_year</span></code></a></li> |
| 586 |
<li class="toctree-l2"><a class="reference internal" href="functions/vector_find.html">7.16.40. <code class="docutils literal notranslate"><span class="pre">vector_find</span></code></a></li> |
| 587 |
<li class="toctree-l2"><a class="reference internal" href="functions/vector_new.html">7.16.41. <code class="docutils literal notranslate"><span class="pre">vector_new</span></code></a></li> |
| 588 |
<li class="toctree-l2"><a class="reference internal" href="functions/vector_size.html">7.16.42. <code class="docutils literal notranslate"><span class="pre">vector_size</span></code></a></li> |
| 589 |
<li class="toctree-l2"><a class="reference internal" href="functions/vector_slice.html">7.16.43. <code class="docutils literal notranslate"><span class="pre">vector_slice</span></code></a></li> |
| 590 |
</ul> |
| 591 |
</details></li> |
| 592 |
<li class="toctree-l1 has-children"><a class="reference internal" href="window_function.html">7.17. Window function</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 593 |
<li class="toctree-l2"><a class="reference internal" href="window_functions/record_number.html">7.17.1. <code class="docutils literal notranslate"><span class="pre">record_number</span></code></a></li> |
| 594 |
<li class="toctree-l2"><a class="reference internal" href="window_functions/window_count.html">7.17.2. <code class="docutils literal notranslate"><span class="pre">window_count</span></code></a></li> |
| 595 |
<li class="toctree-l2"><a class="reference internal" href="window_functions/window_rank.html">7.17.3. <code class="docutils literal notranslate"><span class="pre">window_rank</span></code></a></li> |
| 596 |
<li class="toctree-l2"><a class="reference internal" href="window_functions/window_record_number.html">7.17.4. <code class="docutils literal notranslate"><span class="pre">window_record_number</span></code></a></li> |
| 597 |
<li class="toctree-l2"><a class="reference internal" href="window_functions/window_sum.html">7.17.5. <code class="docutils literal notranslate"><span class="pre">window_sum</span></code></a></li> |
| 598 |
</ul> |
| 599 |
</details></li> |
| 600 |
<li class="toctree-l1 has-children"><a class="reference internal" href="operations.html">7.18. Operations</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 601 |
<li class="toctree-l2"><a class="reference internal" href="operations/geolocation_search.html">7.18.1. Geolocation search</a></li> |
| 602 |
<li class="toctree-l2"><a class="reference internal" href="operations/prefix_rk_search.html">7.18.2. Prefix RK search</a></li> |
| 603 |
</ul> |
| 604 |
</details></li> |
| 605 |
<li class="toctree-l1"><a class="reference internal" href="configuration.html">7.19. Configuration</a></li> |
| 606 |
<li class="toctree-l1"><a class="reference internal" href="alias.html">7.20. Alias</a></li> |
| 607 |
<li class="toctree-l1 has-children"><a class="reference internal" href="suggest.html">7.21. Suggest</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 608 |
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html">7.21.1. Introduction</a></li> |
| 609 |
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html">7.21.2. Completion</a></li> |
| 610 |
<li class="toctree-l2"><a class="reference internal" href="suggest/correction.html">7.21.3. Correction</a></li> |
| 611 |
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html">7.21.4. Suggestion</a></li> |
| 612 |
</ul> |
| 613 |
</details></li> |
| 614 |
<li class="toctree-l1"><a class="reference internal" href="indexing.html">7.22. Indexing</a></li> |
| 615 |
<li class="toctree-l1"><a class="reference internal" href="sharding.html">7.23. Sharding</a></li> |
| 616 |
<li class="toctree-l1"><a class="reference internal" href="language_model.html">7.24. Language model</a></li> |
| 617 |
<li class="toctree-l1"><a class="reference internal" href="log.html">7.25. Log</a></li> |
| 618 |
<li class="toctree-l1"><a class="reference internal" href="tuning.html">7.26. Tuning</a></li> |
| 619 |
<li class="toctree-l1 has-children"><a class="reference internal" href="api.html">7.27. API</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 620 |
<li class="toctree-l2"><a class="reference internal" href="api/overview.html">7.27.1.1. Overview</a></li> |
| 621 |
<li class="toctree-l2"><a class="reference internal" href="api/global_configurations.html">7.27.1.2. Global configurations</a></li> |
| 622 |
<li class="toctree-l2"><a class="reference internal" href="api/plugin.html">7.27.1.3. Plugin</a></li> |
| 623 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_cache.html">7.27.1.4. <code class="docutils literal notranslate"><span class="pre">grn_cache</span></code></a></li> |
| 624 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_column.html">7.27.1.5. <code class="docutils literal notranslate"><span class="pre">grn_column</span></code></a></li> |
| 625 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_command_version.html">7.27.1.6. <code class="docutils literal notranslate"><span class="pre">grn_command_version</span></code></a></li> |
| 626 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_content_type.html">7.27.1.7. <code class="docutils literal notranslate"><span class="pre">grn_content_type</span></code></a></li> |
| 627 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_ctx.html">7.27.1.8. <code class="docutils literal notranslate"><span class="pre">grn_ctx</span></code></a></li> |
| 628 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_db.html">7.27.1.9. <code class="docutils literal notranslate"><span class="pre">grn_db</span></code></a></li> |
| 629 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_encoding.html">7.27.1.10. <code class="docutils literal notranslate"><span class="pre">grn_encoding</span></code></a></li> |
| 630 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_expr.html">7.27.1.11. grn_expr</a></li> |
| 631 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_geo.html">7.27.1.12. <code class="docutils literal notranslate"><span class="pre">grn_geo</span></code></a></li> |
| 632 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_hook.html">7.27.1.13. <code class="docutils literal notranslate"><span class="pre">grn_hook</span></code></a></li> |
| 633 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_ii.html">7.27.1.14. <code class="docutils literal notranslate"><span class="pre">grn_ii</span></code></a></li> |
| 634 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_index_cursor.html">7.27.1.15. <code class="docutils literal notranslate"><span class="pre">grn_index_cursor</span></code></a></li> |
| 635 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_info.html">7.27.1.16. <code class="docutils literal notranslate"><span class="pre">grn_info</span></code></a></li> |
| 636 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_inspect.html">7.27.1.17. <code class="docutils literal notranslate"><span class="pre">grn_inspect</span></code></a></li> |
| 637 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_match_escalation.html">7.27.1.18. <code class="docutils literal notranslate"><span class="pre">grn_match_escalation</span></code></a></li> |
| 638 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_obj.html">7.27.1.19. <code class="docutils literal notranslate"><span class="pre">grn_obj</span></code></a></li> |
| 639 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_proc.html">7.27.1.20. <code class="docutils literal notranslate"><span class="pre">grn_proc</span></code></a></li> |
| 640 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_search.html">7.27.1.21. <code class="docutils literal notranslate"><span class="pre">grn_search</span></code></a></li> |
| 641 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_table.html">7.27.1.22. <code class="docutils literal notranslate"><span class="pre">grn_table</span></code></a></li> |
| 642 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_table_cursor.html">7.27.1.23. <code class="docutils literal notranslate"><span class="pre">grn_table_cursor</span></code></a></li> |
| 643 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_thread.html">7.27.1.24. <code class="docutils literal notranslate"><span class="pre">grn_thread_*</span></code></a></li> |
| 644 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_type.html">7.27.1.25. <code class="docutils literal notranslate"><span class="pre">grn_type</span></code></a></li> |
| 645 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_user_data.html">7.27.1.26. <code class="docutils literal notranslate"><span class="pre">grn_user_data</span></code></a></li> |
| 646 |
</ul> |
| 647 |
</details></li> |
| 648 |
</ul> |
| 649 |
</div> |
| 650 |
</nav></div> |
| 651 |
</div> |
| 652 |
|
| 653 |
|
| 654 |
<div class="sidebar-primary-items__end sidebar-primary__section"> |
| 655 |
<div class="sidebar-primary-item"> |
| 656 |
<div id="ethical-ad-placement" |
| 657 |
class="flat" |
| 658 |
data-ea-publisher="readthedocs" |
| 659 |
data-ea-type="readthedocs-sidebar" |
| 660 |
data-ea-manual="true"> |
| 661 |
</div></div> |
| 662 |
</div> |
| 663 |
|
| 664 |
|
| 665 |
</div> |
| 666 |
|
| 667 |
<main id="main-content" class="bd-main" role="main"> |
| 668 |
|
| 669 |
|
| 670 |
<div class="bd-content"> |
| 671 |
<div class="bd-article-container"> |
| 672 |
|
| 673 |
<div class="bd-header-article d-print-none"> |
| 674 |
<div class="header-article-items header-article__inner"> |
| 675 |
|
| 676 |
<div class="header-article-items__start"> |
| 677 |
|
| 678 |
<div class="header-article-item"> |
| 679 |
|
| 680 |
<nav aria-label="Breadcrumb" class="d-print-none"> |
| 681 |
<ul class="bd-breadcrumbs"> |
| 682 |
|
| 683 |
<li class="breadcrumb-item breadcrumb-home"> |
| 684 |
<a href="../index.html" class="nav-link" aria-label="Home"> |
| 685 |
<i class="fa-solid fa-home"></i> |
| 686 |
</a> |
| 687 |
</li> |
| 688 |
|
| 689 |
<li class="breadcrumb-item"><a href="../reference.html" class="nav-link"><span class="section-number">7. </span>Reference manual</a></li> |
| 690 |
|
| 691 |
<li class="breadcrumb-item active" aria-current="page"><span class="ellipsis"><span class="section-number">7.4. </span>Data types</span></li> |
| 692 |
</ul> |
| 693 |
</nav> |
| 694 |
</div> |
| 695 |
|
| 696 |
</div> |
| 697 |
|
| 698 |
|
| 699 |
</div> |
| 700 |
</div> |
| 701 |
|
| 702 |
|
| 703 |
|
| 704 |
|
| 705 |
<div id="searchbox"></div> |
| 706 |
<article class="bd-article"> |
| 707 |
|
| 708 |
<section id="data-types"> |
| 709 |
<h1><span class="section-number">7.4. </span>Data types<a class="headerlink" href="#data-types" title="Link to this heading">#</a></h1> |
| 710 |
<section id="name"> |
| 711 |
<h2><span class="section-number">7.4.1. </span>Name<a class="headerlink" href="#name" title="Link to this heading">#</a></h2> |
| 712 |
<p>Groonga data types</p> |
| 713 |
</section> |
| 714 |
<section id="description"> |
| 715 |
<h2><span class="section-number">7.4.2. </span>Description<a class="headerlink" href="#description" title="Link to this heading">#</a></h2> |
| 716 |
<p>Groonga identifies data types to store.</p> |
| 717 |
<p>A primary key of table and column value belong to some kind of data types in Groonga database. And normally, column values become in common with all records in one table.</p> |
| 718 |
<p>A primary key type and column type can be specified Groonga defined types, user defined types or user defined table.</p> |
| 719 |
<p>If you specify other table to primary key type, this table becomes subset of the table of primary key type.</p> |
| 720 |
<p>If you specify other table to column type, this column becomes reference key of the table of column type.</p> |
| 721 |
</section> |
| 722 |
<section id="builtin-types"> |
| 723 |
<h2><span class="section-number">7.4.3. </span>Builtin types<a class="headerlink" href="#builtin-types" title="Link to this heading">#</a></h2> |
| 724 |
<p>The following types are defined as builtin types.</p> |
| 725 |
<section id="bool"> |
| 726 |
<span id="builtin-type-bool"></span><h3><span class="section-number">7.4.3.1. </span><code class="docutils literal notranslate"><span class="pre">Bool</span></code><a class="headerlink" href="#bool" title="Link to this heading">#</a></h3> |
| 727 |
<p>Boolean type. The possible values are true and false. (default: false)</p> |
| 728 |
<p>To store a value by <a class="reference internal" href="commands/load.html"><span class="doc">load</span></a> command, becomes false if you specify false, 0 or empty string, becomes true if you specify others.</p> |
| 729 |
</section> |
| 730 |
<section id="int8"> |
| 731 |
<span id="builtin-type-int8"></span><h3><span class="section-number">7.4.3.2. </span><code class="docutils literal notranslate"><span class="pre">Int8</span></code><a class="headerlink" href="#int8" title="Link to this heading">#</a></h3> |
| 732 |
<p>Signed 8bit integer. It’s -128 or more and 127 or less. (default: 0)</p> |
| 733 |
</section> |
| 734 |
<section id="uint8"> |
| 735 |
<span id="builtin-type-uint8"></span><h3><span class="section-number">7.4.3.3. </span><code class="docutils literal notranslate"><span class="pre">UInt8</span></code><a class="headerlink" href="#uint8" title="Link to this heading">#</a></h3> |
| 736 |
<p>Unsigned 8bit integer. Is’t 0 or more and 255 or less. (default: 0)</p> |
| 737 |
</section> |
| 738 |
<section id="int16"> |
| 739 |
<span id="builtin-type-int16"></span><h3><span class="section-number">7.4.3.4. </span><code class="docutils literal notranslate"><span class="pre">Int16</span></code><a class="headerlink" href="#int16" title="Link to this heading">#</a></h3> |
| 740 |
<p>Signed 16bit integer. It’s -32,768 or more and 32,767 or less. (default: 0)</p> |
| 741 |
</section> |
| 742 |
<section id="uint16"> |
| 743 |
<span id="builtin-type-uint16"></span><h3><span class="section-number">7.4.3.5. </span><code class="docutils literal notranslate"><span class="pre">UInt16</span></code><a class="headerlink" href="#uint16" title="Link to this heading">#</a></h3> |
| 744 |
<p>Unsigned 16bit integer. It’s 0 or more and 65,535 or less. (default: 0)</p> |
| 745 |
</section> |
| 746 |
<section id="int32"> |
| 747 |
<span id="builtin-type-int32"></span><h3><span class="section-number">7.4.3.6. </span><code class="docutils literal notranslate"><span class="pre">Int32</span></code><a class="headerlink" href="#int32" title="Link to this heading">#</a></h3> |
| 748 |
<p>Signed 32bit integer. It’s -2,147,483,648 or more and 2,147,483,647 or less. (default: 0)</p> |
| 749 |
</section> |
| 750 |
<section id="uint32"> |
| 751 |
<span id="builtin-type-uint32"></span><h3><span class="section-number">7.4.3.7. </span><code class="docutils literal notranslate"><span class="pre">UInt32</span></code><a class="headerlink" href="#uint32" title="Link to this heading">#</a></h3> |
| 752 |
<p>Unsigned 32bit integer. It’s 0 or more and 4,294,967,295 or less. (default: 0)</p> |
| 753 |
</section> |
| 754 |
<section id="int64"> |
| 755 |
<span id="builtin-type-int64"></span><h3><span class="section-number">7.4.3.8. </span><code class="docutils literal notranslate"><span class="pre">Int64</span></code><a class="headerlink" href="#int64" title="Link to this heading">#</a></h3> |
| 756 |
<p>Signed 64bit integer. It’s -9,223,372,036,854,775,808 or more and 9,223,372,036,854,775,807 or less. (default: 0)</p> |
| 757 |
</section> |
| 758 |
<section id="uint64"> |
| 759 |
<span id="builtin-type-uint64"></span><h3><span class="section-number">7.4.3.9. </span><code class="docutils literal notranslate"><span class="pre">UInt64</span></code><a class="headerlink" href="#uint64" title="Link to this heading">#</a></h3> |
| 760 |
<p>Unsigned 64bit integer. It’s 0 or more and 18,446,744,073,709,551,615 or less. (default: 0)</p> |
| 761 |
</section> |
| 762 |
<section id="float32"> |
| 763 |
<span id="builtin-type-float32"></span><h3><span class="section-number">7.4.3.10. </span><code class="docutils literal notranslate"><span class="pre">Float32</span></code><a class="headerlink" href="#float32" title="Link to this heading">#</a></h3> |
| 764 |
<div class="versionadded"> |
| 765 |
<p><span class="versionmodified added">Added in version 10.0.2.</span></p> |
| 766 |
</div> |
| 767 |
<p>Single-precision floating-point number of IEEE 754 as a real number. (default: 0.0)</p> |
| 768 |
<p>See <a class="reference external" href="http://en.wikipedia.org/wiki/IEEE_floating_point">IEEE floating point - Wikipedia, the free encyclopedia</a> or <a class="reference external" href="http://grouper.ieee.org/groups/754/">IEEE 754: Standard for Binary Floating-Point</a> for details of IEEE 754 format.</p> |
| 769 |
</section> |
| 770 |
<section id="float"> |
| 771 |
<span id="builtin-type-float"></span><h3><span class="section-number">7.4.3.11. </span><code class="docutils literal notranslate"><span class="pre">Float</span></code><a class="headerlink" href="#float" title="Link to this heading">#</a></h3> |
| 772 |
<p>Double-precision floating-point number of IEEE 754 as a real number. (default: 0.0)</p> |
| 773 |
<p>See <a class="reference external" href="http://en.wikipedia.org/wiki/IEEE_floating_point">IEEE floating point - Wikipedia, the free encyclopedia</a> or <a class="reference external" href="http://grouper.ieee.org/groups/754/">IEEE 754: Standard for Binary Floating-Point</a> for details of IEEE 754 format.</p> |
| 774 |
</section> |
| 775 |
<section id="time"> |
| 776 |
<span id="builtin-type-time"></span><h3><span class="section-number">7.4.3.12. </span><code class="docutils literal notranslate"><span class="pre">Time</span></code><a class="headerlink" href="#time" title="Link to this heading">#</a></h3> |
| 777 |
<p>Date and Time, the number of seconds that have elapsed since 1970-01-01 00:00:00 by 64 bit signed integer. (default: 0)</p> |
| 778 |
<p>To store a value by <a class="reference internal" href="commands/load.html"><span class="doc">load</span></a> command, specifies the number of elapsed seconds since 1970-01-01 00:00:00. To specify the detailed date and time than seconds, use the decimal.</p> |
| 779 |
</section> |
| 780 |
<section id="shorttext"> |
| 781 |
<span id="builtin-type-short-text"></span><h3><span class="section-number">7.4.3.13. </span><code class="docutils literal notranslate"><span class="pre">ShortText</span></code><a class="headerlink" href="#shorttext" title="Link to this heading">#</a></h3> |
| 782 |
<p>String of 4,095 or less bytes. (default: “”)</p> |
| 783 |
</section> |
| 784 |
<section id="text"> |
| 785 |
<span id="builtin-type-text"></span><h3><span class="section-number">7.4.3.14. </span><code class="docutils literal notranslate"><span class="pre">Text</span></code><a class="headerlink" href="#text" title="Link to this heading">#</a></h3> |
| 786 |
<p>String of 65,535 or less bytes. (default: “”)</p> |
| 787 |
</section> |
| 788 |
<section id="longtext"> |
| 789 |
<span id="builtin-type-long-text"></span><h3><span class="section-number">7.4.3.15. </span><code class="docutils literal notranslate"><span class="pre">LongText</span></code><a class="headerlink" href="#longtext" title="Link to this heading">#</a></h3> |
| 790 |
<p>String of 2,147,483,647 or less bytes. (default: “”)</p> |
| 791 |
</section> |
| 792 |
<section id="tokyogeopoint"> |
| 793 |
<span id="builtin-type-tokyo-geo-point"></span><h3><span class="section-number">7.4.3.16. </span><code class="docutils literal notranslate"><span class="pre">TokyoGeoPoint</span></code><a class="headerlink" href="#tokyogeopoint" title="Link to this heading">#</a></h3> |
| 794 |
<p>旧日本測地系による経緯度であり、経度と緯度をミリ秒単位で表現した整数の組により表現します。(デフォルト値: 0x0)</p> |
| 795 |
<p>度分秒形式でx度y分z秒となる経度・緯度は、(((x * 60) + y) * 60 + z) * 1000という計算式でミリ秒単位へと変換されます。</p> |
| 796 |
<p><a class="reference internal" href="commands/load.html"><span class="doc">load</span></a> コマンドで値を格納するときは、”ミリ秒単位の経度xミリ秒単位の緯度” もしくは “経度の小数表記x緯度の小数表記” という文字列表現を使って指定します。経度と緯度の区切りとしては、’x’ のほかに ‘,’ を使うことができます。</p> |
| 797 |
<p>測地系の詳細については、 <a class="reference external" href="http://ja.wikipedia.org/wiki/%E6%B8%AC%E5%9C%B0%E7%B3%BB">測地系 - Wikipedia</a> を参照してください。</p> |
| 798 |
</section> |
| 799 |
<section id="wgs84geopoint"> |
| 800 |
<span id="builtin-type-wgs84-geo-point"></span><h3><span class="section-number">7.4.3.17. </span><code class="docutils literal notranslate"><span class="pre">WGS84GeoPoint</span></code><a class="headerlink" href="#wgs84geopoint" title="Link to this heading">#</a></h3> |
| 801 |
<p>世界測地系(World Geodetic System, WGS 84)による経緯度であり、経度と緯度をミリ秒単位で表現した整数の組により表現します。(デフォルト値: 0x0)</p> |
| 802 |
<p>度分秒形式からミリ秒形式への変換方法や <a class="reference internal" href="commands/load.html"><span class="doc">load</span></a> コマンドにおける指定方法はTokyoGeoPointと同じです。</p> |
| 803 |
</section> |
| 804 |
<section id="shortbinary"> |
| 805 |
<span id="builtin-type-short-binary"></span><h3><span class="section-number">7.4.3.18. </span><code class="docutils literal notranslate"><span class="pre">ShortBinary</span></code><a class="headerlink" href="#shortbinary" title="Link to this heading">#</a></h3> |
| 806 |
<div class="versionadded"> |
| 807 |
<p><span class="versionmodified added">Added in version 15.1.8.</span></p> |
| 808 |
</div> |
| 809 |
<div class="admonition note"> |
| 810 |
<p class="admonition-title">Note</p> |
| 811 |
<p>This is an experimental feature. Currently, this feature is still not stable.</p> |
| 812 |
</div> |
| 813 |
<p>Binary of 4,095 or less bytes. (default: “”)</p> |
| 814 |
</section> |
| 815 |
<section id="binary"> |
| 816 |
<span id="builtin-type-binary"></span><h3><span class="section-number">7.4.3.19. </span><code class="docutils literal notranslate"><span class="pre">Binary</span></code><a class="headerlink" href="#binary" title="Link to this heading">#</a></h3> |
| 817 |
<div class="versionadded"> |
| 818 |
<p><span class="versionmodified added">Added in version 15.1.8.</span></p> |
| 819 |
</div> |
| 820 |
<div class="admonition note"> |
| 821 |
<p class="admonition-title">Note</p> |
| 822 |
<p>This is an experimental feature. Currently, this feature is still not stable.</p> |
| 823 |
</div> |
| 824 |
<p>Binary of 65,535 or less bytes. (default: “”)</p> |
| 825 |
</section> |
| 826 |
<section id="longbinary"> |
| 827 |
<span id="builtin-type-long-binary"></span><h3><span class="section-number">7.4.3.20. </span><code class="docutils literal notranslate"><span class="pre">LongBinary</span></code><a class="headerlink" href="#longbinary" title="Link to this heading">#</a></h3> |
| 828 |
<div class="versionadded"> |
| 829 |
<p><span class="versionmodified added">Added in version 15.1.8.</span></p> |
| 830 |
</div> |
| 831 |
<div class="admonition note"> |
| 832 |
<p class="admonition-title">Note</p> |
| 833 |
<p>This is an experimental feature. Currently, this feature is still not stable.</p> |
| 834 |
</div> |
| 835 |
<p>Binary of 2,147,483,647 or less bytes. (default: “”)</p> |
| 836 |
</section> |
| 837 |
</section> |
| 838 |
<section id="limitations-about-types"> |
| 839 |
<h2><span class="section-number">7.4.4. </span>Limitations about types<a class="headerlink" href="#limitations-about-types" title="Link to this heading">#</a></h2> |
| 840 |
<section id="types-that-can-t-be-specified-in-primary-key-of-table"> |
| 841 |
<h3><span class="section-number">7.4.4.1. </span>Types that can’t be specified in primary key of table<a class="headerlink" href="#types-that-can-t-be-specified-in-primary-key-of-table" title="Link to this heading">#</a></h3> |
| 842 |
<p><code class="docutils literal notranslate"><span class="pre">Text</span></code> and <code class="docutils literal notranslate"><span class="pre">LongText</span></code> can’t be specified in primary key of table.</p> |
| 843 |
</section> |
| 844 |
<section id="id3"> |
| 845 |
<h3><span class="section-number">7.4.4.2. </span>ベクターとして格納できない型<a class="headerlink" href="#id3" title="Link to this heading">#</a></h3> |
| 846 |
<p>Groongaのカラムは、ある型のベクターを保存することができます。しかし、ShortText, Text, LongTextの3つの型についてはベクターとして保存したり出力したりすることはできますが、検索条件やドリルダウン条件に指定することができません。</p> |
| 847 |
<p>テーブル型は、ベクターとして格納することができます。よって、ShortTextのベクターを検索条件やドリルダウン条件に使用したい場合には、主キーがShortText型のテーブルを別途作成し、そのテーブルを型として利用します。</p> |
| 848 |
</section> |
| 849 |
</section> |
| 850 |
</section> |
| 851 |
|
| 852 |
|
| 853 |
</article> |
| 854 |
|
| 855 |
|
| 856 |
|
| 857 |
|
| 858 |
|
| 859 |
<footer class="prev-next-footer d-print-none"> |
| 860 |
|
| 861 |
<div class="prev-next-area"> |
| 862 |
<a class="left-prev" |
| 863 |
href="commands/truncate.html" |
| 864 |
title="previous page"> |
| 865 |
<i class="fa-solid fa-angle-left"></i> |
| 866 |
<div class="prev-next-info"> |
| 867 |
<p class="prev-next-subtitle">previous</p> |
| 868 |
<p class="prev-next-title"><span class="section-number">7.3.73. </span><code class="docutils literal notranslate"><span class="pre">truncate</span></code></p> |
| 869 |
</div> |
| 870 |
</a> |
| 871 |
<a class="right-next" |
| 872 |
href="tables.html" |
| 873 |
title="next page"> |
| 874 |
<div class="prev-next-info"> |
| 875 |
<p class="prev-next-subtitle">next</p> |
| 876 |
<p class="prev-next-title"><span class="section-number">7.5. </span>Tables</p> |
| 877 |
</div> |
| 878 |
<i class="fa-solid fa-angle-right"></i> |
| 879 |
</a> |
| 880 |
</div> |
| 881 |
</footer> |
| 882 |
|
| 883 |
</div> |
| 884 |
|
| 885 |
|
| 886 |
|
| 887 |
<dialog id="pst-secondary-sidebar-modal"></dialog> |
| 888 |
<div id="pst-secondary-sidebar" class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner"> |
| 889 |
|
| 890 |
|
| 891 |
<div class="sidebar-secondary-item"> |
| 892 |
<div |
| 893 |
id="pst-page-navigation-heading-2" |
| 894 |
class="page-toc tocsection onthispage"> |
| 895 |
<i class="fa-solid fa-list"></i> On this page |
| 896 |
</div> |
| 897 |
<nav id="pst-page-toc-nav" class="page-toc" aria-labelledby="pst-page-navigation-heading-2"> |
| 898 |
<ul class="pst-show_toc_level nav section-nav flex-column"> |
| 899 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#name">7.4.1. Name</a></li> |
| 900 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#description">7.4.2. Description</a></li> |
| 901 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#builtin-types">7.4.3. Builtin types</a><ul class="nav section-nav flex-column"> |
| 902 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#bool">7.4.3.1. <code class="docutils literal notranslate"><span class="pre">Bool</span></code></a></li> |
| 903 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#int8">7.4.3.2. <code class="docutils literal notranslate"><span class="pre">Int8</span></code></a></li> |
| 904 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#uint8">7.4.3.3. <code class="docutils literal notranslate"><span class="pre">UInt8</span></code></a></li> |
| 905 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#int16">7.4.3.4. <code class="docutils literal notranslate"><span class="pre">Int16</span></code></a></li> |
| 906 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#uint16">7.4.3.5. <code class="docutils literal notranslate"><span class="pre">UInt16</span></code></a></li> |
| 907 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#int32">7.4.3.6. <code class="docutils literal notranslate"><span class="pre">Int32</span></code></a></li> |
| 908 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#uint32">7.4.3.7. <code class="docutils literal notranslate"><span class="pre">UInt32</span></code></a></li> |
| 909 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#int64">7.4.3.8. <code class="docutils literal notranslate"><span class="pre">Int64</span></code></a></li> |
| 910 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#uint64">7.4.3.9. <code class="docutils literal notranslate"><span class="pre">UInt64</span></code></a></li> |
| 911 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#float32">7.4.3.10. <code class="docutils literal notranslate"><span class="pre">Float32</span></code></a></li> |
| 912 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#float">7.4.3.11. <code class="docutils literal notranslate"><span class="pre">Float</span></code></a></li> |
| 913 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#time">7.4.3.12. <code class="docutils literal notranslate"><span class="pre">Time</span></code></a></li> |
| 914 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#shorttext">7.4.3.13. <code class="docutils literal notranslate"><span class="pre">ShortText</span></code></a></li> |
| 915 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#text">7.4.3.14. <code class="docutils literal notranslate"><span class="pre">Text</span></code></a></li> |
| 916 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#longtext">7.4.3.15. <code class="docutils literal notranslate"><span class="pre">LongText</span></code></a></li> |
| 917 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#tokyogeopoint">7.4.3.16. <code class="docutils literal notranslate"><span class="pre">TokyoGeoPoint</span></code></a></li> |
| 918 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#wgs84geopoint">7.4.3.17. <code class="docutils literal notranslate"><span class="pre">WGS84GeoPoint</span></code></a></li> |
| 919 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#shortbinary">7.4.3.18. <code class="docutils literal notranslate"><span class="pre">ShortBinary</span></code></a></li> |
| 920 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#binary">7.4.3.19. <code class="docutils literal notranslate"><span class="pre">Binary</span></code></a></li> |
| 921 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#longbinary">7.4.3.20. <code class="docutils literal notranslate"><span class="pre">LongBinary</span></code></a></li> |
| 922 |
</ul> |
| 923 |
</li> |
| 924 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#limitations-about-types">7.4.4. Limitations about types</a><ul class="nav section-nav flex-column"> |
| 925 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#types-that-can-t-be-specified-in-primary-key-of-table">7.4.4.1. Types that can’t be specified in primary key of table</a></li> |
| 926 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id3">7.4.4.2. ベクターとして格納できない型</a></li> |
| 927 |
</ul> |
| 928 |
</li> |
| 929 |
</ul> |
| 930 |
</nav></div> |
| 931 |
|
| 932 |
<div class="sidebar-secondary-item"> |
| 933 |
|
| 934 |
|
| 935 |
<div class="tocsection editthispage"> |
| 936 |
<a href="https://github.com/groonga/groonga/edit/main/doc/source/reference/types.rst"> |
| 937 |
<i class="fa-solid fa-pencil"></i> |
| 938 |
|
| 939 |
|
| 940 |
|
| 941 |
Edit on GitHub |
| 942 |
|
| 943 |
|
| 944 |
</a> |
| 945 |
</div> |
| 946 |
</div> |
| 947 |
|
| 948 |
</div></div> |
| 949 |
|
| 950 |
|
| 951 |
</div> |
| 952 |
<footer class="bd-footer-content"> |
| 953 |
|
| 954 |
</footer> |
| 955 |
|
| 956 |
</main> |
| 957 |
</div> |
| 958 |
</div> |
| 959 |
|
| 960 |
|
| 961 |
<script defer src="../_static/scripts/bootstrap.js?digest=90905a2f556bf617f1a9"></script> |
| 962 |
<script defer src="../_static/scripts/pydata-sphinx-theme.js?digest=90905a2f556bf617f1a9"></script> |
| 963 |
|
| 964 |
<footer class="bd-footer"> |
| 965 |
<div class="bd-footer__inner bd-page-width"> |
| 966 |
|
| 967 |
<div class="footer-items__start"> |
| 968 |
|
| 969 |
<div class="footer-item"> |
| 970 |
|
| 971 |
<p class="copyright"> |
| 972 |
|
| 973 |
© Copyright 2009-2026 Groonga Project. |
| 974 |
<br/> |
| 975 |
|
| 976 |
</p> |
| 977 |
</div> |
| 978 |
|
| 979 |
</div> |
| 980 |
|
| 981 |
|
| 982 |
|
| 983 |
<div class="footer-items__end"> |
| 984 |
|
| 985 |
<div class="footer-item"> |
| 986 |
<p class="theme-version"> |
| 987 |
|
| 988 |
Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.20.0. |
| 989 |
</p></div> |
| 990 |
|
| 991 |
</div> |
| 992 |
|
| 993 |
</div> |
| 994 |
|
| 995 |
</footer> |
| 996 |
</body> |
| 997 |
</html> |