|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.datastax.cassandra.transport.Message
com.datastax.cassandra.transport.Message.Request
com.datastax.cassandra.transport.messages.StartupMessage
public class StartupMessage
The initial message of the protocol. Sets up a number of connection options.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.datastax.cassandra.transport.Message |
|---|
Message.Codec<M extends Message>, Message.Direction, Message.ProtocolDecoder, Message.ProtocolEncoder, Message.Request, Message.Response, Message.Type |
| Field Summary | |
|---|---|
static Message.Codec<StartupMessage> |
codec
|
static String |
COMPRESSION
|
static String |
CQL_VERSION
|
Map<String,String> |
options
|
| Fields inherited from class com.datastax.cassandra.transport.Message.Request |
|---|
tracingRequested |
| Fields inherited from class com.datastax.cassandra.transport.Message |
|---|
connection, logger, type |
| Constructor Summary | |
|---|---|
StartupMessage(Map<String,String> options)
|
|
| Method Summary | |
|---|---|
org.jboss.netty.buffer.ChannelBuffer |
encode()
|
Message.Response |
execute(org.apache.cassandra.service.QueryState state)
|
String |
toString()
|
| Methods inherited from class com.datastax.cassandra.transport.Message.Request |
|---|
isTracingRequested, setTracingRequested |
| Methods inherited from class com.datastax.cassandra.transport.Message |
|---|
attach, connection, getStreamId, setStreamId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CQL_VERSION
public static final String COMPRESSION
public static final Message.Codec<StartupMessage> codec
public final Map<String,String> options
| Constructor Detail |
|---|
public StartupMessage(Map<String,String> options)
| Method Detail |
|---|
public org.jboss.netty.buffer.ChannelBuffer encode()
encode in class Messagepublic Message.Response execute(org.apache.cassandra.service.QueryState state)
execute in class Message.Requestpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||