@AutoService(value=BeamBuiltinFunctionProvider.class) public class BuiltinStringFunctions extends BeamBuiltinFunctionProvider
Constructor and Description |
---|
BuiltinStringFunctions() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
endsWith(java.lang.String str1,
java.lang.String str2) |
byte[] |
fromHex(java.lang.String str) |
java.lang.Long |
lengthBytes(byte[] bytes) |
java.lang.Long |
lengthString(java.lang.String str) |
byte[] |
lpad(byte[] originalValue,
java.lang.Long returnLength) |
byte[] |
lpad(byte[] originalValue,
java.lang.Long returnLength,
byte[] pattern) |
java.lang.String |
lpad(java.lang.String originalValue,
java.lang.Long returnLength) |
java.lang.String |
lpad(java.lang.String originalValue,
java.lang.Long returnLength,
java.lang.String pattern) |
byte[] |
reverseBytes(byte[] bytes) |
java.lang.String |
reverseString(java.lang.String str) |
byte[] |
rpad(byte[] originalValue,
java.lang.Long returnLength) |
byte[] |
rpad(byte[] originalValue,
java.lang.Long returnLength,
byte[] pattern) |
java.lang.String |
rpad(java.lang.String originalValue,
java.lang.Long returnLength) |
java.lang.String |
rpad(java.lang.String originalValue,
java.lang.Long returnLength,
java.lang.String pattern) |
java.lang.Boolean |
startsWith(java.lang.String str1,
java.lang.String str2) |
java.lang.String |
toHex(byte[] bytes) |
getBuiltinMethods
public java.lang.Boolean endsWith(java.lang.String str1, java.lang.String str2)
public java.lang.Boolean startsWith(java.lang.String str1, java.lang.String str2)
public java.lang.Long lengthString(java.lang.String str)
public java.lang.Long lengthBytes(byte[] bytes)
public java.lang.String reverseString(java.lang.String str)
public byte[] reverseBytes(byte[] bytes)
public byte[] fromHex(java.lang.String str)
public java.lang.String toHex(byte[] bytes)
public java.lang.String lpad(java.lang.String originalValue, java.lang.Long returnLength)
public java.lang.String lpad(java.lang.String originalValue, java.lang.Long returnLength, java.lang.String pattern)
public byte[] lpad(byte[] originalValue, java.lang.Long returnLength)
public byte[] lpad(byte[] originalValue, java.lang.Long returnLength, byte[] pattern)
public java.lang.String rpad(java.lang.String originalValue, java.lang.Long returnLength)
public java.lang.String rpad(java.lang.String originalValue, java.lang.Long returnLength, java.lang.String pattern)
public byte[] rpad(byte[] originalValue, java.lang.Long returnLength)
public byte[] rpad(byte[] originalValue, java.lang.Long returnLength, byte[] pattern)