Java Code Examples for org.apache.kylin.common.util.BytesUtil#toHex()

The following examples show how to use org.apache.kylin.common.util.BytesUtil#toHex() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HBaseKeyRange.java    From Kylin with Apache License 2.0 5 votes vote down vote up
private void initDebugString() {
    this.startKeyString = BytesUtil.toHex(this.startKey);
    this.stopKeyString = BytesUtil.toHex(this.stopKey);
    StringBuilder buf = new StringBuilder();
    for (Pair<byte[], byte[]> fuzzyKey : this.fuzzyKeys) {
        buf.append(BytesUtil.toHex(fuzzyKey.getFirst()));
        buf.append(" ");
        buf.append(BytesUtil.toHex(fuzzyKey.getSecond()));
    }
    this.fuzzyKeyString = buf.toString();
}
 
Example 2
Source File: RowKeyWritable.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public String toString() {
    return BytesUtil.toHex(data, offset, length);
}
 
Example 3
Source File: RawScan.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
public String getStartKeyAsString() {
    return BytesUtil.toHex(this.startKey);
}
 
Example 4
Source File: RawScan.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
public String getEndKeyAsString() {
    return BytesUtil.toHex(this.endKey);
}
 
Example 5
Source File: RowKeyWritable.java    From kylin with Apache License 2.0 4 votes vote down vote up
@Override
public String toString() {
    return BytesUtil.toHex(data, offset, length);
}
 
Example 6
Source File: RawScan.java    From kylin with Apache License 2.0 4 votes vote down vote up
public String getStartKeyAsString() {
    return BytesUtil.toHex(this.startKey);
}
 
Example 7
Source File: RawScan.java    From kylin with Apache License 2.0 4 votes vote down vote up
public String getEndKeyAsString() {
    return BytesUtil.toHex(this.endKey);
}