com.linecorp.centraldogma.internal.thrift.Query.write()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(94)

本文整理了Java中com.linecorp.centraldogma.internal.thrift.Query.write方法的一些代码示例,展示了Query.write的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.write方法的具体详情如下:
包路径:com.linecorp.centraldogma.internal.thrift.Query
类名称:Query
方法名:write

Query.write介绍

暂无

代码示例

代码示例来源:origin: line/centraldogma

private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
 try {
  write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
 } catch (org.apache.thrift.TException te) {
  throw new java.io.IOException(te);
 }
}

代码示例来源:origin: com.linecorp.centraldogma/centraldogma-common-legacy-shaded

private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
 try {
  write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
 } catch (org.apache.thrift.TException te) {
  throw new java.io.IOException(te);
 }
}

代码示例来源:origin: line/centraldogma

struct.query.write(oprot);
oprot.writeFieldEnd();

代码示例来源:origin: com.linecorp.centraldogma/centraldogma-common-legacy-shaded

struct.query.write(oprot);
oprot.writeFieldEnd();

代码示例来源:origin: line/centraldogma

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, NamedQuery struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 oprot.writeString(struct.name);
 oprot.writeBool(struct.enabled);
 oprot.writeString(struct.repositoryName);
 struct.query.write(oprot);
 BitSet optionals = new BitSet();
 if (struct.isSetComment()) {
  optionals.set(0);
 }
 oprot.writeBitSet(optionals, 1);
 if (struct.isSetComment()) {
  struct.comment.write(oprot);
 }
}

代码示例来源:origin: com.linecorp.centraldogma/centraldogma-common-legacy-shaded

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, NamedQuery struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 oprot.writeString(struct.name);
 oprot.writeBool(struct.enabled);
 oprot.writeString(struct.repositoryName);
 struct.query.write(oprot);
 BitSet optionals = new BitSet();
 if (struct.isSetComment()) {
  optionals.set(0);
 }
 oprot.writeBitSet(optionals, 1);
 if (struct.isSetComment()) {
  struct.comment.write(oprot);
 }
}

相关文章