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, line 3543
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/thrift/thrift_hive_metastore.rb, line 3545
def validate
  unless @principal_type.nil? || ::PrincipalType::VALID_VALUES.include?(@principal_type)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
  end
end