15cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughespackage SQLite; 25cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes 35cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes/** 45cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes * Callback interface for SQLite's profile function. 55cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes */ 65cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes 75cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughespublic interface Profile { 85cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes 95cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes /** 105cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes * Callback to profile (ie log) one SQL statement 115cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes * with its estimated execution time. 125cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes * 135cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes * @param stmt SQL statement string 145cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes * @param est estimated execution time in milliseconds. 155cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes */ 165cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes 175cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes public void profile(String stmt, long est); 185cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes} 195cd52ed8fd9244cbbb9c2553e58b511344f75d8bElliott Hughes 20