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

Formatting, Javadocs

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