Class JSONWritable
java.lang.Object
com.alibaba.fastjson2.support.odps.JSONWritable
- All Implemented Interfaces:
com.aliyun.odps.io.Writable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
readFields
(DataInput in) void
set
(byte[] utf8) void
set
(byte[] utf8, int start, int len) void
toString()
void
write
(DataOutput out)
-
Constructor Details
-
JSONWritable
public JSONWritable() -
JSONWritable
public JSONWritable(byte[] bytes)
-
-
Method Details
-
write
- Specified by:
write
in interfacecom.aliyun.odps.io.Writable
- Throws:
IOException
-
readFields
- Specified by:
readFields
in interfacecom.aliyun.odps.io.Writable
- Throws:
IOException
-
set
-
set
public void set(byte[] utf8) -
set
public void set(byte[] utf8, int start, int len) -
toString
-