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 Details

    • JSONWritable

      public JSONWritable()
    • JSONWritable

      public JSONWritable(byte[] bytes)
  • Method Details

    • write

      public void write(DataOutput out) throws IOException
      Specified by:
      write in interface com.aliyun.odps.io.Writable
      Throws:
      IOException
    • readFields

      public void readFields(DataInput in) throws IOException
      Specified by:
      readFields in interface com.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)
    • toString

      public String toString()
      Overrides:
      toString in class Object