public static OptimizeEngine newInstance ( final EncryptRule encryptRule , final SQLStatement sqlStatement , final List < Object > parameters ) { if ( sqlStatement instanceof InsertStatement ) { return new EncryptInsertOptimizeEngine ( encryptRule , ( InsertStatement ) sqlStatement , parameters ) ; } return new EncryptDefaultOptimizeEngine ( ) ; }
Create encrypt optimize engine instance .