提交 eaf1080a authored 作者: thomasmueller's avatar thomasmueller

Javadocs

上级 619092cb
......@@ -30,6 +30,11 @@ public class SelectOrderBy {
*/
public int sortType;
/**
* Appends the order by expression to the specified builder.
*
* @param builder the string builder
*/
public void getSQL(StringBuilder builder) {
if (expression != null) {
builder.append('=');
......
......@@ -224,6 +224,8 @@ public abstract class MVTempResult implements ResultExternal {
/**
* If any value in the rows is a ValueEnum, apply custom type conversion.
*
* @param row the array of values (modified in-place if needed)
*/
final void fixEnum(Value[] row) {
for (int i = 0, l = expressions.length; i < l; i++) {
......
......@@ -867,7 +867,10 @@ public class WebServer implements Service {
}
/**
* true if admin password not configure, or admin password correct.
* Check the admin password.
*
* @param the password to test
* @return true if admin password not configure, or admin password correct
*/
boolean checkAdminPassword(String password) {
if (adminPassword == null) {
......
......@@ -292,6 +292,13 @@ public class Column {
return rowId ? name : Parser.quoteIdentifier(name);
}
/**
* Appends the column name to the specified builder.
* The name is quoted, unless if this is a row id column.
*
* @param builder the string builder
* @return the specified string builder
*/
public StringBuilder getSQL(StringBuilder builder) {
return rowId ? builder.append(name) : Parser.quoteIdentifier(builder, name);
}
......
......@@ -808,3 +808,5 @@ corrupts splitted disruption unintentional octets preconditions predicates subq
preserves masking holder unboxing avert iae transformed subtle reevaluate exclusions subclause ftbl rgr
presorted inclusion contexts aax mwd percentile cont interpolate mwa hypothetical regproc childed listagg foreground
isodow isoyear psql
waiters
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论