Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
2161dad7
提交
2161dad7
authored
12月 12, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix license formatting.
上级
3a257a31
隐藏空白字符变更
内嵌
并排
正在显示
35 个修改的文件
包含
176 行增加
和
127 行删除
+176
-127
Activity.java
h2/src/tools/android/app/Activity.java
+4
-3
ContentResolver.java
h2/src/tools/android/content/ContentResolver.java
+4
-3
ContentValues.java
h2/src/tools/android/content/ContentValues.java
+4
-3
Context.java
h2/src/tools/android/content/Context.java
+6
-4
AbstractCursor.java
h2/src/tools/android/database/AbstractCursor.java
+4
-3
AbstractWindowedCursor.java
h2/src/tools/android/database/AbstractWindowedCursor.java
+4
-3
CharArrayBuffer.java
h2/src/tools/android/database/CharArrayBuffer.java
+4
-3
ContentObserver.java
h2/src/tools/android/database/ContentObserver.java
+4
-3
Cursor.java
h2/src/tools/android/database/Cursor.java
+4
-3
CursorWindow.java
h2/src/tools/android/database/CursorWindow.java
+4
-3
DataSetObserver.java
h2/src/tools/android/database/DataSetObserver.java
+4
-3
SQLException.java
h2/src/tools/android/database/SQLException.java
+4
-3
SQLiteClosable.java
h2/src/tools/android/database/sqlite/SQLiteClosable.java
+4
-3
Uri.java
h2/src/tools/android/net/Uri.java
+4
-3
Bundle.java
h2/src/tools/android/os/Bundle.java
+4
-3
Test.java
h2/src/tools/android/test/Test.java
+4
-3
H2AbortException.java
h2/src/tools/org/h2/android/H2AbortException.java
+4
-3
H2Closable.java
h2/src/tools/org/h2/android/H2Closable.java
+4
-3
H2ConstraintException.java
h2/src/tools/org/h2/android/H2ConstraintException.java
+4
-3
H2Cursor.java
h2/src/tools/org/h2/android/H2Cursor.java
+4
-3
H2CursorDriver.java
h2/src/tools/org/h2/android/H2CursorDriver.java
+7
-6
H2Database.java
h2/src/tools/org/h2/android/H2Database.java
+4
-3
H2DatabaseCorruptException.java
h2/src/tools/org/h2/android/H2DatabaseCorruptException.java
+6
-0
H2DiskIOException.java
h2/src/tools/org/h2/android/H2DiskIOException.java
+6
-0
H2DoneException.java
h2/src/tools/org/h2/android/H2DoneException.java
+6
-0
H2Exception.java
h2/src/tools/org/h2/android/H2Exception.java
+4
-3
H2FullException.java
h2/src/tools/org/h2/android/H2FullException.java
+4
-3
H2MisuseException.java
h2/src/tools/org/h2/android/H2MisuseException.java
+4
-3
H2OpenHelper.java
h2/src/tools/org/h2/android/H2OpenHelper.java
+10
-9
H2Program.java
h2/src/tools/org/h2/android/H2Program.java
+10
-9
H2Query.java
h2/src/tools/org/h2/android/H2Query.java
+8
-7
H2QueryBuilder.java
h2/src/tools/org/h2/android/H2QueryBuilder.java
+14
-14
H2Statement.java
h2/src/tools/org/h2/android/H2Statement.java
+3
-3
H2TransactionListener.java
h2/src/tools/org/h2/android/H2TransactionListener.java
+4
-3
H2Utils.java
h2/src/tools/org/h2/android/H2Utils.java
+4
-3
没有找到文件。
h2/src/tools/android/app/Activity.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
app
;
...
...
h2/src/tools/android/content/ContentResolver.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
content
;
...
...
h2/src/tools/android/content/ContentValues.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
content
;
...
...
h2/src/tools/android/content/Context.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
content
;
...
...
@@ -11,7 +12,8 @@ package android.content;
public
class
Context
{
/**
* The file may only be accessed by this application, or by application with the same user ID.
* The file may only be accessed by this application, or by application with
* the same user ID.
*/
public
static
final
int
MODE_PRIVATE
=
0
;
...
...
h2/src/tools/android/database/AbstractCursor.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
database
;
...
...
h2/src/tools/android/database/AbstractWindowedCursor.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
database
;
...
...
h2/src/tools/android/database/CharArrayBuffer.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
database
;
...
...
h2/src/tools/android/database/ContentObserver.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
database
;
...
...
h2/src/tools/android/database/Cursor.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
database
;
...
...
h2/src/tools/android/database/CursorWindow.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
database
;
...
...
h2/src/tools/android/database/DataSetObserver.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
database
;
...
...
h2/src/tools/android/database/SQLException.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
database
;
...
...
h2/src/tools/android/database/sqlite/SQLiteClosable.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
database
.
sqlite
;
...
...
h2/src/tools/android/net/Uri.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
net
;
...
...
h2/src/tools/android/os/Bundle.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
os
;
...
...
h2/src/tools/android/test/Test.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
android
.
test
;
...
...
h2/src/tools/org/h2/android/H2AbortException.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
h2/src/tools/org/h2/android/H2Closable.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
h2/src/tools/org/h2/android/H2ConstraintException.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
h2/src/tools/org/h2/android/H2Cursor.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
h2/src/tools/org/h2/android/H2CursorDriver.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
@@ -24,14 +25,14 @@ public interface H2CursorDriver {
/**
* The query was re-run.
*
*
* @param cursor the old cursor
*/
void
cursorRequeried
(
Cursor
cursor
);
/**
* Execute the query.
*
*
* @param factory the cursor factory
* @param bindArgs the parameter values
* @return the cursor
...
...
@@ -40,7 +41,7 @@ public interface H2CursorDriver {
/**
* Set the parameter values.
*
*
* @param bindArgs the parameter values.
*/
void
setBindArguments
(
String
[]
bindArgs
);
...
...
h2/src/tools/org/h2/android/H2Database.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
h2/src/tools/org/h2/android/H2DatabaseCorruptException.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
/**
...
...
h2/src/tools/org/h2/android/H2DiskIOException.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
/**
...
...
h2/src/tools/org/h2/android/H2DoneException.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
/**
...
...
h2/src/tools/org/h2/android/H2Exception.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
h2/src/tools/org/h2/android/H2FullException.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
h2/src/tools/org/h2/android/H2MisuseException.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
h2/src/tools/org/h2/android/H2OpenHelper.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
@@ -15,7 +16,7 @@ public abstract class H2OpenHelper {
/**
* Construct a new instance.
*
*
* @param context the context to use
* @param name the name of the database (use null for an in-memory database)
* @param factory the cursor factory to use
...
...
@@ -34,7 +35,7 @@ public abstract class H2OpenHelper {
/**
* Open a read-only connection.
*
*
* @return a new read-only connection
*/
public
synchronized
H2Database
getReadableDatabase
()
{
...
...
@@ -43,7 +44,7 @@ public abstract class H2OpenHelper {
/**
* Open a read-write connection.
*
*
* @return a new read-write connection
*/
public
synchronized
H2Database
getWritableDatabase
()
{
...
...
@@ -52,14 +53,14 @@ public abstract class H2OpenHelper {
/**
* This method is called when the database did not already exist.
*
*
* @param db the connection
*/
public
abstract
void
onCreate
(
H2Database
db
);
/**
* This method is called after opening the database.
*
*
* @param db the connection
*/
public
void
onOpen
(
H2Database
db
)
{
...
...
@@ -69,7 +70,7 @@ public abstract class H2OpenHelper {
/**
* This method is called when the version stored in the database file does
* not match the expected value.
*
*
* @param db the connection
* @param oldVersion the current version
* @param newVersion the expected version
...
...
h2/src/tools/org/h2/android/H2Program.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
@@ -25,7 +26,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
...
...
@@ -36,7 +37,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
...
...
@@ -46,7 +47,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
...
...
@@ -56,7 +57,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter to NULL.
*
*
* @param index the parameter index (0, 1,...)
*/
public
void
bindNull
(
int
index
)
{
...
...
@@ -65,7 +66,7 @@ public class H2Program extends H2Closable {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
...
...
@@ -89,7 +90,7 @@ public class H2Program extends H2Closable {
/**
* Get the unique id of this statement.
*
*
* @return the id
*/
public
final
int
getUniqueId
()
{
...
...
h2/src/tools/org/h2/android/H2Query.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
@@ -18,7 +19,7 @@ public class H2Query extends H2Program {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
...
...
@@ -28,7 +29,7 @@ public class H2Query extends H2Program {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
...
...
@@ -38,7 +39,7 @@ public class H2Query extends H2Program {
/**
* Set the specified parameter to NULL.
*
*
* @param index the parameter index (0, 1,...)
*/
public
void
bindNull
(
int
index
)
{
...
...
@@ -47,7 +48,7 @@ public class H2Query extends H2Program {
/**
* Set the specified parameter value.
*
*
* @param index the parameter index (0, 1,...)
* @param value the new value
*/
...
...
h2/src/tools/org/h2/android/H2QueryBuilder.java
浏览文件 @
2161dad7
...
...
@@ -23,7 +23,7 @@ public class H2QueryBuilder {
/**
* Append the column to the string builder. The columns are separated by
* comma.
*
*
* @param s the target string builder
* @param columns the columns
*/
...
...
@@ -38,7 +38,7 @@ public class H2QueryBuilder {
/**
* Return the SELECT statement for the given parameters.
*
*
* @param distinct if only distinct rows should be returned
* @param tables the list of tables
* @param columns the list of columns
...
...
@@ -78,7 +78,7 @@ public class H2QueryBuilder {
/**
* Append the text to the where clause.
*
*
* @param inWhere the text to append
*/
void
appendWhere
(
CharSequence
inWhere
)
{
...
...
@@ -87,7 +87,7 @@ public class H2QueryBuilder {
/**
* Append the text to the where clause. The text is escaped.
*
*
* @param inWhere the text to append
*/
void
appendWhereEscapeString
(
String
inWhere
)
{
...
...
@@ -96,7 +96,7 @@ public class H2QueryBuilder {
/**
* Return the SELECT UNION statement for the given parameters.
*
*
* @param projectionIn TODO
* @param selection TODO
* @param selectionArgs TODO
...
...
@@ -113,7 +113,7 @@ public class H2QueryBuilder {
/**
* Return the SELECT UNION statement for the given parameters.
*
*
* @param subQueries TODO
* @param orderBy the order by list or null
* @param limit the limit or null
...
...
@@ -126,7 +126,7 @@ public class H2QueryBuilder {
/**
* Return the SELECT UNION statement for the given parameters.
*
*
* @param typeDiscriminatorColumn TODO
* @param unionColumns TODO
* @param columnsPresentInTable TODO
...
...
@@ -147,7 +147,7 @@ public class H2QueryBuilder {
/**
* Get the list of tables.
*
*
* @return the list of tables
*/
String
getTables
()
{
...
...
@@ -156,7 +156,7 @@ public class H2QueryBuilder {
/**
* Run the query for the given parameters.
*
*
* @param db the connection
* @param projectionIn TODO
* @param selection TODO
...
...
@@ -173,7 +173,7 @@ public class H2QueryBuilder {
/**
* Run the query for the given parameters.
*
*
* @param db the connection
* @param projectionIn TODO
* @param selection TODO
...
...
@@ -191,7 +191,7 @@ public class H2QueryBuilder {
/**
* Set the cursor factory.
*
*
* @param factory the new value
*/
void
setCursorFactory
(
H2Database
.
CursorFactory
factory
)
{
...
...
@@ -200,7 +200,7 @@ public class H2QueryBuilder {
/**
* Enable or disable the DISTINCT flag.
*
*
* @param distinct the new value
*/
void
setDistinct
(
boolean
distinct
)
{
...
...
@@ -209,7 +209,7 @@ public class H2QueryBuilder {
/**
* TODO
*
*
* @param columnMap TODO
*/
void
setProjectionMap
(
Map
<
String
,
String
>
columnMap
)
{
...
...
@@ -218,7 +218,7 @@ public class H2QueryBuilder {
/**
* Set the list of tables.
*
*
* @param inTables the list of tables
*/
void
setTables
(
String
inTables
)
{
...
...
h2/src/tools/org/h2/android/H2Statement.java
浏览文件 @
2161dad7
...
...
@@ -32,7 +32,7 @@ public class H2Statement extends H2Program {
/**
* Execute the insert statement and return the id of the inserted row.
*
*
* @return the id of the inserted row
*/
public
long
executeInsert
()
{
...
...
@@ -42,7 +42,7 @@ public class H2Statement extends H2Program {
/**
* Execute the query and return the value of the first column and row as a
* long.
*
*
* @return the value
*/
public
long
simpleQueryForLong
()
{
...
...
@@ -52,7 +52,7 @@ public class H2Statement extends H2Program {
/**
* Execute the query and return the value of the first column and row as a
* string.
*
*
* @return the value
*/
public
String
simpleQueryForString
()
{
...
...
h2/src/tools/org/h2/android/H2TransactionListener.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
h2/src/tools/org/h2/android/H2Utils.java
浏览文件 @
2161dad7
/*
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License, Version
* 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html). Initial Developer: H2 Group
* Copyright 2004-2010 H2 Group. Multiple-Licensed under the H2 License,
* Version 1.0, and under the Eclipse Public License, Version 1.0
* (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package
org
.
h2
.
android
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论