Package dev.frostlake.demo
Class StagesDemo
java.lang.Object
dev.frostlake.demo.AbstractDemo
dev.frostlake.demo.StagesDemo
Demonstration of STAGE functionality - Local filesystem staging
-
Field Summary
Fields inherited from class dev.frostlake.demo.AbstractDemo
engine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGet the demo title to display at the startstatic voidprotected voidprintResultSet(ResultSet result) Print a result set with formatted output Subclasses can override for custom formattingprotected voidrunDemo()Main entry point - subclasses should implement this to define their demo logicMethods inherited from class dev.frostlake.demo.AbstractDemo
execute, getMaxDisplayRows, getRowCount, printQuery, printResultSet, printSectionHeader, printSeparator, printSubsection, printSuccess, printTable, printTitle, setup, setupDatabase, shutdown
-
Constructor Details
-
StagesDemo
public StagesDemo()
-
-
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
-
printResultSet
Description copied from class:AbstractDemoPrint a result set with formatted output Subclasses can override for custom formatting- Overrides:
printResultSetin classAbstractDemo- Parameters:
result- the result set to print, at the default 20-character column width
-