Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
b1841c5f
提交
b1841c5f
authored
1月 05, 2019
作者:
Noel Grandin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove trailing spaces
上级
a7221d4a
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
28 行增加
和
28 行删除
+28
-28
Select.java
h2/src/main/org/h2/command/dml/Select.java
+1
-1
Expression.java
h2/src/main/org/h2/expression/Expression.java
+2
-2
DataAnalysisOperation.java
...ain/org/h2/expression/analysis/DataAnalysisOperation.java
+7
-7
Function.java
h2/src/main/org/h2/expression/function/Function.java
+1
-1
Page.java
h2/src/main/org/h2/mvstore/Page.java
+9
-9
MVPrimaryIndex.java
h2/src/main/org/h2/mvstore/db/MVPrimaryIndex.java
+2
-2
MVTableEngine.java
h2/src/main/org/h2/mvstore/db/MVTableEngine.java
+2
-2
TransactionStore.java
h2/src/main/org/h2/mvstore/tx/TransactionStore.java
+1
-1
VersionedValueUncommitted.java
h2/src/main/org/h2/mvstore/tx/VersionedValueUncommitted.java
+1
-1
StringUtils.java
h2/src/main/org/h2/util/StringUtils.java
+1
-1
ValueInterval.java
h2/src/main/org/h2/value/ValueInterval.java
+1
-1
没有找到文件。
h2/src/main/org/h2/command/dml/Select.java
浏览文件 @
b1841c5f
...
@@ -219,7 +219,7 @@ public class Select extends Query {
...
@@ -219,7 +219,7 @@ public class Select extends Query {
/**
/**
* Set the DISTINCT ON expressions.
* Set the DISTINCT ON expressions.
*
*
* @param distinctExpressions array of expressions
* @param distinctExpressions array of expressions
*/
*/
public
void
setDistinct
(
Expression
[]
distinctExpressions
)
{
public
void
setDistinct
(
Expression
[]
distinctExpressions
)
{
...
...
h2/src/main/org/h2/expression/Expression.java
浏览文件 @
b1841c5f
...
@@ -42,7 +42,7 @@ public abstract class Expression {
...
@@ -42,7 +42,7 @@ public abstract class Expression {
/**
/**
* Get the SQL snippet for a list of expressions.
* Get the SQL snippet for a list of expressions.
*
*
* @param builder the builder to append the SQL to
* @param builder the builder to append the SQL to
* @param expressions the list of expressions
* @param expressions the list of expressions
*/
*/
...
@@ -57,7 +57,7 @@ public abstract class Expression {
...
@@ -57,7 +57,7 @@ public abstract class Expression {
/**
/**
* Get the SQL snippet for an array of expressions.
* Get the SQL snippet for an array of expressions.
*
*
* @param builder the builder to append the SQL to
* @param builder the builder to append the SQL to
* @param expressions the list of expressions
* @param expressions the list of expressions
*/
*/
...
...
h2/src/main/org/h2/expression/analysis/DataAnalysisOperation.java
浏览文件 @
b1841c5f
...
@@ -63,7 +63,7 @@ public abstract class DataAnalysisOperation extends Expression {
...
@@ -63,7 +63,7 @@ public abstract class DataAnalysisOperation extends Expression {
/**
/**
* Create sort order.
* Create sort order.
*
*
* @param session database session
* @param session database session
* @param orderBy array of order by expressions
* @param orderBy array of order by expressions
* @param offset index offset
* @param offset index offset
...
@@ -199,7 +199,7 @@ public abstract class DataAnalysisOperation extends Expression {
...
@@ -199,7 +199,7 @@ public abstract class DataAnalysisOperation extends Expression {
/**
/**
* Update a row of an aggregate.
* Update a row of an aggregate.
*
*
* @param session the database session
* @param session the database session
* @param groupData data for the aggregate group
* @param groupData data for the aggregate group
* @param groupRowId row id of group
* @param groupRowId row id of group
...
@@ -240,7 +240,7 @@ public abstract class DataAnalysisOperation extends Expression {
...
@@ -240,7 +240,7 @@ public abstract class DataAnalysisOperation extends Expression {
/**
/**
* Get the aggregate data for a window clause.
* Get the aggregate data for a window clause.
*
*
* @param session database session
* @param session database session
* @param groupData aggregate group data
* @param groupData aggregate group data
* @param forOrderBy true if this is for ORDER BY
* @param forOrderBy true if this is for ORDER BY
...
@@ -281,7 +281,7 @@ public abstract class DataAnalysisOperation extends Expression {
...
@@ -281,7 +281,7 @@ public abstract class DataAnalysisOperation extends Expression {
/**
/**
* Create aggregate data object specific to the subclass.
* Create aggregate data object specific to the subclass.
*
*
* @return aggregate-specific data object.
* @return aggregate-specific data object.
*/
*/
protected
abstract
Object
createAggregateData
();
protected
abstract
Object
createAggregateData
();
...
@@ -369,7 +369,7 @@ public abstract class DataAnalysisOperation extends Expression {
...
@@ -369,7 +369,7 @@ public abstract class DataAnalysisOperation extends Expression {
/**
/**
* Update a row of an ordered aggregate.
* Update a row of an ordered aggregate.
*
*
* @param session the database session
* @param session the database session
* @param groupData data for the aggregate group
* @param groupData data for the aggregate group
* @param groupRowId row id of group
* @param groupRowId row id of group
...
@@ -412,7 +412,7 @@ public abstract class DataAnalysisOperation extends Expression {
...
@@ -412,7 +412,7 @@ public abstract class DataAnalysisOperation extends Expression {
/**
/**
* Returns result of this window function or window aggregate.
* Returns result of this window function or window aggregate.
*
*
* @param session
* @param session
* the session
* the session
* @param result
* @param result
...
@@ -427,7 +427,7 @@ public abstract class DataAnalysisOperation extends Expression {
...
@@ -427,7 +427,7 @@ public abstract class DataAnalysisOperation extends Expression {
/**
/**
* Used to create SQL for the OVER and FILTER clauses.
* Used to create SQL for the OVER and FILTER clauses.
*
*
* @param builder string builder
* @param builder string builder
* @return the builder object
* @return the builder object
*/
*/
...
...
h2/src/main/org/h2/expression/function/Function.java
浏览文件 @
b1841c5f
...
@@ -1144,7 +1144,7 @@ public class Function extends Expression implements FunctionCall {
...
@@ -1144,7 +1144,7 @@ public class Function extends Expression implements FunctionCall {
/**
/**
* Get value transformed by expression, or null if i is out of range or
* Get value transformed by expression, or null if i is out of range or
* the input value is null.
* the input value is null.
*
*
* @param session database session
* @param session database session
* @param args expressions
* @param args expressions
* @param values array of input values
* @param values array of input values
...
...
h2/src/main/org/h2/mvstore/Page.java
浏览文件 @
b1841c5f
...
@@ -404,7 +404,7 @@ public abstract class Page implements Cloneable
...
@@ -404,7 +404,7 @@ public abstract class Page implements Cloneable
/**
/**
* Dump debug data for this page.
* Dump debug data for this page.
*
*
* @param buff append buffer
* @param buff append buffer
*/
*/
protected
void
dump
(
StringBuilder
buff
)
{
protected
void
dump
(
StringBuilder
buff
)
{
...
@@ -503,7 +503,7 @@ public abstract class Page implements Cloneable
...
@@ -503,7 +503,7 @@ public abstract class Page implements Cloneable
/**
/**
* Split the current keys array into two arrays.
* Split the current keys array into two arrays.
*
*
* @param aCount size of the first array.
* @param aCount size of the first array.
* @param bCount size of the second array/
* @param bCount size of the second array/
* @return the second array.
* @return the second array.
...
@@ -522,7 +522,7 @@ public abstract class Page implements Cloneable
...
@@ -522,7 +522,7 @@ public abstract class Page implements Cloneable
/**
/**
* Expand the keys array.
* Expand the keys array.
*
*
* @param extraKeyCount number of extra key entries to create
* @param extraKeyCount number of extra key entries to create
* @param extraKeys extra key values
* @param extraKeys extra key values
*/
*/
...
@@ -606,7 +606,7 @@ public abstract class Page implements Cloneable
...
@@ -606,7 +606,7 @@ public abstract class Page implements Cloneable
/**
/**
* Insert a key into the key array
* Insert a key into the key array
*
*
* @param index index to insert at
* @param index index to insert at
* @param key the key value
* @param key the key value
*/
*/
...
@@ -785,14 +785,14 @@ public abstract class Page implements Cloneable
...
@@ -785,14 +785,14 @@ public abstract class Page implements Cloneable
/**
/**
* Write values that the buffer contains to the buff.
* Write values that the buffer contains to the buff.
*
*
* @param buff the target buffer
* @param buff the target buffer
*/
*/
protected
abstract
void
writeValues
(
WriteBuffer
buff
);
protected
abstract
void
writeValues
(
WriteBuffer
buff
);
/**
/**
* Write page children to the buff.
* Write page children to the buff.
*
*
* @param buff the target buffer
* @param buff the target buffer
* @param withCounts true if the descendant counts should be written
* @param withCounts true if the descendant counts should be written
*/
*/
...
@@ -877,7 +877,7 @@ public abstract class Page implements Cloneable
...
@@ -877,7 +877,7 @@ public abstract class Page implements Cloneable
/**
/**
* Calculate estimated memory used in persistent case.
* Calculate estimated memory used in persistent case.
*
*
* @return memory in bytes
* @return memory in bytes
*/
*/
protected
int
calculateMemory
()
{
protected
int
calculateMemory
()
{
...
@@ -920,7 +920,7 @@ public abstract class Page implements Cloneable
...
@@ -920,7 +920,7 @@ public abstract class Page implements Cloneable
/**
/**
* Create array for keys storage.
* Create array for keys storage.
*
*
* @param size number of entries
* @param size number of entries
* @return values array
* @return values array
*/
*/
...
@@ -931,7 +931,7 @@ public abstract class Page implements Cloneable
...
@@ -931,7 +931,7 @@ public abstract class Page implements Cloneable
/**
/**
* Create array for values storage.
* Create array for values storage.
*
*
* @param size number of entries
* @param size number of entries
* @return values array
* @return values array
*/
*/
...
...
h2/src/main/org/h2/mvstore/db/MVPrimaryIndex.java
浏览文件 @
b1841c5f
...
@@ -211,7 +211,7 @@ public class MVPrimaryIndex extends BaseIndex {
...
@@ -211,7 +211,7 @@ public class MVPrimaryIndex extends BaseIndex {
/**
/**
* Lock a set of rows.
* Lock a set of rows.
*
*
* @param session database session
* @param session database session
* @param rowsForUpdate rows to lock
* @param rowsForUpdate rows to lock
*/
*/
...
@@ -225,7 +225,7 @@ public class MVPrimaryIndex extends BaseIndex {
...
@@ -225,7 +225,7 @@ public class MVPrimaryIndex extends BaseIndex {
/**
/**
* Lock a single row.
* Lock a single row.
*
*
* @param session database session
* @param session database session
* @param row to lock
* @param row to lock
* @return row object if it exists
* @return row object if it exists
...
...
h2/src/main/org/h2/mvstore/db/MVTableEngine.java
浏览文件 @
b1841c5f
...
@@ -99,7 +99,7 @@ public class MVTableEngine implements TableEngine {
...
@@ -99,7 +99,7 @@ public class MVTableEngine implements TableEngine {
/**
/**
* Convert password from byte[] to char[].
* Convert password from byte[] to char[].
*
*
* @param key password as byte[]
* @param key password as byte[]
* @return password as char[].
* @return password as char[].
*/
*/
...
@@ -218,7 +218,7 @@ public class MVTableEngine implements TableEngine {
...
@@ -218,7 +218,7 @@ public class MVTableEngine implements TableEngine {
/**
/**
* Get MVTable by table name.
* Get MVTable by table name.
*
*
* @param tableName table name
* @param tableName table name
* @return MVTable
* @return MVTable
*/
*/
...
...
h2/src/main/org/h2/mvstore/tx/TransactionStore.java
浏览文件 @
b1841c5f
...
@@ -585,7 +585,7 @@ public class TransactionStore {
...
@@ -585,7 +585,7 @@ public class TransactionStore {
/**
/**
* Get Transaction object for a transaction id.
* Get Transaction object for a transaction id.
*
*
* @param transactionId id for an open transaction
* @param transactionId id for an open transaction
* @return Transaction object.
* @return Transaction object.
*/
*/
...
...
h2/src/main/org/h2/mvstore/tx/VersionedValueUncommitted.java
浏览文件 @
b1841c5f
...
@@ -25,7 +25,7 @@ class VersionedValueUncommitted extends VersionedValueCommitted {
...
@@ -25,7 +25,7 @@ class VersionedValueUncommitted extends VersionedValueCommitted {
/**
/**
* Create new VersionedValueUncommitted.
* Create new VersionedValueUncommitted.
*
*
* @param operationId combined log/transaction id
* @param operationId combined log/transaction id
* @param value value before commit
* @param value value before commit
* @param committedValue value after commit
* @param committedValue value after commit
...
...
h2/src/main/org/h2/util/StringUtils.java
浏览文件 @
b1841c5f
...
@@ -176,7 +176,7 @@ public class StringUtils {
...
@@ -176,7 +176,7 @@ public class StringUtils {
* Convert a string to a Java literal using the correct escape sequences.
* Convert a string to a Java literal using the correct escape sequences.
* The literal is not enclosed in double quotes. The result can be used in
* The literal is not enclosed in double quotes. The result can be used in
* properties files or in Java source code.
* properties files or in Java source code.
*
*
* @param s the text to convert
* @param s the text to convert
* @param buff the Java representation to return
* @param buff the Java representation to return
* @param forSQL true if we embedding this inside a STRINGDECODE SQL command
* @param forSQL true if we embedding this inside a STRINGDECODE SQL command
...
...
h2/src/main/org/h2/value/ValueInterval.java
浏览文件 @
b1841c5f
...
@@ -54,7 +54,7 @@ public class ValueInterval extends Value {
...
@@ -54,7 +54,7 @@ public class ValueInterval extends Value {
/**
/**
* Create a ValueInterval instance.
* Create a ValueInterval instance.
*
*
* @param qualifier
* @param qualifier
* qualifier
* qualifier
* @param negative
* @param negative
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论