output.writeInt(_ramBufferSizeMB);
output.writeBoolean(_optimize);
writeString(output, _indexingType.name());
ByteArrayOutputStream os = new ByteArrayOutputStream();
TIOStreamTransport trans = new TIOStreamTransport(os);
TBinaryProtocol protocol = new TBinaryProtocol(trans);
try {
_tableDescriptor.write(protocol);
} catch (TException e) {
throw new IOException(e);
}