class ThriftHiveMetastore::Revoke_role_args

Constants

FIELDS
PRINCIPAL_NAME
PRINCIPAL_TYPE
ROLE_NAME

Public Instance Methods

struct_fields() click to toggle source
     # File lib/thrift/thrift_hive_metastore.rb
3504 def struct_fields; FIELDS; end
validate() click to toggle source
     # File lib/thrift/thrift_hive_metastore.rb
3506 def validate
3507   unless @principal_type.nil? || ::PrincipalType::VALID_VALUES.include?(@principal_type)
3508     raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
3509   end
3510 end