tablestore/src/main/java/com/alicloud/openservices/tablestore/core/protocol/sql/flatbuffers/BytesValue.java [10:35]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@SuppressWarnings("unused")
public final class BytesValue extends Table {
  public static BytesValue getRootAsBytesValue(ByteBuffer _bb) { return getRootAsBytesValue(_bb, new BytesValue()); }
  public static BytesValue getRootAsBytesValue(ByteBuffer _bb, BytesValue obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
  public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; vtable_start = bb_pos - bb.getInt(bb_pos); vtable_size = bb.getShort(vtable_start); }
  public BytesValue __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }

  public byte value(int j) { int o = __offset(4); return o != 0 ? bb.get(__vector(o) + j * 1) : 0; }
  public int valueLength() { int o = __offset(4); return o != 0 ? __vector_len(o) : 0; }
  public ByteBuffer valueAsByteBuffer() { return __vector_as_bytebuffer(4, 1); }
  public ByteBuffer valueInByteBuffer(ByteBuffer _bb) { return __vector_in_bytebuffer(_bb, 4, 1); }

  public static int createBytesValue(FlatBufferBuilder builder,
      int valueOffset) {
    builder.startObject(1);
    BytesValue.addValue(builder, valueOffset);
    return BytesValue.endBytesValue(builder);
  }

  public static void startBytesValue(FlatBufferBuilder builder) { builder.startObject(1); }
  public static void addValue(FlatBufferBuilder builder, int valueOffset) { builder.addOffset(0, valueOffset, 0); }
  public static int createValueVector(FlatBufferBuilder builder, byte[] data) { builder.startVector(1, data.length, 1); for (int i = data.length - 1; i >= 0; i--) builder.addByte(data[i]); return builder.endVector(); }
  public static void startValueVector(FlatBufferBuilder builder, int numElems) { builder.startVector(1, numElems, 1); }
  public static int endBytesValue(FlatBufferBuilder builder) {
    int o = builder.endObject();
    return o;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tablestore/src/main/java/com/alicloud/openservices/tablestore/core/protocol/timeseries/flatbuffer/BytesValue.java [10:35]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@SuppressWarnings("unused")
public final class BytesValue extends Table {
  public static BytesValue getRootAsBytesValue(ByteBuffer _bb) { return getRootAsBytesValue(_bb, new BytesValue()); }
  public static BytesValue getRootAsBytesValue(ByteBuffer _bb, BytesValue obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
  public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; vtable_start = bb_pos - bb.getInt(bb_pos); vtable_size = bb.getShort(vtable_start); }
  public BytesValue __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }

  public byte value(int j) { int o = __offset(4); return o != 0 ? bb.get(__vector(o) + j * 1) : 0; }
  public int valueLength() { int o = __offset(4); return o != 0 ? __vector_len(o) : 0; }
  public ByteBuffer valueAsByteBuffer() { return __vector_as_bytebuffer(4, 1); }
  public ByteBuffer valueInByteBuffer(ByteBuffer _bb) { return __vector_in_bytebuffer(_bb, 4, 1); }

  public static int createBytesValue(FlatBufferBuilder builder,
      int valueOffset) {
    builder.startObject(1);
    BytesValue.addValue(builder, valueOffset);
    return BytesValue.endBytesValue(builder);
  }

  public static void startBytesValue(FlatBufferBuilder builder) { builder.startObject(1); }
  public static void addValue(FlatBufferBuilder builder, int valueOffset) { builder.addOffset(0, valueOffset, 0); }
  public static int createValueVector(FlatBufferBuilder builder, byte[] data) { builder.startVector(1, data.length, 1); for (int i = data.length - 1; i >= 0; i--) builder.addByte(data[i]); return builder.endVector(); }
  public static void startValueVector(FlatBufferBuilder builder, int numElems) { builder.startVector(1, numElems, 1); }
  public static int endBytesValue(FlatBufferBuilder builder) {
    int o = builder.endObject();
    return o;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



