Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
ecae28b0
提交
ecae28b0
authored
4月 04, 2014
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation
上级
0acdde73
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
20 行增加
和
14 行删除
+20
-14
help.csv
h2/src/docsrc/help/help.csv
+2
-1
advanced.html
h2/src/docsrc/html/advanced.html
+1
-1
changelog.html
h2/src/docsrc/html/changelog.html
+8
-4
history.html
h2/src/docsrc/html/history.html
+1
-1
mvstore.html
h2/src/docsrc/html/mvstore.html
+7
-7
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
ecae28b0
...
@@ -1092,7 +1092,8 @@ SET CLUSTER ''
...
@@ -1092,7 +1092,8 @@ SET CLUSTER ''
SET BINARY_COLLATION
SET BINARY_COLLATION
{ UNSIGNED | SIGNED } ] }
{ UNSIGNED | SIGNED } ] }
","
","
Sets the collation used for comparing BINARY columns, the default is SIGNED.
Sets the collation used for comparing BINARY columns, the default is SIGNED
for version 1.3 and older, and UNSIGNED for version 1.4 and newer.
This command can only be executed if there are no tables defined.
This command can only be executed if there are no tables defined.
Admin rights are required to execute this command.
Admin rights are required to execute this command.
...
...
h2/src/docsrc/html/advanced.html
浏览文件 @
ecae28b0
h2/src/docsrc/html/changelog.html
浏览文件 @
ecae28b0
...
@@ -18,7 +18,11 @@ Change Log
...
@@ -18,7 +18,11 @@ Change Log
<h1>
Change Log
</h1>
<h1>
Change Log
</h1>
<h2>
Changes in Version 1.4 Beta (unreleased)
</h2>
<h2>
Changes in Version 1.4 Beta (unreleased)
</h2>
<ul><li>
The file locking method 'serialized' is no longer supported.
<ul><li>
By default, the MV_STORE option is enabled, so it is using the new MVStore
storage. The MVCC setting is set to the same values as the MV_STORE setting,
so it is also enabled by default. For testing, both settings can be disabled by appending
";MV_STORE=FALSE" / ";MVCC=FALSE" to the database URL.
</li><li>
The file locking method 'serialized' is no longer supported.
This mode might return in a future version,
This mode might return in a future version,
however this is not clear right now.
however this is not clear right now.
A new implementation and new tests would be needed.
A new implementation and new tests would be needed.
...
@@ -32,7 +36,7 @@ Change Log
...
@@ -32,7 +36,7 @@ Change Log
See also Mode.supportOffsetFetch.
See also Mode.supportOffsetFetch.
</li><li>
Byte arrays are now sorted in unsigned mode
</li><li>
Byte arrays are now sorted in unsigned mode
(x'99' is larger than x'09').
(x'99' is larger than x'09').
(System property "h2.sortBinaryUnsigned", Mode.binaryUnsigned).
(System property "h2.sortBinaryUnsigned", Mode.binaryUnsigned
, setting "binary_collation"
).
</li><li>
Csv.getInstance will be removed in future versions of 1.4.
</li><li>
Csv.getInstance will be removed in future versions of 1.4.
Use the public constructor instead.
Use the public constructor instead.
</li><li>
Remove support for the limited old-style outer join syntax using "(+)".
</li><li>
Remove support for the limited old-style outer join syntax using "(+)".
...
@@ -89,7 +93,7 @@ Change Log
...
@@ -89,7 +93,7 @@ Change Log
</li><li>
Support some more DDL syntax for MySQL, patch from Peter Jentsch.
</li><li>
Support some more DDL syntax for MySQL, patch from Peter Jentsch.
</li><li>
Issue 548: TO_CHAR does not format MM and DD correctly when the month or day of
</li><li>
Issue 548: TO_CHAR does not format MM and DD correctly when the month or day of
the month is 1 digit, patch from "the.tucc"
the month is 1 digit, patch from "the.tucc"
</li><li>
Fix bug in vara
gs support in ALIAS's, patch from Nicolas Fortin
</li><li>
Fix bug in vara
rgs support in ALIAS's, patch from Nicolas Fortin
</li></ul>
</li></ul>
<h2>
Version 1.3.175 (2014-01-18)
</h2>
<h2>
Version 1.3.175 (2014-01-18)
</h2>
...
...
h2/src/docsrc/html/history.html
浏览文件 @
ecae28b0
...
@@ -134,6 +134,7 @@ spread the word, and translated this project. Also many thanks to the donors:
...
@@ -134,6 +134,7 @@ spread the word, and translated this project. Also many thanks to the donors:
</li><li>
Philippe Marschall, Switzerland
</li><li>
Philippe Marschall, Switzerland
</li><li>
Knut Staring, Norway
</li><li>
Knut Staring, Norway
</li><li>
Theis Borg, Denmark
</li><li>
Theis Borg, Denmark
</li><li>
Mark De Mendonca Duske, USA
</li><li>
Joel A. Garringer, USA
</li><li>
Joel A. Garringer, USA
</li><li>
Olivier Chafik, France
</li><li>
Olivier Chafik, France
</li><li>
Rene Schwietzke, Germany
</li><li>
Rene Schwietzke, Germany
...
@@ -144,7 +145,6 @@ spread the word, and translated this project. Also many thanks to the donors:
...
@@ -144,7 +145,6 @@ spread the word, and translated this project. Also many thanks to the donors:
</li><li>
Laurent van Roy, Belgium
</li><li>
Laurent van Roy, Belgium
</li><li>
Qian Chen, China
</li><li>
Qian Chen, China
</li><li>
Clinton Hyde, USA
</li><li>
Clinton Hyde, USA
</li><li>
Mark De Mendonca Duske, USA
</li><li>
Kritchai Phromros, Thailand
</li><li>
Kritchai Phromros, Thailand
</li></ul>
</li></ul>
...
...
h2/src/docsrc/html/mvstore.html
浏览文件 @
ecae28b0
...
@@ -63,7 +63,7 @@ But it can also be used directly within an application, without using JDBC or SQ
...
@@ -63,7 +63,7 @@ But it can also be used directly within an application, without using JDBC or SQ
</li><li>
Both file-based persistence and in-memory operation are supported.
</li><li>
Both file-based persistence and in-memory operation are supported.
</li><li>
It is intended to be fast, simple to use, and small.
</li><li>
It is intended to be fast, simple to use, and small.
</li><li>
Old versions of the data can be read concurrently with all other operations.
</li><li>
Old versions of the data can be read concurrently with all other operations.
</li><li>
Transaction are supported (including concurrent transactions and 2-phase commit).
</li><li>
Transaction
s
are supported (including concurrent transactions and 2-phase commit).
</li><li>
The tool is very modular.
</li><li>
The tool is very modular.
It supports pluggable data types and serialization,
It supports pluggable data types and serialization,
pluggable storage (to a file, to off-heap memory),
pluggable storage (to a file, to off-heap memory),
...
@@ -74,7 +74,7 @@ But it can also be used directly within an application, without using JDBC or SQ
...
@@ -74,7 +74,7 @@ But it can also be used directly within an application, without using JDBC or SQ
<h2
id=
"example_code"
>
Example Code
</h2>
<h2
id=
"example_code"
>
Example Code
</h2>
<p>
<p>
The following sample code show how to use the tool:
The following sample code show
s
how to use the tool:
</p>
</p>
<pre>
<pre>
import org.h2.mvstore.*;
import org.h2.mvstore.*;
...
@@ -96,7 +96,7 @@ s.close();
...
@@ -96,7 +96,7 @@ s.close();
<h2
id=
"store_builder"
>
Store Builder
</h2>
<h2
id=
"store_builder"
>
Store Builder
</h2>
<p>
<p>
The
<code>
MVStore.Builder
</code>
provides a fluid interface
The
<code>
MVStore.Builder
</code>
provides a fluid interface
to build a store if
more complex configuration options are us
ed.
to build a store if
configuration options are need
ed.
Example usage:
Example usage:
</p>
</p>
<pre>
<pre>
...
@@ -111,14 +111,14 @@ The list of available options is:
...
@@ -111,14 +111,14 @@ The list of available options is:
</p>
</p>
<ul><li>
autoCommitBufferSize: the size of the write buffer.
<ul><li>
autoCommitBufferSize: the size of the write buffer.
</li><li>
autoCommitDisabled: to disable auto-commit.
</li><li>
autoCommitDisabled: to disable auto-commit.
</li><li>
backgroundExceptionHandler:
specify
a handler for
</li><li>
backgroundExceptionHandler: a handler for
exceptions that could occur while writing in the background.
exceptions that could occur while writing in the background.
</li><li>
cacheSize: the cache size in MB.
</li><li>
cacheSize: the cache size in MB.
</li><li>
compress: compress the data when storing
</li><li>
compress: compress the data when storing
using a fast algorithm (LZF).
using a fast algorithm (LZF).
</li><li>
compressHigh: compress the data when storing
</li><li>
compressHigh: compress the data when storing
using a slower algorithm (Deflate).
using a slower algorithm (Deflate).
</li><li>
encryptionKey: the
encryption
key for file encryption.
</li><li>
encryptionKey: the key for file encryption.
</li><li>
fileName: the name of the file, for file based stores.
</li><li>
fileName: the name of the file, for file based stores.
</li><li>
fileStore: the storage implementation to use.
</li><li>
fileStore: the storage implementation to use.
</li><li>
pageSplitSize: the point where pages are split.
</li><li>
pageSplitSize: the point where pages are split.
...
@@ -156,7 +156,7 @@ s.close();
...
@@ -156,7 +156,7 @@ s.close();
<p>
<p>
The default number of dimensions is 2. To use a different number of dimensions,
The default number of dimensions is 2. To use a different number of dimensions,
call
<code>
new MVRTreeMap.Builder
<
String
>
().dimensions(3)
</code>
.
call
<code>
new MVRTreeMap.Builder
<
String
>
().dimensions(3)
</code>
.
The minimum number of dimensions is 1, the maximum is
255
.
The minimum number of dimensions is 1, the maximum is
32
.
</p>
</p>
<h2
id=
"features"
>
Features
</h2>
<h2
id=
"features"
>
Features
</h2>
...
@@ -212,7 +212,7 @@ s.commit();
...
@@ -212,7 +212,7 @@ s.commit();
map.put(1, "Hi");
map.put(1, "Hi");
map.remove(2);
map.remove(2);
// access the old data (before
incrementVersion
)
// access the old data (before
the commit
)
MVMap
<
Integer, String
>
oldMap =
MVMap
<
Integer, String
>
oldMap =
map.openVersion(oldVersion);
map.openVersion(oldVersion);
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
ecae28b0
...
@@ -24,6 +24,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
...
@@ -24,6 +24,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
<h2>
Version 1.5.x: Planned Changes
</h2>
<h2>
Version 1.5.x: Planned Changes
</h2>
<ul><li>
Replace file password hash with file encryption key; validate encryption key when connecting.
<ul><li>
Replace file password hash with file encryption key; validate encryption key when connecting.
</li><li>
Remove "set binary collation" feature.
</li><li>
Remove the encryption algorithm XTEA.
</li><li>
Remove the encryption algorithm XTEA.
</li></ul>
</li></ul>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论