public void write(org.apache.thrift.protocol.TProtocol oprot, IndexClause struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.expressions != null) { oprot.writeFieldBegin(EXPRESSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.expressions.size())); for (IndexExpression _iter27 : struct.expressions) { _iter27.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } if (struct.start_key != null) { oprot.writeFieldBegin(START_KEY_FIELD_DESC); oprot.writeBinary(struct.start_key); oprot.writeFieldEnd(); } oprot.writeFieldBegin(COUNT_FIELD_DESC); oprot.writeI32(struct.count); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, IndexClause struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.expressions != null) { oprot.writeFieldBegin(EXPRESSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.expressions.size())); for (IndexExpression _iter27 : struct.expressions) { _iter27.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } if (struct.start_key != null) { oprot.writeFieldBegin(START_KEY_FIELD_DESC); oprot.writeBinary(struct.start_key); oprot.writeFieldEnd(); } oprot.writeFieldBegin(COUNT_FIELD_DESC); oprot.writeI32(struct.count); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, IndexClause struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.expressions != null) { oprot.writeFieldBegin(EXPRESSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.expressions.size())); for (IndexExpression _iter27 : struct.expressions) { _iter27.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } if (struct.start_key != null) { oprot.writeFieldBegin(START_KEY_FIELD_DESC); oprot.writeBinary(struct.start_key); oprot.writeFieldEnd(); } oprot.writeFieldBegin(COUNT_FIELD_DESC); oprot.writeI32(struct.count); oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); }
throw new org.apache.thrift.protocol.TProtocolException("Required field 'count' was not found in serialized data! Struct: " + toString()); struct.validate();
throw new org.apache.thrift.protocol.TProtocolException("Required field 'count' was not found in serialized data! Struct: " + toString()); struct.validate();
throw new org.apache.thrift.protocol.TProtocolException("Required field 'count' was not found in serialized data! Struct: " + toString()); struct.validate();