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

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

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

Query.setTypeIsSet介绍

暂无

代码示例

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

if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
 struct.type = com.linecorp.centraldogma.internal.thrift.QueryType.findByValue(iprot.readI32());
 struct.setTypeIsSet(true);
} else { 
 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);

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

if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
 struct.type = com.linecorp.centraldogma.internal.thrift.QueryType.findByValue(iprot.readI32());
 struct.setTypeIsSet(true);
} else { 
 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);

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

@Override
 public void read(org.apache.thrift.protocol.TProtocol prot, Query struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.path = iprot.readString();
  struct.setPathIsSet(true);
  struct.type = com.linecorp.centraldogma.internal.thrift.QueryType.findByValue(iprot.readI32());
  struct.setTypeIsSet(true);
  {
   org.apache.thrift.protocol.TList _list53 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
   struct.expressions = new ArrayList<String>(_list53.size);
   String _elem54;
   for (int _i55 = 0; _i55 < _list53.size; ++_i55)
   {
    _elem54 = iprot.readString();
    struct.expressions.add(_elem54);
   }
  }
  struct.setExpressionsIsSet(true);
 }
}

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

@Override
 public void read(org.apache.thrift.protocol.TProtocol prot, Query struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.path = iprot.readString();
  struct.setPathIsSet(true);
  struct.type = com.linecorp.centraldogma.internal.thrift.QueryType.findByValue(iprot.readI32());
  struct.setTypeIsSet(true);
  {
   org.apache.thrift.protocol.TList _list45 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
   struct.expressions = new ArrayList<String>(_list45.size);
   String _elem46;
   for (int _i47 = 0; _i47 < _list45.size; ++_i47)
   {
    _elem46 = iprot.readString();
    struct.expressions.add(_elem46);
   }
  }
  struct.setExpressionsIsSet(true);
 }
}

相关文章