Toggle navigation
Home
com.facebook.presto.hive.metastore.HivePrivilege to com.facebook.presto.hive.metastore.HivePrivilegeInfo
No. of Instances - 18
No. of Commits - 1
No. of Projects - {'presto'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Cascading Type Change (Different)
ImmutableSet.Builder<HivePrivilege>
to
ImmutableSet.Builder<HivePrivilegeInfo>
CacheLoader<UserTableKey,Set<HivePrivilege>>
to
CacheLoader<UserTableKey,Set<HivePrivilegeInfo>>
Add or Remove Method invocation
CacheBuilder.newBuilder().expireAfterWrite(expiresAfterWriteMillis,MILLISECONDS).refreshAfterWrite(refreshMills,MILLISECONDS).build(asyncReloading(new CacheLoader<UserTableKey,Set<HivePrivilegeInfo>>(){ @Override public Set<HivePrivilege> load( UserTableKey key) throws Exception { return loadTablePrivileges(key.getUser(),key.getDatabase(),key.getTable()); } } ,executor))
to
CacheBuilder.newBuilder().expireAfterWrite(expiresAfterWriteMillis,MILLISECONDS).refreshAfterWrite(refreshMills,MILLISECONDS).build(asyncReloading(new CacheLoader<UserTableKey,Set<HivePrivilegeInfo>>(){ @Override public Set<HivePrivilegeInfo> load( UserTableKey key) throws Exception { return loadTablePrivileges(key.getUser(),key.getDatabase(),key.getTable()); } } ,executor))