private static class ColumnStatisticsDescTupleScheme extends TupleScheme<ColumnStatisticsDesc> {
@Override
public void write(com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TProtocol prot, ColumnStatisticsDesc struct) throws com.facebook.presto.hive.shaded.org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
oprot.writeBool(struct.isTblLevel);
oprot.writeString(struct.dbName);
oprot.writeString(struct.tableName);
BitSet optionals = new BitSet();
if (struct.isSetPartName()) {
optionals.set(0);