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