if (compression != ProtocolOptions.Compression.NONE)
{
options.put(StartupMessage.COMPRESSION, compression.toString());
setCompressor(compression.compressor());
}
StartupMessage startup = new StartupMessage(options.build());
try {
com.datastax.cassandra.transport.Message.Response response = write(startup).get();
switch (response.type) {
case READY:
break;