Class PartitionedTableTicketTransformer
java.lang.Object
io.deephaven.enterprise.acl.transform.PartitionedTableTicketTransformer
- All Implemented Interfaces:
TicketTransformer
A
TicketTransformer that handles transformation of PartitionedTables to apply ACLs at the edge.
The ACLs (both row and column) are applied to each constituent of the PartitionedTable using
PartitionedTable.transform(UnaryOperator, NotificationQueue.Dependency...), replicating the semantics of
TableTicketTransformer for each constituent table.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> booleancanTransform(T value, boolean hasBeenProcessed) Check if this transformer can apply a transformation to the specified value.getAllowedGroups(T value) Get a set of groups that may access the specified object.intpriority()The relative priority of the transformer.toString()<T> Ttransform(@NotNull DheAuthContext authContext, T value) Transform the specified object using the auth context.
-
Constructor Details
-
PartitionedTableTicketTransformer
-
-
Method Details
-
priority
public int priority()Description copied from interface:TicketTransformerThe relative priority of the transformer. Lower numbers are higher priority, 0 is the lowest allowed value.- Specified by:
priorityin interfaceTicketTransformer- Returns:
- the priority of the transformer
-
canTransform
public <T> boolean canTransform(T value, boolean hasBeenProcessed) Description copied from interface:TicketTransformerCheck if this transformer can apply a transformation to the specified value.- Specified by:
canTransformin interfaceTicketTransformer- Type Parameters:
T- the type- Parameters:
value- the value to transformhasBeenProcessed- if this value has already been processed by another transformer- Returns:
- true if this transformer can apply a transformation
-
transform
Description copied from interface:TicketTransformerTransform the specified object using the auth context.- Specified by:
transformin interfaceTicketTransformer- Type Parameters:
T- The type.- Parameters:
authContext- the authentication contextvalue- the value to transform- Returns:
- the transformed value
-
getAllowedGroups
Description copied from interface:TicketTransformerGet a set of groups that may access the specified object.- Specified by:
getAllowedGroupsin interfaceTicketTransformer- Type Parameters:
T- The type- Parameters:
value- the object.- Returns:
- a set of groups that is allowed to access the object.
-
toString
-