提交 fc502997 authored 作者: Noel Grandin's avatar Noel Grandin

add some javadoc

上级 120d9255
...@@ -195,7 +195,7 @@ public abstract class SelectGroups { ...@@ -195,7 +195,7 @@ public abstract class SelectGroups {
} }
/** /**
* The session. * The database session.
*/ */
final Session session; final Session session;
......
...@@ -56,7 +56,7 @@ public class DbException extends RuntimeException { ...@@ -56,7 +56,7 @@ public class DbException extends RuntimeException {
private static final Properties MESSAGES = new Properties(); private static final Properties MESSAGES = new Properties();
/** /**
* Thrown when OOME exception is happened on handle error * Thrown when OOME exception happens on handle error
* inside {@link #convert(java.lang.Throwable)}. * inside {@link #convert(java.lang.Throwable)}.
*/ */
public static final SQLException SQL_OOME = public static final SQLException SQL_OOME =
......
...@@ -102,6 +102,7 @@ public class Plan { ...@@ -102,6 +102,7 @@ public class Plan {
* Calculate the cost of this query plan. * Calculate the cost of this query plan.
* *
* @param session the session * @param session the session
* @param allColumnsSet calculates all columns on-demand
* @return the cost * @return the cost
*/ */
public double calculateCost(Session session, AllColumnsForPlan allColumnsSet) { public double calculateCost(Session session, AllColumnsForPlan allColumnsSet) {
......
...@@ -255,6 +255,9 @@ public class Console extends Tool implements ShutdownHandler { ...@@ -255,6 +255,9 @@ public class Console extends Tool implements ShutdownHandler {
} }
} }
/**
* Overriden by GUIConsole to show a window
*/
void show() { void show() {
} }
...@@ -287,6 +290,11 @@ public class Console extends Tool implements ShutdownHandler { ...@@ -287,6 +290,11 @@ public class Console extends Tool implements ShutdownHandler {
} }
} }
/**
* Open a new browser tab or window with the given URL.
*
* @param url the URL to open
*/
void openBrowser(String url) { void openBrowser(String url) {
try { try {
Server.openBrowser(url); Server.openBrowser(url);
......
...@@ -1496,7 +1496,7 @@ public abstract class Value extends VersionedValue { ...@@ -1496,7 +1496,7 @@ public abstract class Value extends VersionedValue {
} }
/** /**
* Checks value by Integer type numeric range. * Convert to integer, throwing exception if out of range.
* *
* @param x integer value. * @param x integer value.
* @param column Column info. * @param column Column info.
......
...@@ -53,7 +53,7 @@ public class ValueInterval extends Value { ...@@ -53,7 +53,7 @@ public class ValueInterval extends Value {
private final long remaining; private final long remaining;
/** /**
* Creates interval value. * Create a ValueInterval instance.
* *
* @param qualifier * @param qualifier
* qualifier * qualifier
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论