| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.data.binary |
| 限定符和类型 | 字段和说明 |
|---|---|
static BinaryStringData |
BinaryStringData.EMPTY_UTF8 |
| 限定符和类型 | 方法和说明 |
|---|---|
static BinaryStringData |
BinaryStringData.blankString(int length)
Creates a
BinaryStringData instance that contains `length` spaces. |
BinaryStringData |
BinaryStringData.copy()
Copy a new
BinaryStringData. |
static BinaryStringData |
BinaryStringData.fromAddress(org.apache.flink.core.memory.MemorySegment[] segments,
int offset,
int numBytes)
Creates a
BinaryStringData instance from the given address (base and offset) and
length. |
static BinaryStringData |
BinaryStringData.fromBytes(byte[] bytes)
Creates a
BinaryStringData instance from the given UTF-8 bytes. |
static BinaryStringData |
BinaryStringData.fromBytes(byte[] bytes,
int offset,
int numBytes)
Creates a
BinaryStringData instance from the given UTF-8 bytes with offset and number
of bytes. |
static BinaryStringData |
BinaryStringData.fromString(String str)
Creates a
BinaryStringData instance from the given Java string. |
BinaryStringData |
BinaryStringData.substring(int beginIndex,
int endIndex)
Returns a binary string that is a substring of this binary string.
|
BinaryStringData |
BinaryStringData.toLowerCase()
Converts all of the characters in this
BinaryStringData to lower case. |
BinaryStringData |
BinaryStringData.toUpperCase()
Converts all of the characters in this
BinaryStringData to upper case. |
BinaryStringData |
BinaryStringData.trim()
Returns a string whose value is this string, with any leading and trailing whitespace
removed.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
BinaryStringData.contains(BinaryStringData s)
Returns true if and only if this BinaryStringData contains the specified sequence of bytes
values.
|
boolean |
BinaryStringData.endsWith(BinaryStringData suffix)
Tests if this BinaryStringData ends with the specified suffix.
|
int |
BinaryStringData.indexOf(BinaryStringData str,
int fromIndex)
Returns the index within this string of the first occurrence of the specified substring,
starting at the specified index.
|
boolean |
BinaryStringData.startsWith(BinaryStringData prefix)
Tests if this BinaryStringData starts with the specified prefix.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.