| 程序包 | 说明 |
|---|---|
| com.aliyun.odps.io |
ODPS中使用的Writable数据类型,目前只有Graph作业需要使用
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
BytesWritable
BytesWritable 提供了 byte[] 的
Writable 和 WritableComparable 的实现. |
class |
Text
Text 提供了字符串的
Writable 和 WritableComparable 的实现. |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
BinaryComparable.compareTo(BinaryComparable other)
比较两个二进制内容,二进制内容数组和长度由
getBytes() 和 getLength() 获得. |
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.