/** * Nested fields. Since thrift does not support nested fields, * the nesting is flattened to a single list by a depth-first traversal. * The children count is used to construct the nested relationship. * This field is not set when the element is a primitive type */ public ColumnSchema setNum_child(int num_child) { this.num_child = num_child; setNum_childIsSet(true); return this; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.num_child = iprot.readI32(); struct.setNum_childIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void clear() { this.data_type = null; this.column_name = null; this.column_id = null; setColumnarIsSet(false); this.columnar = false; this.encoders = null; setDimensionIsSet(false); this.dimension = false; setColumn_group_idIsSet(false); this.column_group_id = 0; setScaleIsSet(false); this.scale = 0; setPrecisionIsSet(false); this.precision = 0; setNum_childIsSet(false); this.num_child = 0; this.aggregate_function = null; this.default_value = null; this.columnProperties = null; setInvisibleIsSet(false); this.invisible = false; this.columnReferenceId = null; setSchemaOrdinalIsSet(false); this.schemaOrdinal = 0; this.parentColumnTableRelations = null; }