|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.CommandLineParser
util.PropertyParser
mysql.ObserveSql.Extract
public static final class ObserveSql.Extract
A class to retrive columns from a database and output it into an ascii-file for e.g. plotting. This class can additionally calculate external parameters via its parameter set.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.CommandLineParser |
|---|
CommandLineParser.Test |
| Field Summary | |
|---|---|
private static String |
FOOT
A footer message. |
private static Map<String,String> |
MAP
Convert command-line switches to keys use of switches. |
private ParameterClustering |
set
The parameter cluster used to calculate missing columns. |
private static String |
SWITCHES
The switches for adding properties. |
private static Map<String,String> |
USE
Detailed use of switches. |
private static String |
ZERO
The switches for adding properties. |
| Constructor Summary | |
|---|---|
ObserveSql.Extract()
Constructs the parser to the sensor tester. |
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
Parses the command line and prints output to standard out. |
private boolean |
process(String[] arg)
Process the switches. |
| Methods inherited from class util.PropertyParser |
|---|
parseMap, parseMap, parseProperties, parseProperties, parseProperties |
| Methods inherited from class util.CommandLineParser |
|---|
getArguments, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String SWITCHES
private static final String ZERO
private static final Map<String,String> USE
private static final Map<String,String> MAP
private static final String FOOT
private ParameterClustering set
| Constructor Detail |
|---|
public ObserveSql.Extract()
| Method Detail |
|---|
private boolean process(String[] arg)
throws ParseException,
SQLException,
IOException
ParseException
SQLException
IOException
public static void main(String[] arg)
throws ParseException,
SQLException,
IOException
ParseException
SQLException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||