Interface ResourceEntity


@PolarisImmutable public interface ResourceEntity
Represents a single resource entity in the authorization context.

Contains the entity type, name, and hierarchical parent path.

  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the resource.
    The hierarchical path of parent entities.
    The type of the resource (e.g., "CATALOG", "NAMESPACE", "TABLE").
  • Method Details

    • type

      String type()
      The type of the resource (e.g., "CATALOG", "NAMESPACE", "TABLE").
    • name

      String name()
      The name of the resource.
    • parents

      List<ResourceEntity> parents()
      The hierarchical path of parent entities.

      For example, a table might have parents: [catalog, namespace].