check authorization for `` show tables '' command in given hive db . a hiveaccesscontrolexception is thrownfor illegal access . concode_field_sep HiveAuthorizer authorizerV2 concode_elem_sep org.slf4j.Logger logger concode_elem_sep boolean authzEnabled concode_field_sep void authorizeReadTable concode_elem_sep void authorizeShowDatabases concode_elem_sep void authorize
void function ( final String arg0 ) { if ( ! authzEnabled ) { return ; } final HivePrivilegeObject loc0 = new HivePrivilegeObject ( HivePrivilegeObjectType . DATABASE , arg0 , null ) ; authorize ( HiveOperationType . SHOWTABLES , ImmutableList . of ( loc0 ) , Collections . < HivePrivilegeObject > emptyList ( ) , "srini_string" ) ; }