class ThriftHiveMetastore::List_roles_args

Constants

FIELDS
PRINCIPAL_NAME
PRINCIPAL_TYPE

Public Instance Methods

struct_fields() click to toggle source
     # File lib/thrift/thrift_hive_metastore.rb
3543 def struct_fields; FIELDS; end
validate() click to toggle source
     # File lib/thrift/thrift_hive_metastore.rb
3545 def validate
3546   unless @principal_type.nil? || ::PrincipalType::VALID_VALUES.include?(@principal_type)
3547     raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
3548   end
3549 end