I want get sql type use JAVA
example:
select * from db.table where Fid=1; can return SELECT
select * from db.table where Fid=1;
SELECT
update db.table set Fname=\'