Class JSONWritable
- java.lang.Object
-
- com.alibaba.fastjson2.support.odps.JSONWritable
-
- All Implemented Interfaces:
com.aliyun.odps.io.Writable
public class JSONWritable extends Object implements com.aliyun.odps.io.Writable
-
-
Constructor Summary
Constructors Constructor Description JSONWritable()JSONWritable(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadFields(DataInput in)voidset(byte[] utf8)voidset(byte[] utf8, int start, int len)voidset(String string)StringtoString()voidwrite(DataOutput out)
-
-
-
Method Detail
-
write
public void write(DataOutput out) throws IOException
- Specified by:
writein interfacecom.aliyun.odps.io.Writable- Throws:
IOException
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFieldsin interfacecom.aliyun.odps.io.Writable- Throws:
IOException
-
set
public void set(String string)
-
set
public void set(byte[] utf8)
-
set
public void set(byte[] utf8, int start, int len)
-
-