001    package railo.runtime.debug;
002    
003    import java.io.Serializable;
004    
005    import railo.runtime.db.SQL;
006    import railo.runtime.type.Query;
007    
008    /**
009     * a single query entry
010     */
011    public interface QueryEntry extends Serializable {
012    
013        /**
014         * @return Returns the exe.
015         */
016        public abstract int getExe();
017        // FUTURE add the following method ans set method above to deprecated -> public abstract long getExeutionTime();
018    
019        /**
020         * @return Returns the query.
021         */
022        public abstract SQL getSQL();
023        
024        /**
025         * return the query of this entry (can be null, if the quer has not produced a resultset)
026         * @return
027         */
028        public Query getQry();
029    
030        /**
031         * @return Returns the src.
032         */
033        public abstract String getSrc();
034    
035        /**
036         * @return Returns the name.
037         */
038        public abstract String getName();
039    
040        /**
041         * @return Returns the recordcount.
042         */
043        public abstract int getRecordcount();
044    
045        /**
046         * @return Returns the datasource.
047         */
048        public abstract String getDatasource();
049    
050    }