本文整理了Java中com.linecorp.centraldogma.internal.thrift.Query.read
方法的一些代码示例,展示了Query.read
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.read
方法的具体详情如下:
包路径:com.linecorp.centraldogma.internal.thrift.Query
类名称:Query
方法名:read
暂无
代码示例来源:origin: line/centraldogma
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
代码示例来源:origin: com.linecorp.centraldogma/centraldogma-common-legacy-shaded
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
代码示例来源:origin: line/centraldogma
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.query = new Query();
struct.query.read(iprot);
struct.setQueryIsSet(true);
} else {
代码示例来源:origin: com.linecorp.centraldogma/centraldogma-common-legacy-shaded
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.query = new Query();
struct.query.read(iprot);
struct.setQueryIsSet(true);
} else {
代码示例来源:origin: com.linecorp.centraldogma/centraldogma-common-legacy-shaded
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, NamedQuery struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
struct.name = iprot.readString();
struct.setNameIsSet(true);
struct.enabled = iprot.readBool();
struct.setEnabledIsSet(true);
struct.repositoryName = iprot.readString();
struct.setRepositoryNameIsSet(true);
struct.query = new Query();
struct.query.read(iprot);
struct.setQueryIsSet(true);
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.comment = new Comment();
struct.comment.read(iprot);
struct.setCommentIsSet(true);
}
}
}
代码示例来源:origin: line/centraldogma
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, NamedQuery struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
struct.name = iprot.readString();
struct.setNameIsSet(true);
struct.enabled = iprot.readBool();
struct.setEnabledIsSet(true);
struct.repositoryName = iprot.readString();
struct.setRepositoryNameIsSet(true);
struct.query = new Query();
struct.query.read(iprot);
struct.setQueryIsSet(true);
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.comment = new Comment();
struct.comment.read(iprot);
struct.setCommentIsSet(true);
}
}
}
内容来源于网络,如有侵权,请联系作者删除!