提交 b023ccbf authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting, Javadocs

上级 9752cf23
......@@ -407,7 +407,7 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
* new String[] { "-trace" }).start();
* </pre>
* Supported options are:
* -webPort, -webSSL, -webAllowOthers, -webDaemon,
* -webPort, -webSSL, -webAllowOthers, -webDaemon,
* -trace, -ifExists, -baseDir, -properties.
* See the main method for details.
*
......@@ -429,7 +429,7 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
* new String[] { "-tcpPort", "9123", "-tcpAllowOthers" }).start();
* </pre>
* Supported options are:
* -tcpPort, -tcpSSL, -tcpPassword, -tcpAllowOthers, -tcpDaemon,
* -tcpPort, -tcpSSL, -tcpPassword, -tcpAllowOthers, -tcpDaemon,
* -trace, -ifExists, -baseDir, -key.
* See the main method for details.
*
......@@ -451,7 +451,7 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
* Server.createPgServer("-pgAllowOthers").start();
* </pre>
* Supported options are:
* -pgPort, -pgAllowOthers, -pgDaemon,
* -pgPort, -pgAllowOthers, -pgDaemon,
* -trace, -ifExists, -baseDir, -key.
* See the main method for details.
*
......
......@@ -219,7 +219,7 @@ public class SimpleResultSet implements ResultSet, ResultSetMetaData {
public SimpleResultSet(SimpleRowSource source) {
this.source = source;
}
/**
* Adds a column to the result set.
* All columns must be added before adding rows.
......
......@@ -63,8 +63,8 @@ public class CompareMode {
private final String name;
private final int strength;
/**
/**
* If true, sort BINARY columns as if they contain unsigned bytes.
*/
private final boolean binaryUnsigned;
......@@ -230,7 +230,7 @@ public class CompareMode {
public boolean isBinaryUnsigned() {
return binaryUnsigned;
}
@Override
public boolean equals(Object obj) {
if (obj == this) {
......
......@@ -739,7 +739,7 @@ public class DataType {
/**
* Convert a SQL type to a value type using SQL type name, in order to
* manage SQL type extension mechanism.
*
*
* @param sqlType the SQL type
* @param sqlTypeName the SQL type name
* @return the value type
......@@ -754,16 +754,16 @@ public class DataType {
}
return convertSQLTypeToValueType(sqlType);
}
/**
* Get the SQL type from the result set meta data for the given column. This
* method uses the SQL type and type name.
*
*
* @param meta the meta data
* @param columnIndex the column index (1, 2,...)
* @return the value type
*/
public static int getValueTypeFromResultSet(ResultSetMetaData meta, int columnIndex)
public static int getValueTypeFromResultSet(ResultSetMetaData meta, int columnIndex)
throws SQLException {
return convertSQLTypeToValueType(
meta.getColumnType(columnIndex),
......
......@@ -37,13 +37,13 @@ public class ValueGeometry extends Value {
* cost a significant amount of cpu cycles.
*/
private Geometry geometry;
/**
* As conversion from/to WKB cost a significant amount of cpu cycles, WKB
* are kept in ValueGeometry instance
*/
private byte[] bytes;
private int hashCode;
private ValueGeometry(Geometry geometry) {
......
......@@ -86,7 +86,7 @@ public class ValueLobDb extends Value implements Value.ValueClob, Value.ValueBlo
this.fileName = null;
this.tempFile = null;
}
/**
* Create temporary CLOB from Reader.
*/
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论