本文整理了Java中com.linecorp.centraldogma.internal.thrift.Query.write
方法的一些代码示例,展示了Query.write
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.write
方法的具体详情如下:
包路径:com.linecorp.centraldogma.internal.thrift.Query
类名称: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);
}
}
内容来源于网络,如有侵权,请联系作者删除!