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