{"id":50668,"date":"2017-09-21T00:00:00","date_gmt":"2017-09-21T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/"},"modified":"2025-11-14T07:53:34","modified_gmt":"2025-11-14T15:53:34","slug":"using-griddbs-cpythonruby-apis","status":"publish","type":"post","link":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/","title":{"rendered":"GridDB&#8217;s C\/Python\/Ruby APIs\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046"},"content":{"rendered":"<p>\u6700\u8fd1\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u305d\u306e\u307b\u3068\u3093\u3069\u304c\u8907\u6570\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002 \u4e00\u822c\u7684\u306b\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u8a00\u8a9e\u306e\u4e2d\u306b\u306f\u3001Java\u3001C\u3001Ruby\u3001Python\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002 GridDB\u3082\u540c\u69d8\u3067\u3059\u3002 GridDB\u306f\u3001C\u3001Python\u3001\u304a\u3088\u3073Ruby\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u7528\u306eAPI\u3092\u4f7f\u7528\u3057\u3066\u3001\u958b\u767a\u8005\u306b\u30c4\u30fc\u30eb\u30ad\u30c3\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3 id=\"c-intro\">Setting Up the C API<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2017\/09\/dreamstime_xs_55515590.jpg\" alt=\"C lang\"><\/p>\n<p>GridDB\u306eC\u30af\u30e9\u30a4\u30a2\u30f3\u30c8API\u306f\u3001<b> CentOS 6.7 <\/b>\u304a\u3088\u3073<b> CentOS 7.3 <\/b>\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u4e92\u63db\u6027\u304c\u3042\u308a<b> gcc version-4.8.5 <\/b>\u3067\u3001\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u7248\u307e\u305f\u306f\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u7248\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002 C\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eStandard Edition\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u3001\u30b8\u30aa\u30e1\u30c8\u30ea\u306e\u5217\u3084\u64cd\u4f5c\u306a\u3069\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308bJava\u5bfe\u5fdc\u306e\u3059\u3079\u3066\u306e\u6a5f\u80fd\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002Community Edition\u7528\u306eC\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u305f\u3081\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u8aac\u660e\u306f\u3001<a href=\"https:\/\/github.com\/griddb\/c_client\" target=\"_blank\" title=\"C client\" rel=\"noopener noreferrer\"> GridDB Github\u30da\u30fc\u30b8<\/a>\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f55\u3089\u304b\u306e\u7406\u7531\u3067<code> configure <\/code>\u30b9\u30af\u30ea\u30d7\u30c8\u307e\u305f\u306f<code> bootstrap.sh <\/code>\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u3044\u305a\u308c\u304b\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u6b21\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"prettyprint\">$ sudo yum groupinstall \u2018Development Tools\u2019\n$ sudo yum makecache fast\n<\/pre>\n<p><code> make <\/code>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u3001<i> **recursive error<\/i>\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u30b9\u30ed\u30fc\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u4e0a\u8a18\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u305d\u306e\u5f8c\u3001<a href=\"https:\/\/github.com\/griddb\/c_client\" target=\"_blank\" title=\"GridDB C Client\" rel=\"noopener noreferrer\">Github C\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u304b\u3089\u65b0\u3057\u3044\u3082\u306e\u3092\u53d6\u5f97\u3057\u3066\u30af\u30ed\u30fc\u30cb\u30f3\u30b0\u3057\u3066\u3001<i> c_client <\/i>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u304b\u3089\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068GridDB\u63a5\u7d9a\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001c_client\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3044\u304f\u3064\u304b\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u3066\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>C\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092GridDB\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30ea\u30f3\u30af\u3059\u308b\u969b\u306b\u6ce8\u610f\u3059\u3079\u304d\u70b9\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002<code> gcc <\/code>\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u5834\u5408\u3001\u30a4\u30f3\u30af\u30eb\u30fc\u30c9<code>\uff08-I\uff09<\/code>\u30d5\u30e9\u30b0\u306f<code> gridstore.h <\/code>\u3092\u542b\u3080<code> include <\/code> &gt;\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u3057\u307e\u3059\u3002\u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u307e\u305f\u306f<code>\uff08-L\uff09<\/code>\u30d5\u30e9\u30b0\u306f\u3001<code>.so <\/code>\u30d5\u30a1\u30a4\u30eb\u3068\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u6301\u3064c-client\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b\u3042\u308b<i> bin <\/i> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u5e38\u306b\u6307\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"prettyprint\">$ ls c_client\/bin\nlibgridstore.so\nlibgridstore.so.0\nlibgridstore.so.0.0.0\n<\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u6b63\u5e38\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u306b\u306f\u3001<code> -lgridstore <\/code>\u30aa\u30d7\u30b7\u30e7\u30f3\u3082\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u304c\u6b63\u5e38\u306b\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u306b\u306f\u3001<code> LD_LIBRARY_PATH <\/code>\u3068\u3044\u3046\u74b0\u5883\u5909\u6570\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u306e\u5909\u6570\u306f\u3001GridDB C\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e<code> bin <\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>C\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u4f8b<\/p>\n<pre class=\"prettyprint\">$ export LD_LIBRARY_PATH=\/path\/to\/c_client\/bin\n$ gcc -o cSample cSample.c -I.\/include -L.\/bin -lgridstore\n$ .\/cSample 239.0.0.1 31999 defaultCluster admin admin\n<\/pre>\n<p>C API\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"http:\/\/www.griddb.org\/griddb_nosql\/manual\/GridDB_API_Reference.html#sec-6\" target=\"_blank\" title=\"C API\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3 id=\"python-intro\">Python\/Ruby API Setup<\/h3>\n<p>GridDB\u306f\u3001Python 2.6\u30012.7\u3001\u305d\u3057\u3066Python 3.6\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>Python\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u3046\u307e\u304f\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u91cd\u8981\u306a\u3053\u3068\u306e1\u3064\u306f\u3001C\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u6b63\u5e38\u306b\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3067\u3059\u3002 Python\u3068Ruby\u7528\u306e\u958b\u767a\u30ad\u30c3\u30c8\u3082\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<pre class=\"prettyprint\">$ sudo yum install ruby-devel\n$ sudo yum install python-devel\n<\/pre>\n<p>SWIG\u3068pcre\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u5fc5\u8981\u3067\u3059\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3068\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/github.com\/griddb\/griddb_client\" target=\"_blank\" title=\"Python\/Ruby Client\" rel=\"noopener noreferrer\"> griddb_client <\/a>\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Python\u3084Ruby\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3053\u3068\u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u304a\u304f\u3079\u304d\u91cd\u8981\u306a\u3053\u3068\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e<code> Makefile <\/code>\u306e\u5909\u6570\u304cc_client\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6307\u3057\u3066\u3044\u308b\u305f\u3081\u3001C\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>C\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u74b0\u5883\u5909\u6570<code> LD_LIBRARY_PATH <\/code>\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 Ruby\u3068Python\u306e\u4e21\u65b9\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u3092\u6b63\u5e38\u306b\u69cb\u7bc9\u3059\u308b\u306b\u306f\u3001\u3053\u306e\u5909\u6570\u306e\u5024\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p><b> Makefile <\/b>\u3067\u3053\u306e\u884c\u3092\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"prettyprint\">LDFLAGS = -L\/path\/c_client\/library\/bin -lpthread -lrt -lgridstore\n<\/pre>\n<p>Makefile\u3067\u306f\u3001\u4f7f\u7528\u3055\u308c\u308bPython\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d0\u30fc\u30b8\u30e7\u30f3\u306fPython 2.6\u3067\u3059\u3002 2.7\u307e\u305f\u306fPython 3.6\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001<code> Makefile <\/code>\u306e11\u884c\u76ee\u3092\u7de8\u96c6\u3057\u3066<code> make <\/code>\u30b3\u30de\u30f3\u30c9\u3092\u6b63\u5e38\u306b\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>Makefile\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u30922.6\u304b\u30892.7\u306b\u5909\u66f4\u3059\u308b\u4f8b\uff1a<br \/>\nLine 11 of <code>Makefile<\/code>:<\/p>\n<pre class=\"prettyprint\">INCLUDES_PYTHON = $(INCLUDES) -I\/usr\/include\/python2.6 ## Before Makefile used (Python 2.6)\n## Change it to\nINCLUDES_PYTHON = $(INCLUDES) -I\/usr\/include\/python2.7 ## After, now uses (Python 2.7)\n<\/pre>\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3067\u306f\u3001<code> griddb_python_client <\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u3001\u30b0\u30ea\u30c3\u30c9\u30b9\u30c8\u30a2\u6a5f\u80fd\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Python\u306eAPI\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306f\u3001<a href=\"http:\/\/www.griddb.org\/griddb_client\/PythonAPIReference.htm\" target=\"_blank\" title=\"Python API\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3 id=\"ruby-intro\">Ruby API Features<\/h3>\n<p>GridDB Python\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u7528\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u3068\u3001Ruby\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30d3\u30eb\u30c9\u3068\u5b9f\u884c\u306b\u5fc5\u8981\u306a\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u3082\u53d6\u5f97\u3055\u308c\u307e\u3059\u3002 GridDB\u306fRuby\u30d0\u30fc\u30b8\u30e7\u30f31.8\u3068\u30d0\u30fc\u30b8\u30e7\u30f32.4\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002 Ruby\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u30d3\u30eb\u30c9\u3057\u3066\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/github.com\/griddb\/griddb_client#user-content-build- and run \" target=\" _ blank \" title=\" Ruby Setup \" rel=\"noopener noreferrer\"> griddb_client\u30da\u30fc\u30b8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Python\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u3057\u3066Ruby\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u3082\u540c\u69d8\u306e\u30eb\u30fc\u30eb\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002 \u4e00\u3064\u306e\u9055\u3044\u306f\u3001Ruby\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u542b\u3080<code> griddb_ruby_client.so <\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u53c2\u7167\u3059\u308b<code> 'griddb_ruby_client' <\/code>\u3092\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3067\u5358\u7d14\u306b<code> require <\/code> \u3002<\/p>\n<p>Ruby API\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306f\u3001<a href=\"http:\/\/www.griddb.org\/griddb_client\/RubyAPIReference.htm\" target=\"_blank\" title=\"Ruby API\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2 id=\"connect-intro\">Connecting to your GridDB Cluster<\/h2>\n<p>\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u3001C\/Python\/Ruby API\u306eGridDB\u30af\u30e9\u30b9\u30bf\u3078\u306e\u63a5\u7d9a\u306f\u3001Java API\u306eGridDB\u3078\u306e\u63a5\u7d9a\u306b\u4f3c\u3066\u3044\u307e\u3059\u3002 <b> Properties <\/b>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u307e\u305f\u306f\u540c\u69d8\u306e\u30c7\u30fc\u30bf\u69cb\u9020\u3092\u4f5c\u6210\u3057\u3001\u63a5\u7d9a\u5148\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30db\u30b9\u30c8\u3001\u30dd\u30fc\u30c8\u3001\u304a\u3088\u3073\u69cb\u6210\u8a2d\u5b9a\u3092\u5165\u529b\u3057\u307e\u3059\u3002 GridDB\u3078\u306e\u63a5\u7d9a\u3092\u8868\u3059<code> Gridstore <\/code>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u3001\u3053\u308c\u3089\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306e\u63a5\u7d9a\u3092\u30d5\u30a7\u30c3\u30c1\u3059\u308b\u305f\u3081\u306b<code> StoreFactory <\/code>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<h4 id=\"connect-c\">C<\/h4>\n<pre class=\"prettyprint\">#include \"gridstore.h\"\n\/\/ (snip)\nGSGridStore* gridstore;\nconst GSPropertyEntry properties[] = {\n\t{\"notificationAddress\",host},\n\t{\"notificationPort\",port},\n\t{\"clusterName\",clusterName},\n\t{\"user\",username},\n\t{\"password\",password}\n};\nsize_t propertyCount = sizeof(properties) \/ sizeof(*properties);\ngsGetGridStore(gsGetDefaultFactory(),properties,propertyCount,&amp;gridstore);\n<\/pre>\n<h4 id=\"connect-python\">Python<\/h4>\n<pre class=\"prettyprint\">#!\/usr\/bin\/python\nimport sys\nimport griddb_python_client\n# (snip)\ngriddb = griddb_python_client\nfactory = griddb.StoreFactory.get_default()\ntry:\n     gridstore = factory.get_store({\n\t\"notificationAddress\":host,\n\t\"notificationPort\": port,\n\t\"clusterName\":cluster,\n\t\"user\":user,\n\t\"password\":password\n\t})\n<\/pre>\n<h4 id=\"connect-ruby\">Ruby<\/h4>\n<pre class=\"prettyprint\">#!\/usr\/bin\/ruby\n$:.unshift File.dirname(__FILE__)\nrequire 'griddb_ruby_client'\nGriddb = Griddb_ruby_client\nfactory = Griddb::StoreFactory.get_default()\ngridstore = factory.get_store({\n                        \"notificationAddress\"=&gt; ARGV[0],\n                        \"notificationPort\"=&gt; ARGV[1],\n                        \"clusterName\"=&gt; ARGV[2],\n                        \"user\"=&gt; ARGV[3],\n                        \"password\"=&gt; ARGV[4]\n                      }) \n<\/pre>\n<h2 id=\"tql-intro\"> TQL\u30af\u30a8\u30ea\u306e\u767a\u884c<\/h2>\n<p>GridDB\u306eC API\u306b\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u5185\u306e\u884c\u3092\u7167\u4f1a\u304a\u3088\u3073\u96c6\u7d04\u3059\u308b\u305f\u3081\u306e\u3055\u307e\u3056\u307e\u306a\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u3002\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u30af\u30a8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u767a\u884c\u3059\u308b\u6700\u3082\u7c21\u5358\u3067\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3001TQL\u6587\u5b57\u5217\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002 <b> TQL <\/b>\u306f\u3001GridDB\u306eSQL\u30af\u30a8\u30ea\u306e\u7c21\u7565\u5316\u3055\u308c\u305f\u5f62\u5f0f\u3067\u3059\u3002<\/p>\n<p>\u30af\u30a8\u30ea\u306fTQL\u6587\u5b57\u5217\u3068\u3057\u3066\u958b\u59cb\u3055\u308c\u307e\u3059\u3002 \u305d\u3053\u304b\u3089\u3001\u305d\u306eTQL\u3092\u30b3\u30f3\u30c6\u30ca\u306b\u767a\u884c\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066<i>\u30af\u30a8\u30ea<\/i>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5f62\u6210\u3055\u308c\u307e\u3059\u3002\u3053\u306eTQL\u3092\u53d6\u5f97\u3057\u3066\u7d50\u679c\u306e\u884c\u30bb\u30c3\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 \u305d\u306e\u7d50\u679c\u5f97\u3089\u308c\u308b<i>\u884c\u30bb\u30c3\u30c8<\/i>\u3092\u53cd\u5fa9\u3057\u3066\u3001\u500b\u3005\u306e\u884c\u3068\u5217\u306e\u5024\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002 <i>\u96c6\u8a08\u7d50\u679c<\/i>\u3082\u884c\u30bb\u30c3\u30c8\u304b\u3089\u53d6\u5f97\u3055\u308c\u307e\u3059\u3002 \u3053\u306e\u30d5\u30ed\u30fc\u306f\u3001C\u3001Python\u3001Ruby\u306eAPI\u3068\u307b\u307c\u540c\u3058\u3067\u3059\u3002<\/p>\n<h3 id=\"tql-c\">TQL Query in C<\/h3>\n<p>\u4ed6\u306e\u591a\u304f\u306e\u30af\u30a8\u30ea\u8a00\u8a9e\u3068\u540c\u69d8\u306b\u3001GridDB\u306eTQL \u3092\u7528\u3044\u3066\u3001\u6587\u5b57\u5217\u306e\u9577\u3055\u30c1\u30a7\u30c3\u30af\u3001\u90e8\u5206\u6587\u5b57\u5217\u30b9\u30e9\u30a4\u30b7\u30f3\u30b0\u3001\u6587\u5b57\u5217\u8a8d\u8b58\u306e\u3088\u3046\u306a<br \/>\n<a href=\"http:\/\/www.griddb.org\/griddb_nosql\/manual\/GridDB_API_Reference.html#sec-3-2-5\" target=\"_blank\" title=\"GridDB String\" rel=\"noopener noreferrer\">\u6587\u5b57\u5217\u64cd\u4f5c<\/a>\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre class=\"prettyprint\">Device nextDevice;\nGSQuery* generalQuery;\nGSRowSet* generalRowSet;\n\ngsQuery(collection,  \n\"select * where (SUBSTRING(name,8,3)='r12' OR name LIKE '%LUE%R55_') and CHAR_LENGTH(name) &gt; 4\",  &amp;generalQuery);\n\ngsFetch(generalQuery,GS_FALSE,&amp;generalRowSet);\nprintf(\"Performing a String Operation on Collection ampCollection151 in TQLnn\");\nwhile(gsHasNextRow(generalRowSet)){\n\tGSChar timeString[GS_TIME_STRING_SIZE_MAX];\n\tgsGetNextRow(generalRowSet,&amp;nextDevice); \/\/ Obtain  row object\n\tgsFormatTime(nextDevice.timestamp,timeString,sizeof(timeString)); \/\/ Format timestamp number\n\n\tprintf(\"Row in collection ampMeter151: Name=%s\",nextDevice.name);\n\tprintf(\" Amperage = %.2lf\",nextDevice.amperage);\n\tprintf(\" Count = %d\",nextDevice.count);\n\tprintf(\" Timestamp = %sn\",timeString);\n<\/pre>\n<p><b>\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8<\/b><\/p>\n<pre class=\"prettyprint\">TQL\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3ampCollection151\u3067\u6587\u5b57\u5217\u64cd\u4f5c\u3092\u5b9f\u884c\u3059\u308b\nRow in collection ampMeter151: Name=ampMeter12 Amperage = 1.45  \nCount = 3 Timestamp = 2017-09-15T18:13:52.710Z\nRow in collection ampMeter151: Name=BLUESEAMETER555 Amperage = 2.43  \nCount = 5 Timestamp = 2017-09-15T18:13:52.710Z\n<\/pre>\n<h3 id=\"tql-python\">Python<\/h3>\n<p>\u30b8\u30aa\u30e1\u30c8\u30ea\u56fa\u6709\u306e\u30af\u30a8\u30ea\u3068\u95a2\u6570\u3092\u9664\u3044\u3066\u3001TQL\u306fPython\u3068Ruby API\u306e\u4e21\u65b9\u3067\u30af\u30a8\u30ea\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002 \u305f\u3068\u3048\u3070\u3001Python\u3067Timeseries\u96c6\u8a08\u3092\u5b9f\u884c\u3059\u308b\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001TQL\u3067\u767a\u884c\u3067\u304d\u307e\u3059\u3002 \u3053\u308c\u306b\u306f\u3001\u30bf\u30a4\u30e0\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3001\u6642\u9593\u5e73\u5747\u3001\u304a\u3088\u3073\u88dc\u9593\u306e\u3088\u3046\u306a\u6642\u9593\u4f9d\u5b58\u306e\u30af\u30a8\u30ea\u304a\u3088\u3073\u95a2\u6570\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<p><b> Python\u3067\u306eTQL\u6642\u9593\u30af\u30a8\u30ea<\/b><\/p>\n<pre class=\"prettyprint\">query = timeseries.query(\u201cselect * where timestamp &gt; TIMESTAMPADD(HOUR,NOW(),-12)\u201d)\nrowSet = query.fetch(False)\nwhile rowSet.has_next():\n\trowSet.get_next(row)\n\ttime = row.get_field_as_timestamp(0)\n\tvoltage = row.get_field_as_double(2)\n\tprint(\u201cVoltage at timestamp: {0} is {1} volts in Timeseries voltmeter2.\u201d.format(time,voltage)\n<\/pre>\n<p><b>Output<\/b><\/p>\n<pre class=\"prettyprint\">Voltage at timestamp: 1505398224644 is 12.34 volts in Timeseries voltmeter2\n<\/pre>\n<h3 id=\"tql-ruby\">Ruby<\/h3>\n<p>\u7279\u5b9a\u306e\u96c6\u7d04\u95a2\u6570\u3092TQL\u306e\u6642\u9593\u7279\u6709\u306e\u95a2\u6570\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><b> Ruby\u3067\u306e\u96c6\u8a08TQL\u30af\u30a8\u30ea<\/b><\/p>\n<pre class=\"prettyprint\">update = false\ntimestamp = Griddb::Timestamp.current()\naggCommand = \"select AVG(voltage) from voltmeter502 where timestamp &gt; TIMESTAMPADD(MINUTE, \nTO_TIMESTAMP_MS(#{timestamp}), -10) AND timestamp &lt; TIMESTAMPADD(MINUTE,  \nTO_TIMESTAMP_MS(#{timestamp}), 10)\"\naggQuery = timeseries.query(aggCommand) \naggRowSet = aggQuery.fetch(update)\nwhile aggRowSet.has_next()\n      aggResult = aggRowSet.get_next_aggregation()\n      print \"Aggregation Result from voltmeter502: Average voltage = #{aggResult.get_double()}n\"\nend\n<\/pre>\n<p><b>Output<\/b><\/p>\n<pre class=\"prettyprint\">Aggregation result from voltmeter502: Average voltage = 10.5\n<\/pre>\n<h3 id=\"insert-collection-c\">Inserting Collection into GridDB with C API<\/h3>\n<p>C\u3067\u306f\u3001\u9759\u7684\u30b9\u30ad\u30fc\u30de\u307e\u305f\u306f\u52d5\u7684\u30b9\u30ad\u30fc\u30de\u306e\u3044\u305a\u308c\u304b\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u30b9\u30ad\u30fc\u30de\u3092\u4f5c\u6210\u3057\u3066GridDB\u306b\u66f4\u65b0\u3067\u304d\u307e\u3059\u3002 \u9759\u7684\u30b9\u30ad\u30fc\u30de\u306f\u3001\u69cb\u9020\u4f53\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u306e\u5f62\u5f0f\u3067\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002 \u52d5\u7684\u30b9\u30ad\u30fc\u30de\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u66f4\u65b0\u307e\u305f\u306f\u633f\u5165\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b<code> columnInfo <\/code>\u304a\u3088\u3073<code> containerInfo <\/code>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5f62\u5f0f\u3067\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><b> C-Struct\u3092\u4f7f\u7528\u3057\u305f\u9759\u7684\u30b9\u30ad\u30fc\u30de\u306e\u4f5c\u6210<\/b><\/p>\n<pre class=\"prettyprint\">typedef struct {\n\tconst GSChar* name;\n\tdouble amperage;\n\tint count;\n\tGSTimestamp timestamp;\n} Device; \/\/ Static Column Schema in GridDB C API\n<\/pre>\n<p>\u69cb\u9020\u4f53\u3092GridDB\u5185\u306e\u30b3\u30f3\u30c6\u30ca\u306e\u30b9\u30ad\u30fc\u30de\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u884c\u30ad\u30fc\u3092\u5b9a\u7fa9\u3057\u3001\u5404\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u578b\u3092\u660e\u793a\u7684\u306b\u5272\u308a\u5f53\u3066\u308b\u305f\u3081\u306e<i>\u69cb\u9020\u4f53\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0<\/i>\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059 \u69cb\u9020\u4f53\u3002<\/p>\n<p><b>Creating a Column Schema from a Struct<\/b><\/p>\n<pre class=\"prettyprint\">GS_STRUCT_BINDING(Device,\n\tGS_STRUCT_BINDING_KEY(name,GS_TYPE_STRING)\n\tGS_STRUCT_BINDING_ELEMENT(amperage,GS_TYPE_DOUBLE)\n\tGS_STRUCT_BINDING_ELEMENT(count,GS_TYPE_INTEGER)\n\tGS_STRUCT_BINDING_ELEMENT(timestamp,GS_TYPE_TIMESTAMP));\n<\/pre>\n<p>\u305d\u3053\u304b\u3089\u69cb\u9020\u4f53\u304c\u30d0\u30a4\u30f3\u30c9\u3055\u308c\u3001\u884c\u30b9\u30ad\u30fc\u30de\u306b\u306a\u3063\u305f\u3089\u3001\u30b3\u30f3\u30c6\u30ca\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><b>\u30b3\u30f3\u30c6\u30ca\u3078\u306e\u69cb\u9020\u4f53\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u30b9\u30ad\u30fc\u30de\u306e\u633f\u5165<\/b><\/p>\n<pre class=\"prettyprint\">GSCollection* collection;\ngsPutCollection(gridstore,\"ampCollection151\",GS_GET_STRUCT_BINDING(Device),NULL,GS_FALSE,&amp;collection);\n<\/pre>\n<p>\u305d\u3053\u304b\u3089<code> Device <\/code>\u69cb\u9020\u4f53\u3092<i>\u884c<\/i>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u4f7f\u7528\u3057\u3066\u884c\u3092\u30d5\u30a7\u30c3\u30c1\u3057\u3066\u633f\u5165\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><b>Inserting a Struct as a GSRow<\/b><\/p>\n<pre class=\"prettyprint\">Device insertionDevice;\ninsertionDevice.name = \"ampMeter12\";\ninsertionDevice.amperage = 1.45;\ninsertionDevice.count = 3;\ninsertionDevice.timestamp = gsCurrentTime();\n<\/pre>\n<p><b>Having a Struct Represent a Row Schema<\/b><\/p>\n<pre class=\"prettyprint\">Device device;\nwhile(gsHasNextRow(rowSet)){\n\tgsGetNextRow(rowSet,&amp;device);\n\tGSChar timeStr[GS_TIME_STRING_SIZE_MAX];\n\tgsFormatTime(device.timestamp,timeStr,sizeof(timeStr));\n\tprintf(\"Device in ampCollection151: \");\n\tprintf(\"name=%s\",device.name);\n\tprintf(\" amperage=%.2lf\",device.amperage);\n\tprintf(\" count=%d\",device.count);\n\tprintf(\" timestamp=%sn\",timeStr);\n<\/pre>\n<p><b>\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8<\/b><\/p>\n<pre class=\"prettyprint\">Device in ampCollection151: name=ampMeter12 amperage=1.45 count=3  \ntimestamp=2017-09-14T20:05:06.285Z\n<\/pre>\n<h3 id=\"timeseries-insert-python\">Python<\/h3>\n<p>Python\u3068Ruby\u306e\u4e21\u65b9\u3067\u3001\u30b9\u30ad\u30fc\u30de\u3092\u4f5c\u6210\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u3092\u633f\u5165\u3059\u308b\u30a2\u30d7\u30ed\u30fc\u30c1\u306f\u3001C API\u3067\u793a\u3057\u305f\u52d5\u7684\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u4f3c\u3066\u3044\u307e\u3059\u3002 \u5217\u3068\u30b3\u30f3\u30c6\u30ca\u306b\u540d\u524d\u3092\u4ed8\u3051\u3001\u5217\u306e\u7a2e\u985e\u3092\u5b9a\u7fa9\u3059\u308b\u3060\u3051\u3067\u3059\u3002 \u305d\u308c\u3089\u304cTimeSeries\u304b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3001\u304a\u3088\u3073\u305d\u308c\u3089\u304c\u6301\u3064\u3079\u304d\u7d22\u5f15\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002 \u4f7f\u7528\u53ef\u80fd\u306a\u5217\u306e\u7a2e\u985e\u306f\u3001<a href=\"&#10;https:\/\/griddb.net\/ja\/docs\/documents\/5-1-6_container-schema.php\" target=\"_blank\" title=\"GridDB column types\" rel=\"noopener noreferrer\">GridDB\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a> \u304a\u3088\u3073 <a href=\"http:\/\/www.griddb.org\/griddb_nosql\/manual\/GridDB_API_Reference.html\" target=\"_blank\" title=\"GridDB API reference\" rel=\"noopener noreferrer\">API\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><b> Python\u3067\u6642\u7cfb\u5217\u3092\u633f\u5165\u3059\u308b<\/b><\/p>\n<pre class=\"prettyprint\">timeseries = gridstore.put_container(\"voltmeter2\",[\n\t\t(\"timestamp\",griddb.GS_TYPE_TIMESTAMP),\n\t\t(\"active\",griddb.GS_TYPE_BOOL),\n\t\t(\"voltage\",griddb.GS_TYPE_DOUBLE)\n\t\t],griddb.GS_CONTAINER_TIME_SERIES)\n<\/pre>\n<p>Python\u3067\u306f\u3001\u5909\u6570\u306e\u578b\u3092\u660e\u793a\u7684\u306b\u8a18\u8ff0\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u305f\u3081\u3067\u3059\u3002 \u884c\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u3001\u3088\u308a\u6d41\u52d5\u7684\u306b\u633f\u5165\u3057\u3066\u53d6\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u77e5\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u306f\u3001\u5217\u306e\u30bf\u30a4\u30d7\u3068\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u307f\u3067\u3059\u3002 \u4f5c\u6210\u3055\u308c\u305f\u884c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001\u305d\u308c\u304c\u57fa\u306b\u306a\u3063\u3066\u3044\u308b\u30b3\u30f3\u30c6\u30ca\u306b\u3088\u3063\u3066\u8a2d\u5b9a\u3055\u308c\u305f\u884c\u30b9\u30ad\u30fc\u30de\u3092\u6301\u3061\u307e\u3059\u3002 \u884c\u3092\u633f\u5165\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><b> Python\u3067\u884c\u3092\u633f\u5165\u3059\u308b<\/b><\/p>\n<pre class=\"prettyprint\">## Create rows and set all Row Fields\ninsertionRow = timeseries.create_row()\ninsertionRow.set_field_by_timestamp(0,griddb.Timestamp_add_time(griddb.Timestamp_current(),-6,  \n griddb.GS_TIME_UNIT_HOUR))\n\ninsertionRow.set_field_by_bool(1,True)\ninsertionRow.set_field_by_double(2, 12.34)\n\n## Insert Row into Timeseries\ntimeseries.put_row(insertionRow)\n<\/pre>\n<h3 id=\"insert-collection-ruby\">Ruby<\/h3>\n<p>\u540c\u3058\u30d7\u30ed\u30bb\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3001Ruby\u3067<a href=\"#timeseries-insert-python\"> Python <\/a>\u3067\u30b9\u30ad\u30fc\u30de\u3084\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 \u5358\u306b\u5217\u306b\u540d\u524d\u3092\u4ed8\u3051\u3066\u578b\u3092\u8a2d\u5b9a\u3057\u3001\u30b3\u30f3\u30c6\u30ca\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3001\u307e\u305f\u306ftimeseries\u306e\u30bf\u30a4\u30d7\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p><b> Ruby\u306b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u633f\u5165\u3059\u308b<\/b><\/p>\n<pre class=\"prettyprint\">Collection = gridstore.put_container(\u201ccollection121\u201d,[\n{\u201cname\u201d=&gt;Grid db::GS_TYPE_STRING},\n{\u201cstatus\u201d=&gt;Grid db::GS_TYPE_BOOL},\n{\u201ccount\u201d=&gt;Grid db::GS_TYPE_LONG},\n{\u201clob\u201d=&gt;Grid db::GS_TYPE_BLOB }\n],CONTAINER_TYPE_COLLECTION)\n<\/pre>\n<p>\u305d\u3053\u304b\u3089\u884c\u306f\u3001Python\u3068\u540c\u3058\u65b9\u6cd5\u3067\u30d5\u30a7\u30c3\u30c1\u3001\u633f\u5165\u3001\u66f4\u65b0\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><b> Ruby\u3067\u306e\u884c\u306e\u53d6\u5f97\u3068\u66f4\u65b0<\/b><\/p>\n<pre class=\"prettyprint\">rowSet.get_next(row)\nname = row.get_field_as_string(0)\nstatus = row.get_field_as_bool(1)\ncount = row.get_field_as_long(2) + 1\nlob = row.get_field_as_blob(3)\nprint \"Row in Collection: collection121, Person: name=#{name} status=#{status} count=#{count} lob=\"\np lob.unpack(\"U*\")\nrow.set_field_as_long(2,count)\nrowSet.update_current(row)\n<\/pre>\n<p><b>\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8<\/b><\/p>\n<pre class=\"prettyprint\">Row in Collection: collection121, Person: name=secondRow status=false \n count=6 lob=[65, 66, 67, 68, 69, 70, 71, 72, 73, 74]\n<\/pre>\n<p>\u4e0a\u8a18\u306e\u4f8b\u304b\u3089\u308f\u304b\u308b\u3088\u3046\u306b\u3001GridDB\u3068\u306e\u3084\u308a\u3068\u308a\u306f\u591a\u304f\u306e\u8a00\u8a9e\u3067\u7406\u89e3\u3055\u308c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u3053\u308c\u306f\u3001GridDB\u304c\u3069\u306e\u3088\u3046\u306b\u4f7f\u3044\u3084\u3059\u3044API\u3092\u4ecb\u3057\u3066\u5e45\u5e83\u3044\u30b5\u30dd\u30fc\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u304b\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3055\u307e\u3056\u307e\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u30d9\u30fc\u30b9\u3068\u3057\u3066\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 id=\"source-code\">Source Code<\/h2>\n<p>\u3053\u3053\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u30b9\u30cb\u30da\u30c3\u30c8\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u5165\u624b\u3067\u304d\u3001\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002 Ruby\u3001Python\u3001C \u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u305d\u308c\u305e\u308c\u4e00\u3064\u3065\u3064\u3042\u308a\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/griddb.net\/en\/download\/15753\/\">api_samples.tar.gz<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u305d\u306e\u307b\u3068\u3093\u3069\u304c\u8907\u6570\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002 \u4e00\u822c\u7684\u306b\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u8a00\u8a9e\u306e\u4e2d\u306b\u306f\u3001Java\u3001C\u3001Ruby\u3001Python\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002 GridDB\u3082\u540c\u69d8\u3067\u3059\u3002  [&hellip;]<\/p>\n","protected":false},"author":123,"featured_media":49021,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50668","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>GridDB&#039;s C\/Python\/Ruby APIs\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u6700\u8fd1\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u305d\u306e\u307b\u3068\u3093\u3069\u304c\u8907\u6570\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/using-griddbs-cpythonruby-apis\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GridDB&#039;s C\/Python\/Ruby APIs\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u6700\u8fd1\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u305d\u306e\u307b\u3068\u3093\u3069\u304c\u8907\u6570\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/using-griddbs-cpythonruby-apis\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-09-21T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:53:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb.net\/wp-content\/uploads\/2017\/09\/blog_title_17.png\" \/>\n\t<meta property=\"og:image:width\" content=\"870\" \/>\n\t<meta property=\"og:image:height\" content=\"490\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Joshua Pascascio\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joshua Pascascio\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/\"},\"author\":{\"name\":\"Joshua Pascascio\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/ca72185e9a3778df765a76313f789fd8\"},\"headline\":\"GridDB&#8217;s C\/Python\/Ruby APIs\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\",\"datePublished\":\"2017-09-21T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:53:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/\"},\"wordCount\":222,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2017\/09\/blog_title_17.png\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/\",\"name\":\"GridDB's C\/Python\/Ruby APIs\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2017\/09\/blog_title_17.png\",\"datePublished\":\"2017-09-21T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:53:34+00:00\",\"description\":\"\u6700\u8fd1\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u305d\u306e\u307b\u3068\u3093\u3069\u304c\u8907\u6570\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2017\/09\/blog_title_17.png\",\"contentUrl\":\"\/wp-content\/uploads\/2017\/09\/blog_title_17.png\",\"width\":870,\"height\":490},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb.net\/en\/#website\",\"url\":\"https:\/\/griddb.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/ca72185e9a3778df765a76313f789fd8\",\"name\":\"Joshua Pascascio\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/872ef8be79cb5117c256feb4c279ac41b954bfba599d647db925185c449aff1c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/872ef8be79cb5117c256feb4c279ac41b954bfba599d647db925185c449aff1c?s=96&d=mm&r=g\",\"caption\":\"Joshua Pascascio\"},\"url\":\"https:\/\/griddb.net\/ja\/author\/joshua\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GridDB's C\/Python\/Ruby APIs\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 | GridDB: Open Source Time Series Database for IoT","description":"\u6700\u8fd1\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u305d\u306e\u307b\u3068\u3093\u3069\u304c\u8907\u6570\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/using-griddbs-cpythonruby-apis\/","og_locale":"ja_JP","og_type":"article","og_title":"GridDB's C\/Python\/Ruby APIs\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 | GridDB: Open Source Time Series Database for IoT","og_description":"\u6700\u8fd1\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u305d\u306e\u307b\u3068\u3093\u3069\u304c\u8907\u6570\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/using-griddbs-cpythonruby-apis\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2017-09-21T07:00:00+00:00","article_modified_time":"2025-11-14T15:53:34+00:00","og_image":[{"width":870,"height":490,"url":"https:\/\/griddb.net\/wp-content\/uploads\/2017\/09\/blog_title_17.png","type":"image\/png"}],"author":"Joshua Pascascio","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"Joshua Pascascio","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/"},"author":{"name":"Joshua Pascascio","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/ca72185e9a3778df765a76313f789fd8"},"headline":"GridDB&#8217;s C\/Python\/Ruby APIs\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046","datePublished":"2017-09-21T07:00:00+00:00","dateModified":"2025-11-14T15:53:34+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/"},"wordCount":222,"commentCount":0,"publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2017\/09\/blog_title_17.png","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/","name":"GridDB's C\/Python\/Ruby APIs\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046 | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2017\/09\/blog_title_17.png","datePublished":"2017-09-21T07:00:00+00:00","dateModified":"2025-11-14T15:53:34+00:00","description":"\u6700\u8fd1\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3001\u305d\u306e\u307b\u3068\u3093\u3069\u304c\u8907\u6570\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/using-griddbs-cpythonruby-apis\/#primaryimage","url":"\/wp-content\/uploads\/2017\/09\/blog_title_17.png","contentUrl":"\/wp-content\/uploads\/2017\/09\/blog_title_17.png","width":870,"height":490},{"@type":"WebSite","@id":"https:\/\/griddb.net\/en\/#website","url":"https:\/\/griddb.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/ca72185e9a3778df765a76313f789fd8","name":"Joshua Pascascio","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/872ef8be79cb5117c256feb4c279ac41b954bfba599d647db925185c449aff1c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/872ef8be79cb5117c256feb4c279ac41b954bfba599d647db925185c449aff1c?s=96&d=mm&r=g","caption":"Joshua Pascascio"},"url":"https:\/\/griddb.net\/ja\/author\/joshua\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/users\/123"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/comments?post=50668"}],"version-history":[{"count":1,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50668\/revisions"}],"predecessor-version":[{"id":51511,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50668\/revisions\/51511"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media\/49021"}],"wp:attachment":[{"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/media?parent=50668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/categories?post=50668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb.net\/ja\/wp-json\/wp\/v2\/tags?post=50668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}