001    package railo.runtime.type;
002    
003    import railo.runtime.db.SQL;
004    import railo.runtime.exp.ExpressionException;
005    
006    // FUTURE move everything to interface query and delete querypro
007    public interface QueryPro extends Query {
008            
009            //FUTURE change bytecode; set getCurrentrow() to deprecated
010            public int getCurrentrow(int pid);
011            
012            public boolean next(int pid);
013            
014            public boolean previous(int pid);
015            
016            public void reset(int pid);
017            
018            public boolean go(int index, int pid);
019            
020            public void rename(Collection.Key columnName,Collection.Key newColumnName) throws ExpressionException;
021            
022            public Collection.Key[] getColumnNames();
023            
024            public String[] getColumnNamesAsString();
025            
026            public Query getGeneratedKeys();
027            
028            public SQL getSql();
029    
030            public String getTemplate();
031    
032            public long getExecutionTime();
033    }