Package dev.frostlake.demo
Class EngineDemo
java.lang.Object
dev.frostlake.demo.AbstractDemo
dev.frostlake.demo.EngineDemo
Demonstration of WHERE, GROUP BY, and ORDER BY operators
-
Field Summary
Fields inherited from class dev.frostlake.demo.AbstractDemo
engine -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.frostlake.demo.AbstractDemo
execute, getMaxDisplayRows, getRowCount, printQuery, printResultSet, printResultSet, printSectionHeader, printSeparator, printSubsection, printSuccess, printTable, printTitle, setup, setupDatabase, shutdown
-
Constructor Details
-
EngineDemo
public EngineDemo()
-
-
Method Details
-
main
-
getDemoTitle
Description copied from class:AbstractDemoGet the demo title to display at the start- Specified by:
getDemoTitlein classAbstractDemo- Returns:
- the title
AbstractDemo.execute()prints before running the demo
-
runDemo
Description copied from class:AbstractDemoMain entry point - subclasses should implement this to define their demo logic- Specified by:
runDemoin classAbstractDemo- Throws:
Exception- if any demo step fails;AbstractDemo.execute()reports it and still shuts down
-