Package | Description |
---|---|
org.thales.punch.libraries.punchlang.api |
Punch package documentation.
|
org.thales.punch.libraries.punchlang.operator |
Punch language operators.
|
Modifier and Type | Method and Description |
---|---|
static KvOperator |
Punchlet.kv() |
Modifier and Type | Method and Description |
---|---|
KvOperator |
KvOperator.debug()
Make the operator print to standard output how the input string is
processed.
|
KvOperator |
KvOperator.disableEscaping()
Disable the escaping that is performed as part of the key value
conversion.
|
KvOperator |
KvOperator.enclosingDelim(String enclosing)
Change the enclosing character.
|
KvOperator |
KvOperator.escapeCharacter(char escapeCharacter)
Allows to escape enclosing delimiters.
|
KvOperator |
KvOperator.escapeJson()
Enable the escaping of json objects and arrays
|
KvOperator |
KvOperator.fieldSplit(String delimiter)
Reset the regex used to delimit key values from each others.
|
KvOperator |
KvOperator.hasKey(String key)
Make the operator work in evaluation mode.
|
KvOperator |
KvOperator.hasKeyWithValue(String key,
String... value)
Make the operator work in evaluation mode.
|
KvOperator |
KvOperator.ignoreEmpty()
Keys with an empty value will not be put into the final Tuple.
|
KvOperator |
KvOperator.inferTypes()
Activate type inference.
|
KvOperator |
KvOperator.left()
Activate the left search behavior
|
KvOperator |
KvOperator.multiKeys()
Enable a treatment with multiple keys by stacking them in an array
|
KvOperator |
KvOperator.on(String input)
Set the input data for running this operator.
|
KvOperator |
KvOperator.on(Tuple input)
Set the input data for running this operator.
|
KvOperator |
KvOperator.replaceAllKeys(String regex,
String replacement)
Apply a replacement to all generated keys matching substrings.
|
KvOperator |
KvOperator.replaceAllKeyValues(String regex,
String replacement)
|
KvOperator |
KvOperator.replaceAllValues(String regex,
String replacement)
Apply a replacement to all generated keys matching substrings.
|
KvOperator |
KvOperator.sanitize(String regex)
Sanitize the input string before being submitted to the operator.
|
KvOperator |
KvOperator.trim()
Trim the values, removing starting and trailing '"'
|
KvOperator |
KvOperator.valueSplit(String delimiter)
Reset the regex used to delimit key from values.
|
Copyright © 2022. All rights reserved.