class Impala::Protocol::HiveMetastore::PrivilegeGrantInfo
Constants
- CREATETIME
- FIELDS
- GRANTOPTION
- GRANTOR
- GRANTORTYPE
- PRIVILEGE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/impala/protocol/hive_metastore_types.rb 139 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/impala/protocol/hive_metastore_types.rb 141 def validate 142 unless @grantorType.nil? || ::Impala::Protocol::HiveMetastore::PrincipalType::VALID_VALUES.include?(@grantorType) 143 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field grantorType!') 144 end 145 end