Package org.apache.cassandra.transport
Class Client
java.lang.Object
org.apache.cassandra.transport.SimpleClient
org.apache.cassandra.transport.Client
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.cassandra.transport.SimpleClient
SimpleClient.Builder, SimpleClient.EventHandler, SimpleClient.SimpleEventHandler, SimpleClient.SimpleFlusher -
Field Summary
Fields inherited from class org.apache.cassandra.transport.SimpleClient
bootstrap, channel, compression, connection, host, lastWriteFuture, port, responseHandler, TIMEOUT_SECONDS, tracker, version -
Constructor Summary
ConstructorsConstructorDescriptionClient(String host, int port, ProtocolVersion version, EncryptionOptions encryptionOptions) -
Method Summary
Methods inherited from class org.apache.cassandra.transport.SimpleClient
builder, close, connect, connect, execute, execute, execute, execute, execute, executePrepared, prepare, setEventHandler
-
Constructor Details
-
Client
-
-
Method Details
-
run
- Throws:
IOException
-
main
- Throws:
Exception
-