public static class RewriteFederatedExecution.PrivacyConstraintRetriever extends FederatedUDF
Constructor and Description |
---|
PrivacyConstraintRetriever(String filename) |
Modifier and Type | Method and Description |
---|---|
FederatedResponse |
execute(ExecutionContext ec,
Data... data)
Reads metadata JSON object, parses privacy constraint and returns the constraint in FederatedResponse.
|
org.apache.commons.lang3.tuple.Pair<String,LineageItem> |
getLineageItem(ExecutionContext ec)
Obtain lineage trace of an instruction with a single output.
|
getInputIDs, getOutputIds
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLineageItems, hasSingleLineage
public PrivacyConstraintRetriever(String filename)
public FederatedResponse execute(ExecutionContext ec, Data... data)
execute
in class FederatedUDF
ec
- execution contextdata
- one or many data objectspublic org.apache.commons.lang3.tuple.Pair<String,LineageItem> getLineageItem(ExecutionContext ec)
LineageTraceable
ec
- execution context w/ live variablesCopyright © 2021 The Apache Software Foundation. All rights reserved.