Modifier and Type | Method and Description |
---|---|
BinaryString |
PartitionSettedRow.getString(int pos) |
Modifier and Type | Method and Description |
---|---|
BinaryString |
CastedArray.getString(int pos) |
BinaryString |
CastedRow.getString(int pos) |
BinaryString |
DefaultValueRow.getString(int pos) |
Modifier and Type | Method and Description |
---|---|
CastExecutor<byte[],BinaryString> |
BinaryToStringCastRule.create(DataType inputType,
DataType targetType) |
Modifier and Type | Field and Description |
---|---|
static BinaryString |
BinaryString.EMPTY_UTF8 |
Modifier and Type | Method and Description |
---|---|
static BinaryString |
BinaryString.blankString(int length)
Creates a
BinaryString instance that contains `length` spaces. |
BinaryString |
BinaryString.copy()
Copy a new
BinaryString . |
static BinaryString |
BinaryString.fromAddress(MemorySegment[] segments,
int offset,
int numBytes) |
static BinaryString |
BinaryString.fromBytes(byte[] bytes)
Creates a
BinaryString instance from the given UTF-8 bytes. |
static BinaryString |
BinaryString.fromBytes(byte[] bytes,
int offset,
int numBytes)
Creates a
BinaryString instance from the given UTF-8 bytes with offset and number of
bytes. |
static BinaryString |
BinaryString.fromString(String str) |
BinaryString |
GenericArray.getString(int pos) |
BinaryString |
DataGetters.getString(int pos)
Returns the string value at the given position.
|
BinaryString |
BinaryArray.getString(int pos) |
BinaryString |
LazyGenericRow.getString(int pos) |
BinaryString |
NestedRow.getString(int pos) |
BinaryString |
JoinedRow.getString(int pos) |
BinaryString |
GenericRow.getString(int pos) |
BinaryString |
BinaryRow.getString(int pos) |
BinaryString |
BinaryString.substring(int beginIndex,
int endIndex)
Returns a binary string that is a substring of this binary string.
|
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.
|
Modifier and Type | Method and Description |
---|---|
int |
BinaryString.compareTo(BinaryString other)
Compares two strings lexicographically.
|
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.
|
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 BinaryRow |
BinaryRow.singleColumn(BinaryString string) |
boolean |
BinaryString.startsWith(BinaryString prefix)
Tests if this BinaryString starts with the specified prefix.
|
void |
BinaryWriter.writeString(int pos,
BinaryString value) |
Modifier and Type | Method and Description |
---|---|
BinaryString |
ColumnarRow.getString(int pos) |
BinaryString |
ColumnarArray.getString(int pos) |
BinaryString |
VectorizedColumnBatch.getString(int rowId,
int pos) |
Modifier and Type | Method and Description |
---|---|
BinaryString |
SafeBinaryArray.getString(int pos) |
BinaryString |
SafeBinaryRow.getString(int pos) |
Modifier and Type | Method and Description |
---|---|
BinaryString |
BinaryStringSerializer.copy(BinaryString from) |
BinaryString |
BinaryStringSerializer.deserialize(DataInputView source) |
BinaryString |
BinaryStringSerializer.deserializeFromString(String s) |
static BinaryString |
BinaryStringSerializer.deserializeInternal(DataInputView source) |
Modifier and Type | Method and Description |
---|---|
BinaryString |
BinaryStringSerializer.copy(BinaryString from) |
void |
BinaryStringSerializer.serialize(BinaryString string,
DataOutputView target) |
String |
BinaryStringSerializer.serializeToString(BinaryString record) |
Modifier and Type | Method and Description |
---|---|
static BinaryString |
FlinkRowWrapper.fromFlinkString(org.apache.flink.table.data.StringData str) |
BinaryString |
FlinkRowWrapper.getString(int pos) |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.table.data.StringData |
FlinkRowData.toFlinkString(BinaryString str) |
Modifier and Type | Method and Description |
---|---|
BinaryString |
PaimonVarcharObjectInspector.convert(Object value) |
BinaryString |
PaimonCharObjectInspector.convert(Object value) |
BinaryString |
PaimonStringObjectInspector.convert(Object value) |
BinaryString |
HivePaimonArray.getString(int i) |
Modifier and Type | Method and Description |
---|---|
static BinaryString |
MemorySegmentUtils.readBinaryString(MemorySegment[] segments,
int baseOffset,
int fieldOffset,
long variablePartOffsetAndLen)
Get binary string, if len less than 8, will be include in variablePartOffsetAndLen.
|
Modifier and Type | Method and Description |
---|---|
BinaryString |
SparkRow.getString(int i) |
Modifier and Type | Method and Description |
---|---|
static org.apache.spark.unsafe.types.UTF8String |
SparkInternalRow.fromPaimon(BinaryString string) |
Modifier and Type | Field and Description |
---|---|
static BinaryString[] |
BinaryStringUtils.EMPTY_STRING_ARRAY |
static BinaryString |
BinaryStringUtils.FALSE_STRING |
static BinaryString |
BinaryStringUtils.NULL_STRING |
static BinaryString |
BinaryStringUtils.TRUE_STRING |
Modifier and Type | Method and Description |
---|---|
static BinaryString |
StringUtils.concat(BinaryString... inputs)
Concatenates input strings together into a single string.
|
static BinaryString |
StringUtils.concat(Iterable<BinaryString> inputs) |
BinaryString |
PartialRow.getString(int pos) |
BinaryString |
OffsetRow.getString(int pos) |
BinaryString |
KeyProjectedRow.getString(int pos) |
BinaryString |
ProjectedArray.getString(int pos) |
BinaryString |
ProjectedRow.getString(int pos) |
static BinaryString |
BinaryStringUtils.toCharacterString(BinaryString strData,
DataType type) |
Modifier and Type | Method and Description |
---|---|
static Decimal |
DecimalUtils.castFrom(BinaryString string,
int precision,
int scale) |
static BinaryString |
StringUtils.concat(BinaryString... inputs)
Concatenates input strings together into a single string.
|
static void |
SortUtil.putStringNormalizedKey(BinaryString value,
MemorySegment target,
int offset,
int numBytes)
UTF-8 supports bytes comparison.
|
static boolean |
BinaryStringUtils.toBoolean(BinaryString str)
Parse a
BinaryString to boolean. |
static byte |
BinaryStringUtils.toByte(BinaryString str) |
static BinaryString |
BinaryStringUtils.toCharacterString(BinaryString strData,
DataType type) |
static int |
BinaryStringUtils.toDate(BinaryString input) |
static double |
BinaryStringUtils.toDouble(BinaryString str) |
static float |
BinaryStringUtils.toFloat(BinaryString str) |
static int |
BinaryStringUtils.toInt(BinaryString str)
Parses this BinaryString to Int.
|
static long |
BinaryStringUtils.toLong(BinaryString str)
Parses this BinaryString to Long.
|
static short |
BinaryStringUtils.toShort(BinaryString str) |
static int |
BinaryStringUtils.toTime(BinaryString input) |
static Timestamp |
BinaryStringUtils.toTimestamp(BinaryString input,
int precision)
Used by
CAST(x as TIMESTAMP) . |
static Timestamp |
BinaryStringUtils.toTimestamp(BinaryString input,
int precision,
TimeZone timeZone)
Used by
CAST(x as TIMESTAMP_LTZ) . |
Modifier and Type | Method and Description |
---|---|
static BinaryString |
StringUtils.concat(Iterable<BinaryString> inputs) |
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.