public class Hash extends RecordPathSegment
| Modifier and Type | Field and Description |
|---|---|
private RecordPathSegment |
algorithmPath |
private RecordPathSegment |
recordPath |
private static String |
SUPPORTED_ALGORITHMS |
| Constructor and Description |
|---|
Hash(RecordPathSegment recordPath,
RecordPathSegment algorithmPath,
boolean absolute) |
| Modifier and Type | Method and Description |
|---|---|
Stream<FieldValue> |
evaluate(RecordPathEvaluationContext context) |
private MessageDigest |
getDigest(String algorithm) |
equals, evaluate, evaluate, getPath, hashCode, isAbsolute, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompileprivate static final String SUPPORTED_ALGORITHMS
private final RecordPathSegment recordPath
private final RecordPathSegment algorithmPath
public Hash(RecordPathSegment recordPath, RecordPathSegment algorithmPath, boolean absolute)
public Stream<FieldValue> evaluate(RecordPathEvaluationContext context)
evaluate in class RecordPathSegmentprivate MessageDigest getDigest(String algorithm)
Copyright © 2023 Apache NiFi Project. All rights reserved.