From ba95dea8fe0bcb8777779765cb37663cd1605624 Mon Sep 17 00:00:00 2001 From: Yoshinari Takaoka Date: Sun, 30 Dec 2012 20:34:16 +0000 Subject: [PATCH] - added new function. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328924 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/chdb/functions/chdb-create.xml | 28 +++++++++--------------- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/reference/chdb/functions/chdb-create.xml b/reference/chdb/functions/chdb-create.xml index 2eaab41439..a294ce5781 100644 --- a/reference/chdb/functions/chdb-create.xml +++ b/reference/chdb/functions/chdb-create.xml @@ -4,7 +4,7 @@ chdb_create - Creates a chdb file + chdb ファイルを作成する @@ -15,15 +15,11 @@ arraydata - chdb_create creates a chdb file containing the - specified key-value pairs. + chdb_create 関数は、特定のキーと値のペアを含む chdb ファイルを作成します。 - chdb files are not portable across little-endian and big-endian - environments. Except for that, they are portable across different - architectures. Also compatibility across different versions of chdb is not - guaranteed. + エンディアンが異なる環境で作られた chdb ファイルは移植性がありません。それを除けば、異なるアーキテクチャ上であっても移植性があります。また、バージョンが異なる chdb 間の互換性は保証されません。 @@ -35,10 +31,10 @@ pathname - The name of the file to create. + 作成する chdb のファイルパス名 - If a file with the same name already exists, it is overwritten. + 指定されたパスと同じファイルが既にある場合は上書きされます。 @@ -46,12 +42,10 @@ data - An array containing the key-value pairs to store in the chdb file. + chdb ファイルに格納するキーと値のペアを含んだ配列 - Keys and values are converted to strings before being written to the file, - as chdb only support the string type. Note that binary strings are - supported as well, both as keys and values. + キーと値はファイルに書き出される前に文字列に変換されます。これは chdb が文字列型しかサポートしていないからです。キーにも値にも、バイナリ文字列を使えることに注意してください。 @@ -68,14 +62,14 @@ &reftitle.errors; - Throws an exception in case the chdb file hasn't been successfully created. + chdb ファイルの作成に失敗した場合は例外がスローされます &reftitle.examples; - <function>chdb_create</function> example + <function>chdb_create</function> の例 - The above example will generate a chdb file named - data.chdb and containing the key-value pairs defined in - $data. + 上の例は data.chdb という名前の chdb ファイルを生成します。このファイルには $data に定義されたキーと値のペアが含まれています。