
javagen.readUnionField Maven / Gradle / Ivy
The newest version!
case {{id}}: /* {{fieldName}} */
switch (_field.type) {
case TType.{{constType}}:
{{fieldType}} {{valueVariableName}};
{{>readValue}}
result = {{newFieldName}}({{valueVariableName}});
break;
default:
TProtocolUtil.skip(_iprot, _field.type);
}
break;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy