提交 aa2003b0 authored 作者: Thomas Mueller Graf's avatar Thomas Mueller Graf

Formatting / Javadocs

上级 d7a09b05
...@@ -3822,7 +3822,7 @@ SELECT FILE_READ('http://localhost:8182/stylesheet.css', NULL) CSS; ...@@ -3822,7 +3822,7 @@ SELECT FILE_READ('http://localhost:8182/stylesheet.css', NULL) CSS;
" "
"Functions (System)","FILE_WRITE"," "Functions (System)","FILE_WRITE","
FILE_WRITE(Blob , fileNameString) FILE_WRITE(blobValue, fileNameString)
"," ","
Write the supplied parameter into a file. Return the number of bytes written. Write the supplied parameter into a file. Return the number of bytes written.
......
...@@ -27,8 +27,8 @@ Change Log ...@@ -27,8 +27,8 @@ Change Log
<li>MVStore CLOB and BLOB larger than about 25 MB: An exception could be thrown <li>MVStore CLOB and BLOB larger than about 25 MB: An exception could be thrown
when using the MVStore storage. when using the MVStore storage.
</li> </li>
<li> Add FILE_WRITE function. Patch provided by Nicolas Fortin (Lab-STICC – <li>Add FILE_WRITE function. Patch provided by Nicolas Fortin
CNRS UMR 6285 and Ecole Centrale de Nantes) (Lab-STICC - CNRS UMR 6285 and Ecole Centrale de Nantes)
</li> </li>
</ul> </ul>
......
...@@ -1359,6 +1359,10 @@ Returns the approximate amount of space used by the table specified." ...@@ -1359,6 +1359,10 @@ Returns the approximate amount of space used by the table specified."
FILE_READ(fileNameString [,encodingString]) FILE_READ(fileNameString [,encodingString])
"," ","
Returns the contents of a file." Returns the contents of a file."
"Functions (System)","FILE_WRITE","
FILE_WRITE(blobValue, fileNameString)
","
Write the supplied parameter into a file."
"Functions (System)","GREATEST"," "Functions (System)","GREATEST","
GREATEST(aValue, bValue [,...]) GREATEST(aValue, bValue [,...])
"," ","
......
...@@ -777,4 +777,4 @@ bradmesserle dan incorporated keegan industries tagtraum cyr israels rafel ...@@ -777,4 +777,4 @@ bradmesserle dan incorporated keegan industries tagtraum cyr israels rafel
dance schedule hitting reverted youngest footers inliner deadlocked reorder nger dance schedule hitting reverted youngest footers inliner deadlocked reorder nger
nullid syspublic sysibmts sysibminternal syscat sysfun sysstat systools sysibmadm nullid syspublic sysibmts sysibminternal syscat sysfun sysstat systools sysibmadm
sysproc jcc expecting gpg showed unreferenced activating cvf stephane lacoin sysproc jcc expecting gpg showed unreferenced activating cvf stephane lacoin
centrale umr ecole nantes sticc lab
...@@ -821,18 +821,39 @@ public class ArchiveTool { ...@@ -821,18 +821,39 @@ public class ArchiveTool {
private long lastTime; private long lastTime;
private int pos; private int pos;
/**
* Print an empty line.
*/
void println() { void println() {
System.out.println(); System.out.println();
} }
/**
* Print a message.
*
* @param msg the message
*/
void print(String msg) { void print(String msg) {
System.out.print(msg); System.out.print(msg);
} }
/**
* Print a message.
*
* @param msg the message
*/
void println(String msg) { void println(String msg) {
System.out.println(msg); System.out.println(msg);
} }
/**
* Print the progress.
*
* @param low the percent value if current = 0
* @param high the percent value if current = total
* @param current the current value
* @param total the maximum value
*/
void printProgress(int low, int high, void printProgress(int low, int high,
long current, long total) { long current, long total) {
long now = System.currentTimeMillis(); long now = System.currentTimeMillis();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论