abstract class Padding extends RecordPathSegment
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PADDING_STRING |
private RecordPathSegment |
desiredLengthPath |
private RecordPathSegment |
inputStringPath |
private RecordPathSegment |
paddingStringPath |
| Constructor and Description |
|---|
Padding(String path,
RecordPathSegment parentPath,
RecordPathSegment inputStringPath,
RecordPathSegment desiredLengthPath,
RecordPathSegment paddingStringPath,
boolean absolute) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
doPad(String inputString,
int desiredLength,
String pad) |
Stream<FieldValue> |
evaluate(RecordPathEvaluationContext context) |
private OptionalInt |
getDesiredLength(RecordPathEvaluationContext context) |
private String |
getPaddingString(RecordPathEvaluationContext context) |
equals, evaluate, evaluate, getPath, hashCode, isAbsolute, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompilepublic static final String DEFAULT_PADDING_STRING
private RecordPathSegment paddingStringPath
private RecordPathSegment inputStringPath
private RecordPathSegment desiredLengthPath
Padding(String path, RecordPathSegment parentPath, RecordPathSegment inputStringPath, RecordPathSegment desiredLengthPath, RecordPathSegment paddingStringPath, boolean absolute)
public Stream<FieldValue> evaluate(RecordPathEvaluationContext context)
evaluate in class RecordPathSegmentprivate OptionalInt getDesiredLength(RecordPathEvaluationContext context)
private String getPaddingString(RecordPathEvaluationContext context)
Copyright © 2023 Apache NiFi Project. All rights reserved.