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