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

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

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

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);
  }
 }
}

相关文章