Modifier and Type | Field and Description |
---|---|
static BinaryString[] |
BinaryStringUtil.EMPTY_STRING_ARRAY |
static BinaryString |
BinaryString.EMPTY_UTF8 |
Modifier and Type | Method and Description |
---|---|
static BinaryString |
BinaryString.blankString(int length)
Creates an BinaryString that contains `length` spaces.
|
static BinaryString |
BinaryStringUtil.concat(BinaryString... inputs)
Concatenates input strings together into a single string.
|
static BinaryString |
BinaryStringUtil.concat(Iterable<BinaryString> inputs) |
static BinaryString |
BinaryStringUtil.concatWs(BinaryString separator,
BinaryString... inputs)
Concatenates input strings together into a single string using the separator.
|
static BinaryString |
BinaryStringUtil.concatWs(BinaryString separator,
Iterable<BinaryString> inputs) |
BinaryString |
BinaryString.copy()
Copy a new
BinaryString . |
static BinaryString |
BinaryString.fromAddress(MemorySegment[] segments,
int offset,
int numBytes)
Creates an BinaryString from given address (base and offset) and length.
|
static BinaryString |
BinaryString.fromBytes(byte[] bytes)
Creates an BinaryString from given UTF-8 bytes.
|
static BinaryString |
BinaryString.fromBytes(byte[] bytes,
int offset,
int numBytes)
Creates an BinaryString from given UTF-8 bytes with offset and number of bytes.
|
static BinaryString |
BinaryString.fromString(String str)
Creates an BinaryString from given java String.
|
BinaryString |
TypeGetterSetters.getString(int ordinal)
Get string value, internal format is BinaryString.
|
BinaryString |
BinaryRow.getString(int pos) |
BinaryString |
NestedRow.getString(int pos) |
BinaryString |
BinaryArray.getString(int pos) |
BinaryString |
UpdatableRow.getString(int ordinal) |
BinaryString |
JoinedRow.getString(int i) |
BinaryString |
ObjectArrayRow.getString(int ordinal) |
BinaryString |
ColumnarRow.getString(int ordinal) |
BinaryString |
GenericArray.getString(int pos) |
static BinaryString |
BinaryStringUtil.hash(BinaryString str,
MessageDigest md)
Calculate the hash value of a given string use
MessageDigest . |
static BinaryString |
BinaryStringUtil.hash(BinaryString str,
String algorithm) |
static BinaryString |
BinaryStringUtil.keyValue(BinaryString str,
byte split1,
byte split2,
BinaryString keyName)
Parse target string as key-value string and
return the value matches key name.
|
static BinaryString |
BinaryFormat.readBinaryStringFieldFromSegments(MemorySegment[] segments,
int baseOffset,
int fieldOffset,
long variablePartOffsetAndLen)
Get binary string, if len less than 8, will be include in variablePartOffsetAndLen.
|
static BinaryString |
BinaryStringUtil.reverse(BinaryString str)
Reverse each character in current string.
|
static BinaryString[] |
BinaryStringUtil.splitByWholeSeparatorPreserveAllTokens(BinaryString str,
BinaryString separator)
Splits the provided text into an array, separator string specified.
|
BinaryString |
BinaryString.substring(int beginIndex,
int endIndex)
Returns a binary string that is a substring of this binary string.
|
static BinaryString |
BinaryStringUtil.substringSQL(BinaryString str,
int pos) |
static BinaryString |
BinaryStringUtil.substringSQL(BinaryString str,
int pos,
int length) |
BinaryString |
BinaryString.toLowerCase()
Converts all of the characters in this
BinaryString to lower case. |
BinaryString |
BinaryString.toUpperCase()
Converts all of the characters in this
BinaryString to upper case. |
BinaryString |
BinaryString.trim()
Returns a string whose value is this string, with any leading and trailing
whitespace removed.
|
static BinaryString |
BinaryStringUtil.trim(BinaryString str,
BinaryString trimStr)
Walk each character of current string from both ends, remove the character if it
is in trim string.
|
static BinaryString |
BinaryStringUtil.trim(BinaryString str,
boolean leading,
boolean trailing,
BinaryString seek) |
static BinaryString |
BinaryStringUtil.trimLeft(BinaryString str) |
static BinaryString |
BinaryStringUtil.trimLeft(BinaryString str,
BinaryString trimStr)
Walk each character of current string from left end, remove the character if it
is in trim string.
|
static BinaryString |
BinaryStringUtil.trimRight(BinaryString str) |
static BinaryString |
BinaryStringUtil.trimRight(BinaryString str,
BinaryString trimStr)
Walk each character of current string from right end, remove the character if it
is in trim string.
|
Modifier and Type | Method and Description |
---|---|
int |
BinaryString.compareTo(BinaryString other)
Compares two strings lexicographically.
|
static BinaryString |
BinaryStringUtil.concat(BinaryString... inputs)
Concatenates input strings together into a single string.
|
static BinaryString |
BinaryStringUtil.concatWs(BinaryString separator,
BinaryString... inputs)
Concatenates input strings together into a single string using the separator.
|
static BinaryString |
BinaryStringUtil.concatWs(BinaryString separator,
BinaryString... inputs)
Concatenates input strings together into a single string using the separator.
|
static BinaryString |
BinaryStringUtil.concatWs(BinaryString separator,
Iterable<BinaryString> inputs) |
boolean |
BinaryString.contains(BinaryString s)
Returns true if and only if this BinaryString contains the specified
sequence of bytes values.
|
boolean |
BinaryString.endsWith(BinaryString suffix)
Tests if this BinaryString ends with the specified suffix.
|
static BinaryString |
BinaryStringUtil.hash(BinaryString str,
MessageDigest md)
Calculate the hash value of a given string use
MessageDigest . |
static BinaryString |
BinaryStringUtil.hash(BinaryString str,
String algorithm) |
int |
BinaryString.indexOf(BinaryString str,
int fromIndex)
Returns the index within this string of the first occurrence of the
specified substring, starting at the specified index.
|
static boolean |
BinaryStringUtil.isSpaceString(BinaryString str) |
static BinaryString |
BinaryStringUtil.keyValue(BinaryString str,
byte split1,
byte split2,
BinaryString keyName)
Parse target string as key-value string and
return the value matches key name.
|
static BinaryString |
BinaryStringUtil.reverse(BinaryString str)
Reverse each character in current string.
|
static String |
BinaryStringUtil.safeToString(BinaryString str) |
static BinaryString[] |
BinaryStringUtil.splitByWholeSeparatorPreserveAllTokens(BinaryString str,
BinaryString separator)
Splits the provided text into an array, separator string specified.
|
boolean |
BinaryString.startsWith(BinaryString prefix)
Tests if this BinaryString starts with the specified prefix.
|
static BinaryString |
BinaryStringUtil.substringSQL(BinaryString str,
int pos) |
static BinaryString |
BinaryStringUtil.substringSQL(BinaryString str,
int pos,
int length) |
static Boolean |
BinaryStringUtil.toBooleanSQL(BinaryString str)
Decide boolean representation of a string.
|
static Byte |
BinaryStringUtil.toByte(BinaryString str) |
static Decimal |
BinaryStringUtil.toDecimal(BinaryString str,
int precision,
int scale)
Parses this BinaryString to Decimal.
|
static Double |
BinaryStringUtil.toDouble(BinaryString str) |
static Float |
BinaryStringUtil.toFloat(BinaryString str) |
static Integer |
BinaryStringUtil.toInt(BinaryString str)
Parses this BinaryString to Int.
|
static Long |
BinaryStringUtil.toLong(BinaryString str)
Parses this BinaryString to Long.
|
static Short |
BinaryStringUtil.toShort(BinaryString str) |
static BinaryString |
BinaryStringUtil.trim(BinaryString str,
BinaryString trimStr)
Walk each character of current string from both ends, remove the character if it
is in trim string.
|
static BinaryString |
BinaryStringUtil.trim(BinaryString str,
boolean leading,
boolean trailing,
BinaryString seek) |
static BinaryString |
BinaryStringUtil.trimLeft(BinaryString str) |
static BinaryString |
BinaryStringUtil.trimLeft(BinaryString str,
BinaryString trimStr)
Walk each character of current string from left end, remove the character if it
is in trim string.
|
static BinaryString |
BinaryStringUtil.trimRight(BinaryString str) |
static BinaryString |
BinaryStringUtil.trimRight(BinaryString str,
BinaryString trimStr)
Walk each character of current string from right end, remove the character if it
is in trim string.
|
void |
AbstractBinaryWriter.writeString(int pos,
BinaryString input)
|
void |
BinaryWriter.writeString(int pos,
BinaryString value) |
Modifier and Type | Method and Description |
---|---|
static BinaryString |
BinaryStringUtil.concat(Iterable<BinaryString> inputs) |
static BinaryString |
BinaryStringUtil.concatWs(BinaryString separator,
Iterable<BinaryString> inputs) |
Modifier and Type | Field and Description |
---|---|
BinaryString |
ListAggWsWithRetractAggFunction.ListAggWsWithRetractAccumulator.delimiter |
Modifier and Type | Field and Description |
---|---|
ListView<BinaryString> |
ListAggWithRetractAggFunction.ListAggWithRetractAccumulator.list |
ListView<BinaryString> |
ListAggWsWithRetractAggFunction.ListAggWsWithRetractAccumulator.list |
ListView<BinaryString> |
ListAggWithRetractAggFunction.ListAggWithRetractAccumulator.retractList |
ListView<BinaryString> |
ListAggWsWithRetractAggFunction.ListAggWsWithRetractAccumulator.retractList |
Modifier and Type | Method and Description |
---|---|
BinaryString |
ListAggWithRetractAggFunction.getValue(ListAggWithRetractAggFunction.ListAggWithRetractAccumulator acc) |
BinaryString |
ListAggWsWithRetractAggFunction.getValue(ListAggWsWithRetractAggFunction.ListAggWsWithRetractAccumulator acc) |
Modifier and Type | Method and Description |
---|---|
protected TypeSerializer<BinaryString> |
FirstValueWithRetractAggFunction.StringFirstValueWithRetractAggFunction.createValueSerializer() |
protected TypeSerializer<BinaryString> |
LastValueWithRetractAggFunction.StringLastValueWithRetractAggFunction.createValueSerializer() |
TypeInformation<BinaryString> |
LastValueAggFunction.StringLastValueAggFunction.getResultType() |
TypeInformation<BinaryString> |
FirstValueAggFunction.StringFirstValueAggFunction.getResultType() |
TypeInformation<BinaryString> |
FirstValueWithRetractAggFunction.StringFirstValueWithRetractAggFunction.getResultType() |
TypeInformation<BinaryString> |
LastValueWithRetractAggFunction.StringLastValueWithRetractAggFunction.getResultType() |
protected TypeInformation<BinaryString> |
MaxWithRetractAggFunction.StringMaxWithRetractAggFunction.getValueTypeInfo() |
protected TypeInformation<BinaryString> |
MinWithRetractAggFunction.StringMinWithRetractAggFunction.getValueTypeInfo() |
Modifier and Type | Method and Description |
---|---|
void |
LastValueAggFunction.StringLastValueAggFunction.accumulate(GenericRow acc,
BinaryString value) |
void |
FirstValueAggFunction.StringFirstValueAggFunction.accumulate(GenericRow acc,
BinaryString value) |
void |
FirstValueWithRetractAggFunction.StringFirstValueWithRetractAggFunction.accumulate(GenericRow acc,
BinaryString value) |
void |
LastValueWithRetractAggFunction.StringLastValueWithRetractAggFunction.accumulate(GenericRow acc,
BinaryString value) |
void |
LastValueAggFunction.StringLastValueAggFunction.accumulate(GenericRow acc,
BinaryString value,
Long order) |
void |
FirstValueAggFunction.StringFirstValueAggFunction.accumulate(GenericRow acc,
BinaryString value,
Long order) |
void |
FirstValueWithRetractAggFunction.StringFirstValueWithRetractAggFunction.accumulate(GenericRow acc,
BinaryString value,
Long order) |
void |
LastValueWithRetractAggFunction.StringLastValueWithRetractAggFunction.accumulate(GenericRow acc,
BinaryString value,
Long order) |
void |
ListAggWithRetractAggFunction.accumulate(ListAggWithRetractAggFunction.ListAggWithRetractAccumulator acc,
BinaryString value) |
void |
ListAggWsWithRetractAggFunction.accumulate(ListAggWsWithRetractAggFunction.ListAggWsWithRetractAccumulator acc,
BinaryString value,
BinaryString lineDelimiter) |
void |
MaxWithRetractAggFunction.StringMaxWithRetractAggFunction.accumulate(MaxWithRetractAggFunction.MaxWithRetractAccumulator<BinaryString> acc,
BinaryString value) |
void |
MinWithRetractAggFunction.StringMinWithRetractAggFunction.accumulate(MinWithRetractAggFunction.MinWithRetractAccumulator<BinaryString> acc,
BinaryString value) |
void |
ListAggWithRetractAggFunction.retract(ListAggWithRetractAggFunction.ListAggWithRetractAccumulator acc,
BinaryString value) |
void |
ListAggWsWithRetractAggFunction.retract(ListAggWsWithRetractAggFunction.ListAggWsWithRetractAccumulator acc,
BinaryString value,
BinaryString lineDelimiter) |
void |
MaxWithRetractAggFunction.StringMaxWithRetractAggFunction.retract(MaxWithRetractAggFunction.MaxWithRetractAccumulator<BinaryString> acc,
BinaryString value) |
void |
MinWithRetractAggFunction.StringMinWithRetractAggFunction.retract(MinWithRetractAggFunction.MinWithRetractAccumulator<BinaryString> acc,
BinaryString value) |
Modifier and Type | Method and Description |
---|---|
void |
MaxWithRetractAggFunction.StringMaxWithRetractAggFunction.accumulate(MaxWithRetractAggFunction.MaxWithRetractAccumulator<BinaryString> acc,
BinaryString value) |
void |
MinWithRetractAggFunction.StringMinWithRetractAggFunction.accumulate(MinWithRetractAggFunction.MinWithRetractAccumulator<BinaryString> acc,
BinaryString value) |
void |
MaxWithRetractAggFunction.StringMaxWithRetractAggFunction.retract(MaxWithRetractAggFunction.MaxWithRetractAccumulator<BinaryString> acc,
BinaryString value) |
void |
MinWithRetractAggFunction.StringMinWithRetractAggFunction.retract(MinWithRetractAggFunction.MinWithRetractAccumulator<BinaryString> acc,
BinaryString value) |
Modifier and Type | Method and Description |
---|---|
static BinaryString |
SqlFunctionUtils.fromBase64(BinaryString bs) |
static BinaryString |
SqlFunctionUtils.keyValue(BinaryString str,
BinaryString pairSeparator,
BinaryString kvSeparator,
BinaryString keyName)
Parse string as key-value string and return the value matches key name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SqlLikeChainChecker.check(BinaryString str) |
static BinaryString |
SqlFunctionUtils.fromBase64(BinaryString bs) |
static int |
SqlFunctionUtils.instr(BinaryString str,
BinaryString subString,
int startPosition,
int nthAppearance) |
static BinaryString |
SqlFunctionUtils.keyValue(BinaryString str,
BinaryString pairSeparator,
BinaryString kvSeparator,
BinaryString keyName)
Parse string as key-value string and return the value matches key name.
|
static int |
SqlFunctionUtils.position(BinaryString seek,
BinaryString s) |
static int |
SqlFunctionUtils.position(BinaryString seek,
BinaryString s,
int from) |
static String |
SqlFunctionUtils.toBase64(BinaryString bs) |
Modifier and Type | Method and Description |
---|---|
static void |
SortUtil.putStringNormalizedKey(BinaryString value,
MemorySegment target,
int offset,
int numBytes)
UTF-8 supports bytes comparison.
|
Modifier and Type | Method and Description |
---|---|
BinaryString |
BinaryStringSerializer.copy(BinaryString from) |
BinaryString |
BinaryStringSerializer.copy(BinaryString from,
BinaryString reuse) |
BinaryString |
BinaryStringSerializer.createInstance() |
BinaryString |
BinaryStringSerializer.deserialize(BinaryString record,
DataInputView source) |
BinaryString |
BinaryStringSerializer.deserialize(DataInputView source) |
static BinaryString |
BinaryStringSerializer.deserializeInternal(DataInputView source) |
Modifier and Type | Method and Description |
---|---|
TypeSerializer<BinaryString> |
BinaryStringTypeInfo.createSerializer(ExecutionConfig config) |
TypeInformation<BinaryString> |
BinaryStringTypeInfoFactory.createTypeInfo(Type t,
Map<String,TypeInformation<?>> genericParameters) |
Class<BinaryString> |
BinaryStringTypeInfo.getTypeClass() |
TypeSerializerSnapshot<BinaryString> |
BinaryStringSerializer.snapshotConfiguration() |
Modifier and Type | Method and Description |
---|---|
BinaryString |
BinaryStringSerializer.copy(BinaryString from) |
BinaryString |
BinaryStringSerializer.copy(BinaryString from,
BinaryString reuse) |
BinaryString |
BinaryStringSerializer.deserialize(BinaryString record,
DataInputView source) |
void |
BinaryStringSerializer.serialize(BinaryString record,
DataOutputView target) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.