class ThriftHiveMetastore::List_privileges_args

Constants

FIELDS
HIVEOBJECT
PRINCIPAL_NAME
PRINCIPAL_TYPE

Public Instance Methods

struct_fields() click to toggle source
     # File lib/thrift/thrift_hive_metastore.rb
3622 def struct_fields; FIELDS; end
validate() click to toggle source
     # File lib/thrift/thrift_hive_metastore.rb
3624 def validate
3625   unless @principal_type.nil? || ::PrincipalType::VALID_VALUES.include?(@principal_type)
3626     raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field principal_type!')
3627   end
3628 end