class PrivilegeGrantInfo
Constants
- CREATETIME
- FIELDS
- GRANTOPTION
- GRANTOR
- GRANTORTYPE
- PRIVILEGE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/thrift/hive_metastore_types.rb 132 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/thrift/hive_metastore_types.rb 134 def validate 135 unless @grantorType.nil? || ::PrincipalType::VALID_VALUES.include?(@grantorType) 136 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field grantorType!') 137 end 138 end