| 1 |
|
| 2 |
<!DOCTYPE html> |
| 3 |
|
| 4 |
|
| 5 |
<html lang="ja" 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. データ型 — Groonga v16.0.9ドキュメント</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=1e3c191b"></script> |
| 42 |
<script src="../_static/doctools.js?v=fd6eb6e6"></script> |
| 43 |
<script src="../_static/sphinx_highlight.js?v=6ffebe34"></script> |
| 44 |
<script src="../_static/translations.js?v=4755f45a"></script> |
| 45 |
<script> |
| 46 |
window.dataLayer = window.dataLayer || []; |
| 47 |
function gtag(){ dataLayer.push(arguments); } |
| 48 |
gtag('consent', 'default', { |
| 49 |
'ad_storage': 'denied', |
| 50 |
'ad_user_data': 'denied', |
| 51 |
'ad_personalization': 'denied', |
| 52 |
'analytics_storage': 'denied' |
| 53 |
}); |
| 54 |
</script> |
| 55 |
<script async="async" src="https://www.googletagmanager.com/gtag/js?id=G-MDK38RHNPW"></script> |
| 56 |
<script> |
| 57 |
window.dataLayer = window.dataLayer || []; |
| 58 |
function gtag(){dataLayer.push(arguments);} |
| 59 |
gtag('js', new Date()); |
| 60 |
gtag('config', 'G-MDK38RHNPW'); |
| 61 |
</script> |
| 62 |
<script>DOCUMENTATION_OPTIONS.pagename = 'reference/types';</script> |
| 63 |
<script> |
| 64 |
DOCUMENTATION_OPTIONS.theme_version = '0.20.0'; |
| 65 |
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://groonga.org/docs/_static/switcher.json'; |
| 66 |
DOCUMENTATION_OPTIONS.theme_switcher_version_match = 'japanese'; |
| 67 |
DOCUMENTATION_OPTIONS.show_version_warning_banner = |
| 68 |
false; |
| 69 |
</script> |
| 70 |
<script>DOCUMENTATION_OPTIONS.search_as_you_type = false;</script> |
| 71 |
<link rel="icon" href="../_static/favicon.ico"/> |
| 72 |
<link rel="index" title="索引" href="../genindex.html" /> |
| 73 |
<link rel="search" title="検索" href="../search.html" /> |
| 74 |
<link rel="next" title="7.5. テーブル" href="tables.html" /> |
| 75 |
<link rel="prev" title="7.3.73. truncate" href="commands/truncate.html" /> |
| 76 |
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 77 |
<meta name="docsearch:language" content="ja"/> |
| 78 |
<meta name="docsearch:version" content="16.0.9" /> |
| 79 |
|
| 80 |
|
| 81 |
<script src="../_static/searchtools.js"></script> |
| 82 |
<script src="../_static/language_data.js"></script> |
| 83 |
<script src="../searchindex.js"></script> |
| 84 |
|
| 85 |
</head> |
| 86 |
<body data-default-mode=""> |
| 87 |
|
| 88 |
|
| 89 |
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">本文へスキップ</a></div> |
| 90 |
|
| 91 |
|
| 92 |
<div id="pst-scroll-pixel-helper"></div> |
| 93 |
|
| 94 |
<button type="button" class="btn rounded-pill" id="pst-back-to-top"> |
| 95 |
<i class="fa-solid fa-arrow-up"></i>トップに戻る</button> |
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
|
| 100 |
<dialog id="pst-search-dialog"> |
| 101 |
|
| 102 |
<form class="bd-search d-flex align-items-center" |
| 103 |
action="../search.html" |
| 104 |
method="get"> |
| 105 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 106 |
<input type="search" |
| 107 |
class="form-control" |
| 108 |
name="q" |
| 109 |
placeholder="Search the docs ..." |
| 110 |
aria-label="Search the docs ..." |
| 111 |
autocomplete="off" |
| 112 |
autocorrect="off" |
| 113 |
autocapitalize="off" |
| 114 |
spellcheck="false"/> |
| 115 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span> |
| 116 |
</form> |
| 117 |
</dialog> |
| 118 |
|
| 119 |
<div class="pst-async-banner-revealer d-none"> |
| 120 |
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="バージョン警告"></aside> |
| 121 |
</div> |
| 122 |
|
| 123 |
|
| 124 |
<header id="pst-header" class="bd-header navbar navbar-expand-lg bd-navbar d-print-none"> |
| 125 |
<div class="bd-header__inner bd-page-width"> |
| 126 |
<button class="pst-navbar-icon sidebar-toggle primary-toggle" aria-label="サイトナビゲーション"> |
| 127 |
<span class="fa-solid fa-bars"></span> |
| 128 |
</button> |
| 129 |
|
| 130 |
|
| 131 |
<div class="col-lg-3 navbar-header-items__start"> |
| 132 |
|
| 133 |
<div class="navbar-item"> |
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
<a class="navbar-brand logo" href="https://groonga.org/ja/"> |
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
<img src="../_static/groonga.png" class="logo__image only-light" alt="Groonga v16.0.9ドキュメント - Home"/> |
| 151 |
<img src="../_static/groonga.png" class="logo__image only-dark pst-js-only" alt="Groonga v16.0.9ドキュメント - Home"/> |
| 152 |
|
| 153 |
|
| 154 |
</a></div> |
| 155 |
|
| 156 |
</div> |
| 157 |
|
| 158 |
<div class="col-lg-9 navbar-header-items"> |
| 159 |
|
| 160 |
|
| 161 |
<div class="navbar-header-items__end"> |
| 162 |
|
| 163 |
<div class="navbar-item navbar-persistent--container"> |
| 164 |
|
| 165 |
|
| 166 |
<button class="btn search-button-field search-button__button pst-js-only" title="検索" aria-label="検索" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 167 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 168 |
<span class="search-button__default-text">検索</span> |
| 169 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 170 |
</button> |
| 171 |
</div> |
| 172 |
|
| 173 |
|
| 174 |
<div class="navbar-item"> |
| 175 |
|
| 176 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 177 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 178 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="ライト"></i> |
| 179 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="ダーク"></i> |
| 180 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 181 |
</button> |
| 182 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 183 |
<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> |
| 184 |
<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>ライト</button></li> |
| 185 |
<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>ダーク</button></li> |
| 186 |
</ul> |
| 187 |
</div></div> |
| 188 |
|
| 189 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 190 |
aria-label="Icon Links"> |
| 191 |
<li class="nav-item"> |
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
|
| 200 |
<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> |
| 201 |
</li> |
| 202 |
<li class="nav-item"> |
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|
| 210 |
|
| 211 |
<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> |
| 212 |
</li> |
| 213 |
<li class="nav-item"> |
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
|
| 222 |
<a href="/ja/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> |
| 223 |
</li> |
| 224 |
</ul></div> |
| 225 |
|
| 226 |
<div class="navbar-item"> |
| 227 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 228 |
<button id="pst-version-switcher-button-2" |
| 229 |
type="button" |
| 230 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 231 |
data-bs-toggle="dropdown" |
| 232 |
aria-haspopup="listbox" |
| 233 |
aria-controls="pst-version-switcher-list-2" |
| 234 |
aria-label="Version switcher list" |
| 235 |
> |
| 236 |
Choose version |
| 237 |
<span class="caret"></span> |
| 238 |
</button> |
| 239 |
<div id="pst-version-switcher-list-2" |
| 240 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 241 |
role="listbox" aria-labelledby="pst-version-switcher-button-2"> |
| 242 |
|
| 243 |
</div> |
| 244 |
</div></div> |
| 245 |
|
| 246 |
</div> |
| 247 |
|
| 248 |
</div> |
| 249 |
|
| 250 |
|
| 251 |
<div class="navbar-persistent--mobile"> |
| 252 |
|
| 253 |
<button class="btn search-button-field search-button__button pst-js-only" title="検索" aria-label="検索" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 254 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 255 |
<span class="search-button__default-text">検索</span> |
| 256 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 257 |
</button> |
| 258 |
</div> |
| 259 |
|
| 260 |
|
| 261 |
|
| 262 |
<button class="pst-navbar-icon sidebar-toggle secondary-toggle" aria-label="このページでは"> |
| 263 |
<span class="fa-solid fa-outdent"></span> |
| 264 |
</button> |
| 265 |
|
| 266 |
</div> |
| 267 |
|
| 268 |
</header> |
| 269 |
|
| 270 |
|
| 271 |
<div class="bd-container"> |
| 272 |
<div class="bd-container__inner bd-page-width"> |
| 273 |
|
| 274 |
|
| 275 |
|
| 276 |
<dialog id="pst-primary-sidebar-modal"></dialog> |
| 277 |
<div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar"> |
| 278 |
|
| 279 |
|
| 280 |
|
| 281 |
<div class="sidebar-header-items sidebar-primary__section"> |
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
|
| 286 |
<div class="sidebar-header-items__end"> |
| 287 |
|
| 288 |
<div class="navbar-item"> |
| 289 |
|
| 290 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 291 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 292 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="ライト"></i> |
| 293 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="ダーク"></i> |
| 294 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 295 |
</button> |
| 296 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 297 |
<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> |
| 298 |
<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>ライト</button></li> |
| 299 |
<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>ダーク</button></li> |
| 300 |
</ul> |
| 301 |
</div></div> |
| 302 |
|
| 303 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 304 |
aria-label="Icon Links"> |
| 305 |
<li class="nav-item"> |
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
|
| 314 |
<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> |
| 315 |
</li> |
| 316 |
<li class="nav-item"> |
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
|
| 325 |
<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> |
| 326 |
</li> |
| 327 |
<li class="nav-item"> |
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
|
| 336 |
<a href="/ja/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> |
| 337 |
</li> |
| 338 |
</ul></div> |
| 339 |
|
| 340 |
<div class="navbar-item"> |
| 341 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 342 |
<button id="pst-version-switcher-button-3" |
| 343 |
type="button" |
| 344 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 345 |
data-bs-toggle="dropdown" |
| 346 |
aria-haspopup="listbox" |
| 347 |
aria-controls="pst-version-switcher-list-3" |
| 348 |
aria-label="Version switcher list" |
| 349 |
> |
| 350 |
Choose version |
| 351 |
<span class="caret"></span> |
| 352 |
</button> |
| 353 |
<div id="pst-version-switcher-list-3" |
| 354 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 355 |
role="listbox" aria-labelledby="pst-version-switcher-button-3"> |
| 356 |
|
| 357 |
</div> |
| 358 |
</div></div> |
| 359 |
|
| 360 |
</div> |
| 361 |
|
| 362 |
</div> |
| 363 |
|
| 364 |
<div class="sidebar-primary-items__start sidebar-primary__section"> |
| 365 |
<div class="sidebar-primary-item pst-sidebar-collapse"><button id="pst-collapse-sidebar-button" aria-expanded="true" aria-controls="pst-primary-sidebar"> |
| 366 |
<svg class="pst-icon" role="img" aria-hidden="true" focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> |
| 367 |
<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"/> |
| 368 |
</svg> |
| 369 |
<span class="pst-collapse-sidebar-label">Collapse Sidebar</span> |
| 370 |
<span class="pst-expand-sidebar-label">Expand Sidebar</span> |
| 371 |
</button></div> |
| 372 |
<div class="sidebar-primary-item"> |
| 373 |
|
| 374 |
<nav class="bd-docs-nav bd-links" |
| 375 |
aria-label="セクションナビゲーション"> |
| 376 |
<p class="bd-links__title" role="heading" aria-level="1">セクションナビゲーション</p> |
| 377 |
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav"> |
| 378 |
<li class="toctree-l1 has-children"><a class="reference internal" href="executables.html">7.1. 実行ファイル</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 379 |
<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> |
| 380 |
<li class="toctree-l2"><a class="reference internal" href="executables/grnslap.html">7.1.2. grnslap</a></li> |
| 381 |
<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> 実行ファイル</a></li> |
| 382 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-benchmark.html">7.1.4. groonga-benchmark</a></li> |
| 383 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-httpd.html">7.1.5. groonga-httpd</a></li> |
| 384 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-server-http.html">7.1.6. Groonga HTTPサーバー</a></li> |
| 385 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-suggest-create-dataset.html">7.1.7. groonga-suggest-create-dataset</a></li> |
| 386 |
<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> |
| 387 |
<li class="toctree-l2"><a class="reference internal" href="executables/groonga-suggest-learner.html">7.1.9. groonga-suggest-learner</a></li> |
| 388 |
</ul> |
| 389 |
</details></li> |
| 390 |
<li class="toctree-l1"><a class="reference internal" href="output.html">7.2. 出力</a></li> |
| 391 |
<li class="toctree-l1 has-children"><a class="reference internal" href="command.html">7.3. コマンド</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 392 |
<li class="toctree-l2"><a class="reference internal" href="command/command_version.html">7.3.1. コマンドバージョン</a></li> |
| 393 |
<li class="toctree-l2"><a class="reference internal" href="command/n_workers.html">7.3.2. 並列実行</a></li> |
| 394 |
<li class="toctree-l2"><a class="reference internal" href="command/output_format.html">7.3.3. 出力形式</a></li> |
| 395 |
<li class="toctree-l2"><a class="reference internal" href="command/output_trace_log.html">7.3.4. トレースログの出力</a></li> |
| 396 |
<li class="toctree-l2"><a class="reference internal" href="command/pretty_print.html">7.3.5. プリティープリント</a></li> |
| 397 |
<li class="toctree-l2"><a class="reference internal" href="command/request_id.html">7.3.6. リクエストID</a></li> |
| 398 |
<li class="toctree-l2"><a class="reference internal" href="command/request_timeout.html">7.3.7. リクエストタイムアウト</a></li> |
| 399 |
<li class="toctree-l2 has-children"><a class="reference internal" href="command/return_code.html">7.3.8. リターンコード</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 400 |
<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> |
| 401 |
<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> |
| 402 |
<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> |
| 403 |
<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> |
| 404 |
<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> |
| 405 |
<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> |
| 406 |
</ul> |
| 407 |
</details></li> |
| 408 |
<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> |
| 409 |
<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> |
| 410 |
<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> |
| 411 |
<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> |
| 412 |
<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> |
| 413 |
<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> |
| 414 |
<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> |
| 415 |
<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> |
| 416 |
<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> |
| 417 |
<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> |
| 418 |
<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> |
| 419 |
<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> |
| 420 |
<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> |
| 421 |
<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> |
| 422 |
<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> |
| 423 |
<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> |
| 424 |
<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> |
| 425 |
<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> |
| 426 |
<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> |
| 427 |
<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> |
| 428 |
<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> |
| 429 |
<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> |
| 430 |
<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> |
| 431 |
<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> |
| 432 |
<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> |
| 433 |
<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> |
| 434 |
<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> |
| 435 |
<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> |
| 436 |
<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> |
| 437 |
<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> |
| 438 |
<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> |
| 439 |
<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> |
| 440 |
<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> |
| 441 |
<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> |
| 442 |
<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> |
| 443 |
<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> |
| 444 |
<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> |
| 445 |
<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> |
| 446 |
<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> |
| 447 |
<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> |
| 448 |
<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> |
| 449 |
<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> |
| 450 |
<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> |
| 451 |
<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> |
| 452 |
<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> |
| 453 |
<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> |
| 454 |
<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> |
| 455 |
<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> |
| 456 |
<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> |
| 457 |
<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> |
| 458 |
<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> |
| 459 |
<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> |
| 460 |
<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> |
| 461 |
<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> |
| 462 |
<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> |
| 463 |
<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> |
| 464 |
<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> |
| 465 |
<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> |
| 466 |
<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> |
| 467 |
<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> |
| 468 |
<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> |
| 469 |
<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> |
| 470 |
<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> |
| 471 |
<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> |
| 472 |
<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> |
| 473 |
</ul> |
| 474 |
</details></li> |
| 475 |
<li class="toctree-l1 current active"><a class="current reference internal" href="#">7.4. データ型</a></li> |
| 476 |
<li class="toctree-l1"><a class="reference internal" href="tables.html">7.5. テーブル</a></li> |
| 477 |
<li class="toctree-l1 has-children"><a class="reference internal" href="column.html">7.6. カラム</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 478 |
<li class="toctree-l2"><a class="reference internal" href="columns/scalar.html">7.6.2.1. スカラーカラム</a></li> |
| 479 |
<li class="toctree-l2"><a class="reference internal" href="columns/vector.html">7.6.2.2. ベクターカラム</a></li> |
| 480 |
<li class="toctree-l2"><a class="reference internal" href="columns/pseudo.html">7.6.2.3. 擬似カラム</a></li> |
| 481 |
<li class="toctree-l2"><a class="reference internal" href="columns/index.html">7.6.3.1. インデックスカラム</a></li> |
| 482 |
</ul> |
| 483 |
</details></li> |
| 484 |
<li class="toctree-l1 has-children"><a class="reference internal" href="extractors.html">7.7. エクストラクター</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 485 |
<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> |
| 486 |
<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> |
| 487 |
</ul> |
| 488 |
</details></li> |
| 489 |
<li class="toctree-l1 has-children"><a class="reference internal" href="normalizers.html">7.8. ノーマライザー</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 490 |
<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> |
| 491 |
<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> |
| 492 |
<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> |
| 493 |
<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> |
| 494 |
<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> |
| 495 |
<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> |
| 496 |
<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> |
| 497 |
<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> |
| 498 |
</ul> |
| 499 |
</details></li> |
| 500 |
<li class="toctree-l1 has-children"><a class="reference internal" href="tokenizers.html">7.9. トークナイザー</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 501 |
<li class="toctree-l2"><a class="reference internal" href="tokenizer/summary.html">7.9.1. 概要</a></li> |
| 502 |
<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> |
| 503 |
<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> |
| 504 |
<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> |
| 505 |
<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> |
| 506 |
<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> |
| 507 |
<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> |
| 508 |
<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> |
| 509 |
<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> |
| 510 |
<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> |
| 511 |
<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> |
| 512 |
<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> |
| 513 |
<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> |
| 514 |
<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> |
| 515 |
<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> |
| 516 |
<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> |
| 517 |
<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> |
| 518 |
<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> |
| 519 |
<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> |
| 520 |
</ul> |
| 521 |
</details></li> |
| 522 |
<li class="toctree-l1 has-children"><a class="reference internal" href="token_filters.html">7.10. トークンフィルター</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 523 |
<li class="toctree-l2"><a class="reference internal" href="token_filter/summary.html">7.10.1. 概要</a></li> |
| 524 |
<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> |
| 525 |
<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> |
| 526 |
<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> |
| 527 |
<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> |
| 528 |
<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> |
| 529 |
</ul> |
| 530 |
</details></li> |
| 531 |
<li class="toctree-l1 has-children"><a class="reference internal" href="query_expanders.html">7.11. クエリー展開オブジェクト一覧</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 532 |
<li class="toctree-l2"><a class="reference internal" href="query_expanders/tsv.html">7.11.1. QueryExpanderTSV</a></li> |
| 533 |
</ul> |
| 534 |
</details></li> |
| 535 |
<li class="toctree-l1 has-children"><a class="reference internal" href="scorer.html">7.12. スコアラー</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 536 |
<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> |
| 537 |
<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> |
| 538 |
</ul> |
| 539 |
</details></li> |
| 540 |
<li class="toctree-l1"><a class="reference internal" href="cast.html">7.13. Cast</a></li> |
| 541 |
<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> |
| 542 |
<li class="toctree-l2"><a class="reference internal" href="grn_expr/query_syntax.html">7.14.1. クエリー構文</a></li> |
| 543 |
<li class="toctree-l2"><a class="reference internal" href="grn_expr/script_syntax.html">7.14.2. スクリプト構文</a></li> |
| 544 |
</ul> |
| 545 |
</details></li> |
| 546 |
<li class="toctree-l1"><a class="reference internal" href="regular_expression.html">7.15. 正規表現</a></li> |
| 547 |
<li class="toctree-l1 has-children"><a class="reference internal" href="function.html">7.16. 関数</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 548 |
<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> |
| 549 |
<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> |
| 550 |
<li class="toctree-l2"><a class="reference internal" href="functions/edit_distance.html">7.16.3. edit_distance</a></li> |
| 551 |
<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> |
| 552 |
<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> |
| 553 |
<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> |
| 554 |
<li class="toctree-l2"><a class="reference internal" href="functions/geo_in_circle.html">7.16.7. geo_in_circle</a></li> |
| 555 |
<li class="toctree-l2"><a class="reference internal" href="functions/geo_in_rectangle.html">7.16.8. geo_in_rectangle</a></li> |
| 556 |
<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> |
| 557 |
<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> |
| 558 |
<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> |
| 559 |
<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> |
| 560 |
<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> |
| 561 |
<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> |
| 562 |
<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> |
| 563 |
<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> |
| 564 |
<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> |
| 565 |
<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> |
| 566 |
<li class="toctree-l2"><a class="reference internal" href="functions/now.html">7.16.19. now</a></li> |
| 567 |
<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> |
| 568 |
<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> |
| 569 |
<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> |
| 570 |
<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> |
| 571 |
<li class="toctree-l2"><a class="reference internal" href="functions/rand.html">7.16.24. rand</a></li> |
| 572 |
<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> |
| 573 |
<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> |
| 574 |
<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> |
| 575 |
<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> |
| 576 |
<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> |
| 577 |
<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> |
| 578 |
<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> |
| 579 |
<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> |
| 580 |
<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> |
| 581 |
<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> |
| 582 |
<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> |
| 583 |
<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> |
| 584 |
<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> |
| 585 |
<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> |
| 586 |
<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> |
| 587 |
<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> |
| 588 |
<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> |
| 589 |
<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> |
| 590 |
<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> |
| 591 |
</ul> |
| 592 |
</details></li> |
| 593 |
<li class="toctree-l1 has-children"><a class="reference internal" href="window_function.html">7.17. ウィンドウ関数</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 594 |
<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> |
| 595 |
<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> |
| 596 |
<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> |
| 597 |
<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> |
| 598 |
<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> |
| 599 |
</ul> |
| 600 |
</details></li> |
| 601 |
<li class="toctree-l1 has-children"><a class="reference internal" href="operations.html">7.18. 操作方法</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 602 |
<li class="toctree-l2"><a class="reference internal" href="operations/geolocation_search.html">7.18.1. 位置情報検索</a></li> |
| 603 |
<li class="toctree-l2"><a class="reference internal" href="operations/prefix_rk_search.html">7.18.2. 前方一致RK検索</a></li> |
| 604 |
</ul> |
| 605 |
</details></li> |
| 606 |
<li class="toctree-l1"><a class="reference internal" href="configuration.html">7.19. 設定</a></li> |
| 607 |
<li class="toctree-l1"><a class="reference internal" href="alias.html">7.20. エイリアス</a></li> |
| 608 |
<li class="toctree-l1 has-children"><a class="reference internal" href="suggest.html">7.21. サジェスト</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 609 |
<li class="toctree-l2"><a class="reference internal" href="suggest/introduction.html">7.21.1. はじめに</a></li> |
| 610 |
<li class="toctree-l2"><a class="reference internal" href="suggest/completion.html">7.21.2. 補完</a></li> |
| 611 |
<li class="toctree-l2"><a class="reference internal" href="suggest/correction.html">7.21.3. 補正</a></li> |
| 612 |
<li class="toctree-l2"><a class="reference internal" href="suggest/suggestion.html">7.21.4. 提案</a></li> |
| 613 |
</ul> |
| 614 |
</details></li> |
| 615 |
<li class="toctree-l1"><a class="reference internal" href="indexing.html">7.22. インデックス構築</a></li> |
| 616 |
<li class="toctree-l1"><a class="reference internal" href="sharding.html">7.23. シャーディング</a></li> |
| 617 |
<li class="toctree-l1"><a class="reference internal" href="language_model.html">7.24. 言語モデル</a></li> |
| 618 |
<li class="toctree-l1"><a class="reference internal" href="log.html">7.25. ログ</a></li> |
| 619 |
<li class="toctree-l1"><a class="reference internal" href="tuning.html">7.26. チューニング</a></li> |
| 620 |
<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> |
| 621 |
<li class="toctree-l2"><a class="reference internal" href="api/overview.html">7.27.1.1. 概要</a></li> |
| 622 |
<li class="toctree-l2"><a class="reference internal" href="api/global_configurations.html">7.27.1.2. 全体設定</a></li> |
| 623 |
<li class="toctree-l2"><a class="reference internal" href="api/plugin.html">7.27.1.3. Plugin</a></li> |
| 624 |
<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> |
| 625 |
<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> |
| 626 |
<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> |
| 627 |
<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> |
| 628 |
<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> |
| 629 |
<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> |
| 630 |
<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> |
| 631 |
<li class="toctree-l2"><a class="reference internal" href="api/grn_expr.html">7.27.1.11. grn_expr</a></li> |
| 632 |
<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> |
| 633 |
<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> |
| 634 |
<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> |
| 635 |
<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> |
| 636 |
<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> |
| 637 |
<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> |
| 638 |
<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> |
| 639 |
<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> |
| 640 |
<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> |
| 641 |
<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> |
| 642 |
<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> |
| 643 |
<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> |
| 644 |
<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> |
| 645 |
<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> |
| 646 |
<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> |
| 647 |
</ul> |
| 648 |
</details></li> |
| 649 |
</ul> |
| 650 |
</div> |
| 651 |
</nav></div> |
| 652 |
</div> |
| 653 |
|
| 654 |
|
| 655 |
<div class="sidebar-primary-items__end sidebar-primary__section"> |
| 656 |
<div class="sidebar-primary-item"> |
| 657 |
<div id="ethical-ad-placement" |
| 658 |
class="flat" |
| 659 |
data-ea-publisher="readthedocs" |
| 660 |
data-ea-type="readthedocs-sidebar" |
| 661 |
data-ea-manual="true"> |
| 662 |
</div></div> |
| 663 |
</div> |
| 664 |
|
| 665 |
|
| 666 |
</div> |
| 667 |
|
| 668 |
<main id="main-content" class="bd-main" role="main"> |
| 669 |
|
| 670 |
|
| 671 |
<div class="bd-content"> |
| 672 |
<div class="bd-article-container"> |
| 673 |
|
| 674 |
<div class="bd-header-article d-print-none"> |
| 675 |
<div class="header-article-items header-article__inner"> |
| 676 |
|
| 677 |
<div class="header-article-items__start"> |
| 678 |
|
| 679 |
<div class="header-article-item"> |
| 680 |
|
| 681 |
<nav aria-label="パンくずリスト" class="d-print-none"> |
| 682 |
<ul class="bd-breadcrumbs"> |
| 683 |
|
| 684 |
<li class="breadcrumb-item breadcrumb-home"> |
| 685 |
<a href="../index.html" class="nav-link" aria-label="ホーム"> |
| 686 |
<i class="fa-solid fa-home"></i> |
| 687 |
</a> |
| 688 |
</li> |
| 689 |
|
| 690 |
<li class="breadcrumb-item"><a href="../reference.html" class="nav-link"><span class="section-number">7. </span>リファレンスマニュアル</a></li> |
| 691 |
|
| 692 |
<li class="breadcrumb-item active" aria-current="page"><span class="ellipsis"><span class="section-number">7.4. </span>データ型</span></li> |
| 693 |
</ul> |
| 694 |
</nav> |
| 695 |
</div> |
| 696 |
|
| 697 |
</div> |
| 698 |
|
| 699 |
|
| 700 |
</div> |
| 701 |
</div> |
| 702 |
|
| 703 |
|
| 704 |
|
| 705 |
|
| 706 |
<div id="searchbox"></div> |
| 707 |
<article class="bd-article"> |
| 708 |
|
| 709 |
<section id="data-types"> |
| 710 |
<h1><span class="section-number">7.4. </span>データ型<a class="headerlink" href="#data-types" title="Link to this heading">#</a></h1> |
| 711 |
<section id="name"> |
| 712 |
<h2><span class="section-number">7.4.1. </span>名前<a class="headerlink" href="#name" title="Link to this heading">#</a></h2> |
| 713 |
<p>Groonga データ型</p> |
| 714 |
</section> |
| 715 |
<section id="description"> |
| 716 |
<h2><span class="section-number">7.4.2. </span>説明<a class="headerlink" href="#description" title="Link to this heading">#</a></h2> |
| 717 |
<p>Groonga は、格納するデータの型を区別します。</p> |
| 718 |
<p>Groongaのデータベースでは、テーブルの主キーや、カラムの値はいずれも何らかの型に属します。また通常は、一つのテーブルの中の全てのレコードについて、カラムの値は共通となります。</p> |
| 719 |
<p>主キーの型とカラムの型には、Groongaで予め定義済みの型か、ユーザが定義する型、またはユーザが定義したテーブルを指定することができます。</p> |
| 720 |
<p>主キーの型に他のテーブルを指定する場合は、そのテーブルは、主キーの型となるテーブルのサブセットとなります。</p> |
| 721 |
<p>カラムの型に他のテーブルを指定する場合は、そのカラムは、カラムの型となるテーブルの参照キーとなります。</p> |
| 722 |
</section> |
| 723 |
<section id="builtin-types"> |
| 724 |
<h2><span class="section-number">7.4.3. </span>組込型<a class="headerlink" href="#builtin-types" title="Link to this heading">#</a></h2> |
| 725 |
<p>以下の型が組込型としてあらかじめ定義されています。</p> |
| 726 |
<section id="bool"> |
| 727 |
<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> |
| 728 |
<p>ブーリアン型やブール型などと呼ばれる型であり、真偽値を表します。取り得る値はtrueとfalseです。(デフォルト値: false)</p> |
| 729 |
<p><a class="reference internal" href="commands/load.html"><span class="doc">load</span></a> コマンドで値を格納するときは、false、0、空文字列のいずれかを指定するとfalseになり、それ以外を指定するとtrueになります。</p> |
| 730 |
</section> |
| 731 |
<section id="int8"> |
| 732 |
<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> |
| 733 |
<p>8bit符号付き整数であり、-128以上127以下の整数を表します。(デフォルト値: 0)</p> |
| 734 |
</section> |
| 735 |
<section id="uint8"> |
| 736 |
<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> |
| 737 |
<p>8bit符号なし整数であり、0以上255以下の整数を表します。(デフォルト値: 0)</p> |
| 738 |
</section> |
| 739 |
<section id="int16"> |
| 740 |
<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> |
| 741 |
<p>16bit符号付き整数であり、-32,768以上32,767以下の整数を表します。(デフォルト値: 0)</p> |
| 742 |
</section> |
| 743 |
<section id="uint16"> |
| 744 |
<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> |
| 745 |
<p>16bit符号なし整数であり、0以上65,535以下の整数を表します。(デフォルト値: 0)</p> |
| 746 |
</section> |
| 747 |
<section id="int32"> |
| 748 |
<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> |
| 749 |
<p>32bit符号付き整数であり、-2,147,483,648以上2,147,483,647以下の整数を表します。(デフォルト値: 0)</p> |
| 750 |
</section> |
| 751 |
<section id="uint32"> |
| 752 |
<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> |
| 753 |
<p>32bit符号なし整数であり、0以上4,294,967,295以下の整数を表します。(デフォルト値: 0)</p> |
| 754 |
</section> |
| 755 |
<section id="int64"> |
| 756 |
<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> |
| 757 |
<p>64bit符号付き整数であり、-9,223,372,036,854,775,808以上9,223,372,036,854,775,807以下の整数を表します。(デフォルト値: 0)</p> |
| 758 |
</section> |
| 759 |
<section id="uint64"> |
| 760 |
<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> |
| 761 |
<p>64bit符号なし整数であり、0以上18,446,744,073,709,551,615以下の整数を表します。(デフォルト値: 0)</p> |
| 762 |
</section> |
| 763 |
<section id="float32"> |
| 764 |
<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> |
| 765 |
<div class="versionadded"> |
| 766 |
<p><span class="versionmodified added">Added in version 10.0.2.</span></p> |
| 767 |
</div> |
| 768 |
<p>IEEE 754形式の単精度浮動小数点数であり、実数を表します。(デフォルト値: 0.0)</p> |
| 769 |
<p>IEEE 754形式の詳細については、 <a class="reference external" href="http://ja.wikipedia.org/wiki/IEEE_754">IEEE 754 - Wikipedia</a> や <a class="reference external" href="http://grouper.ieee.org/groups/754/">IEEE 754: Standard for Binary Floating-Point</a> を参照してください。</p> |
| 770 |
</section> |
| 771 |
<section id="float"> |
| 772 |
<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> |
| 773 |
<p>IEEE 754形式の倍精度浮動小数点数であり、実数を表します。(デフォルト値: 0.0)</p> |
| 774 |
<p>IEEE 754形式の詳細については、 <a class="reference external" href="http://ja.wikipedia.org/wiki/IEEE_754">IEEE 754 - Wikipedia</a> や <a class="reference external" href="http://grouper.ieee.org/groups/754/">IEEE 754: Standard for Binary Floating-Point</a> を参照してください。</p> |
| 775 |
</section> |
| 776 |
<section id="time"> |
| 777 |
<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> |
| 778 |
<p>日時を表す型であり、1970年1月1日0時0分0秒からの経過時間を、マイクロ秒単位で64bit符号付き整数により表現します。(デフォルト値: 0)</p> |
| 779 |
<p><a class="reference internal" href="commands/load.html"><span class="doc">load</span></a> コマンドで値を格納するときは、1970年1月1日0時0分0秒からの経過秒数を指定します。秒単位より詳細な日時を指定するには、小数を使います。</p> |
| 780 |
</section> |
| 781 |
<section id="shorttext"> |
| 782 |
<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> |
| 783 |
<p>4,095バイト以下の文字列を表します。(デフォルト値: "")</p> |
| 784 |
</section> |
| 785 |
<section id="text"> |
| 786 |
<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> |
| 787 |
<p>65,535バイト以下の文字列を表します。(デフォルト値: "")</p> |
| 788 |
</section> |
| 789 |
<section id="longtext"> |
| 790 |
<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> |
| 791 |
<p>2,147,483,647バイト以下の文字列を表します。(デフォルト値: "")</p> |
| 792 |
</section> |
| 793 |
<section id="tokyogeopoint"> |
| 794 |
<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> |
| 795 |
<p>旧日本測地系による経緯度であり、経度と緯度をミリ秒単位で表現した整数の組により表現します。(デフォルト値: 0x0)</p> |
| 796 |
<p>度分秒形式でx度y分z秒となる経度・緯度は、(((x * 60) + y) * 60 + z) * 1000という計算式でミリ秒単位へと変換されます。</p> |
| 797 |
<p><a class="reference internal" href="commands/load.html"><span class="doc">load</span></a> コマンドで値を格納するときは、"ミリ秒単位の経度xミリ秒単位の緯度" もしくは "経度の小数表記x緯度の小数表記" という文字列表現を使って指定します。経度と緯度の区切りとしては、'x' のほかに ',' を使うことができます。</p> |
| 798 |
<p>測地系の詳細については、 <a class="reference external" href="http://ja.wikipedia.org/wiki/%E6%B8%AC%E5%9C%B0%E7%B3%BB">測地系 - Wikipedia</a> を参照してください。</p> |
| 799 |
</section> |
| 800 |
<section id="wgs84geopoint"> |
| 801 |
<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> |
| 802 |
<p>世界測地系(World Geodetic System, WGS 84)による経緯度であり、経度と緯度をミリ秒単位で表現した整数の組により表現します。(デフォルト値: 0x0)</p> |
| 803 |
<p>度分秒形式からミリ秒形式への変換方法や <a class="reference internal" href="commands/load.html"><span class="doc">load</span></a> コマンドにおける指定方法はTokyoGeoPointと同じです。</p> |
| 804 |
</section> |
| 805 |
<section id="shortbinary"> |
| 806 |
<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> |
| 807 |
<div class="versionadded"> |
| 808 |
<p><span class="versionmodified added">Added in version 15.1.8.</span></p> |
| 809 |
</div> |
| 810 |
<div class="admonition note"> |
| 811 |
<p class="admonition-title">注釈</p> |
| 812 |
<p>これは実験的な機能です。現時点ではまだ安定しきっていません。</p> |
| 813 |
</div> |
| 814 |
<p>4,095バイト以下のバイナリを表します。(デフォルト値: "")</p> |
| 815 |
</section> |
| 816 |
<section id="binary"> |
| 817 |
<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> |
| 818 |
<div class="versionadded"> |
| 819 |
<p><span class="versionmodified added">Added in version 15.1.8.</span></p> |
| 820 |
</div> |
| 821 |
<div class="admonition note"> |
| 822 |
<p class="admonition-title">注釈</p> |
| 823 |
<p>これは実験的な機能です。現時点ではまだ安定しきっていません。</p> |
| 824 |
</div> |
| 825 |
<p>65,535バイト以下のバイナリを表します。(デフォルト値: "")</p> |
| 826 |
</section> |
| 827 |
<section id="longbinary"> |
| 828 |
<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> |
| 829 |
<div class="versionadded"> |
| 830 |
<p><span class="versionmodified added">Added in version 15.1.8.</span></p> |
| 831 |
</div> |
| 832 |
<div class="admonition note"> |
| 833 |
<p class="admonition-title">注釈</p> |
| 834 |
<p>これは実験的な機能です。現時点ではまだ安定しきっていません。</p> |
| 835 |
</div> |
| 836 |
<p>2,147,483,647バイト以下のバイナリを表します。(デフォルト値: "")</p> |
| 837 |
</section> |
| 838 |
</section> |
| 839 |
<section id="limitations-about-types"> |
| 840 |
<h2><span class="section-number">7.4.4. </span>型に関する制限事項<a class="headerlink" href="#limitations-about-types" title="Link to this heading">#</a></h2> |
| 841 |
<section id="types-that-can-t-be-specified-in-primary-key-of-table"> |
| 842 |
<h3><span class="section-number">7.4.4.1. </span>テーブルの主キーに指定できない型<a class="headerlink" href="#types-that-can-t-be-specified-in-primary-key-of-table" title="Link to this heading">#</a></h3> |
| 843 |
<p>Text型とLongText型については、テーブルの主キーに指定することはできません。</p> |
| 844 |
</section> |
| 845 |
<section id="id3"> |
| 846 |
<h3><span class="section-number">7.4.4.2. </span>ベクターとして格納できない型<a class="headerlink" href="#id3" title="Link to this heading">#</a></h3> |
| 847 |
<p>Groongaのカラムは、ある型のベクターを保存することができます。しかし、ShortText, Text, LongTextの3つの型についてはベクターとして保存したり出力したりすることはできますが、検索条件やドリルダウン条件に指定することができません。</p> |
| 848 |
<p>テーブル型は、ベクターとして格納することができます。よって、ShortTextのベクターを検索条件やドリルダウン条件に使用したい場合には、主キーがShortText型のテーブルを別途作成し、そのテーブルを型として利用します。</p> |
| 849 |
</section> |
| 850 |
</section> |
| 851 |
</section> |
| 852 |
|
| 853 |
|
| 854 |
</article> |
| 855 |
|
| 856 |
|
| 857 |
|
| 858 |
|
| 859 |
|
| 860 |
<footer class="prev-next-footer d-print-none"> |
| 861 |
|
| 862 |
<div class="prev-next-area"> |
| 863 |
<a class="left-prev" |
| 864 |
href="commands/truncate.html" |
| 865 |
title="前のページ"> |
| 866 |
<i class="fa-solid fa-angle-left"></i> |
| 867 |
<div class="prev-next-info"> |
| 868 |
<p class="prev-next-subtitle">前へ</p> |
| 869 |
<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> |
| 870 |
</div> |
| 871 |
</a> |
| 872 |
<a class="right-next" |
| 873 |
href="tables.html" |
| 874 |
title="次ページ"> |
| 875 |
<div class="prev-next-info"> |
| 876 |
<p class="prev-next-subtitle">次へ</p> |
| 877 |
<p class="prev-next-title"><span class="section-number">7.5. </span>テーブル</p> |
| 878 |
</div> |
| 879 |
<i class="fa-solid fa-angle-right"></i> |
| 880 |
</a> |
| 881 |
</div> |
| 882 |
</footer> |
| 883 |
|
| 884 |
</div> |
| 885 |
|
| 886 |
|
| 887 |
|
| 888 |
<dialog id="pst-secondary-sidebar-modal"></dialog> |
| 889 |
<div id="pst-secondary-sidebar" class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner"> |
| 890 |
|
| 891 |
|
| 892 |
<div class="sidebar-secondary-item"> |
| 893 |
<div |
| 894 |
id="pst-page-navigation-heading-2" |
| 895 |
class="page-toc tocsection onthispage"> |
| 896 |
<i class="fa-solid fa-list"></i> このページでは |
| 897 |
</div> |
| 898 |
<nav id="pst-page-toc-nav" class="page-toc" aria-labelledby="pst-page-navigation-heading-2"> |
| 899 |
<ul class="pst-show_toc_level nav section-nav flex-column"> |
| 900 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#name">7.4.1. 名前</a></li> |
| 901 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#description">7.4.2. 説明</a></li> |
| 902 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#builtin-types">7.4.3. 組込型</a><ul class="nav section-nav flex-column"> |
| 903 |
<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> |
| 904 |
<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> |
| 905 |
<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> |
| 906 |
<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> |
| 907 |
<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> |
| 908 |
<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> |
| 909 |
<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> |
| 910 |
<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> |
| 911 |
<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> |
| 912 |
<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> |
| 913 |
<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> |
| 914 |
<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> |
| 915 |
<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> |
| 916 |
<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> |
| 917 |
<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> |
| 918 |
<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> |
| 919 |
<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> |
| 920 |
<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> |
| 921 |
<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> |
| 922 |
<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> |
| 923 |
</ul> |
| 924 |
</li> |
| 925 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#limitations-about-types">7.4.4. 型に関する制限事項</a><ul class="nav section-nav flex-column"> |
| 926 |
<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. テーブルの主キーに指定できない型</a></li> |
| 927 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id3">7.4.4.2. ベクターとして格納できない型</a></li> |
| 928 |
</ul> |
| 929 |
</li> |
| 930 |
</ul> |
| 931 |
</nav></div> |
| 932 |
|
| 933 |
</div></div> |
| 934 |
|
| 935 |
|
| 936 |
</div> |
| 937 |
<footer class="bd-footer-content"> |
| 938 |
|
| 939 |
</footer> |
| 940 |
|
| 941 |
</main> |
| 942 |
</div> |
| 943 |
</div> |
| 944 |
|
| 945 |
|
| 946 |
<script defer src="../_static/scripts/bootstrap.js?digest=90905a2f556bf617f1a9"></script> |
| 947 |
<script defer src="../_static/scripts/pydata-sphinx-theme.js?digest=90905a2f556bf617f1a9"></script> |
| 948 |
|
| 949 |
<footer class="bd-footer"> |
| 950 |
<div class="bd-footer__inner bd-page-width"> |
| 951 |
|
| 952 |
<div class="footer-items__start"> |
| 953 |
|
| 954 |
<div class="footer-item"> |
| 955 |
|
| 956 |
<p class="copyright"> |
| 957 |
|
| 958 |
© Copyright 2009-2026 Groonga Project. |
| 959 |
<br/> |
| 960 |
|
| 961 |
</p> |
| 962 |
</div> |
| 963 |
|
| 964 |
</div> |
| 965 |
|
| 966 |
|
| 967 |
|
| 968 |
<div class="footer-items__end"> |
| 969 |
|
| 970 |
<div class="footer-item"> |
| 971 |
<p class="theme-version"> |
| 972 |
|
| 973 |
<a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.20.0 で構築されています。 |
| 974 |
</p></div> |
| 975 |
|
| 976 |
</div> |
| 977 |
|
| 978 |
</div> |
| 979 |
|
| 980 |
</footer> |
| 981 |
</body> |
| 982 |
</html> |