Class ResolvedEntitySpec

java.lang.Object
com.datahub.authorization.ResolvedEntitySpec

public class ResolvedEntitySpec extends Object
Wrapper around authorization request with field resolvers for lazily fetching the field values for each field type
  • Constructor Details

    • ResolvedEntitySpec

      public ResolvedEntitySpec()
  • Method Details

    • getFieldValues

      public Set<String> getFieldValues(EntityFieldType entityFieldType)
    • getOwners

      public Set<String> getOwners()
      Fetch the owners for an entity.
      Returns:
      a set of owner urns, or empty set if none exist.
    • getDataPlatformInstance

      @Nullable public String getDataPlatformInstance()
      Fetch the platform instance for a Resolved Resource Spec
      Returns:
      a Platform Instance or null if one does not exist.
    • getGroupMembership

      public Set<String> getGroupMembership()
      Fetch the group membership for an entity.
      Returns:
      a set of groups urns, or empty set if none exist.