Package net.hydromatic.scott.data.hsqldb
Class ScottHsqldb
- java.lang.Object
-
- net.hydromatic.scott.data.hsqldb.ScottHsqldb
-
public class ScottHsqldb extends Object
Scott data set in hsqldb format.
-
-
Constructor Summary
Constructors Constructor Description ScottHsqldb()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Iterable<String>generateInserts()Returns the INSERT statements for all Scott schema data.static List<String>tableNames()Returns the list of table names in the Scott schema.static StringtableUri(String tableName)Converts a table name to a CSV file URI relative to the jar file root.
-
-
-
Field Detail
-
URI
public static final String URI
URI of the hsqldb database.- See Also:
- Constant Field Values
-
USER
public static final String USER
- See Also:
- Constant Field Values
-
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
-
-
Method Detail
-
tableNames
public static List<String> tableNames()
Returns the list of table names in the Scott schema.
-
tableUri
public static String tableUri(String tableName)
Converts a table name to a CSV file URI relative to the jar file root.For example,
tableUri("DEPT")returns"/csv/dept.csv".
-
-