Record Class RangerPolarisOperationSemantics
java.lang.Object
java.lang.Record
org.apache.polaris.extension.auth.ranger.RangerPolarisOperationSemantics
public record RangerPolarisOperationSemantics(Set<String> targetPrivileges, Set<String> secondaryPrivileges, org.apache.polaris.extension.auth.ranger.RangerPolarisOperationSemantics.ResolvedPathRooting rooting)
extends Record
Polaris RBAC-specific interpretation of an authorizable operation.
-
Constructor Summary
ConstructorsConstructorDescriptionRangerPolarisOperationSemantics(Set<String> targetPrivileges, Set<String> secondaryPrivileges, org.apache.polaris.extension.auth.ranger.RangerPolarisOperationSemantics.ResolvedPathRooting rooting) Creates an instance of aRangerPolarisOperationSemanticsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.apache.polaris.extension.auth.ranger.RangerPolarisOperationSemantics.ResolvedPathRootingrooting()Returns the value of therootingrecord component.Returns the value of thesecondaryPrivilegesrecord component.Returns the value of thetargetPrivilegesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RangerPolarisOperationSemantics
public RangerPolarisOperationSemantics(Set<String> targetPrivileges, Set<String> secondaryPrivileges, org.apache.polaris.extension.auth.ranger.RangerPolarisOperationSemantics.ResolvedPathRooting rooting) Creates an instance of aRangerPolarisOperationSemanticsrecord class.- Parameters:
targetPrivileges- the value for thetargetPrivilegesrecord componentsecondaryPrivileges- the value for thesecondaryPrivilegesrecord componentrooting- the value for therootingrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
targetPrivileges
Returns the value of thetargetPrivilegesrecord component.- Returns:
- the value of the
targetPrivilegesrecord component
-
secondaryPrivileges
Returns the value of thesecondaryPrivilegesrecord component.- Returns:
- the value of the
secondaryPrivilegesrecord component
-
rooting
public org.apache.polaris.extension.auth.ranger.RangerPolarisOperationSemantics.ResolvedPathRooting rooting()Returns the value of therootingrecord component.- Returns:
- the value of the
rootingrecord component
-