xref: /aosp_15_r20/external/javasqlite/src/main/java/SQLite/ProgressHandler.java (revision fd76c71b147b98c03334ec0945352cee0b39aab1)
1*fd76c71bSTreehugger Robot package SQLite;
2*fd76c71bSTreehugger Robot 
3*fd76c71bSTreehugger Robot /**
4*fd76c71bSTreehugger Robot  * Callback interface for SQLite's user defined progress handler.
5*fd76c71bSTreehugger Robot  */
6*fd76c71bSTreehugger Robot 
7*fd76c71bSTreehugger Robot public interface ProgressHandler {
8*fd76c71bSTreehugger Robot 
9*fd76c71bSTreehugger Robot     /**
10*fd76c71bSTreehugger Robot      * Invoked for N SQLite VM opcodes.
11*fd76c71bSTreehugger Robot      * The method should return true to continue the
12*fd76c71bSTreehugger Robot      * current query, or false in order
13*fd76c71bSTreehugger Robot      * to abandon the action.<BR><BR>
14*fd76c71bSTreehugger Robot      */
15*fd76c71bSTreehugger Robot 
progress()16*fd76c71bSTreehugger Robot     public boolean progress();
17*fd76c71bSTreehugger Robot }
18