org.gcube.portal.databook.server
Class Connection
java.lang.Object
org.gcube.portal.databook.server.Connection
public class Connection
- extends Object
- Version:
- 1.0 July 17th 2012
- Author:
- Massimiliano Assante ISTI-CNR
Constructor Summary |
protected |
Connection(boolean dropSchema)
|
Method Summary |
com.netflix.astyanax.Keyspace |
getKeyspace()
|
void |
SetUpKeySpaces(com.netflix.astyanax.AstyanaxContext<com.netflix.astyanax.Cluster> clusterContext,
boolean dropSchema)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Connection
protected Connection(boolean dropSchema)
- Parameters:
dropSchema
- set true if you want do drop the current and set up new one
getKeyspace
public com.netflix.astyanax.Keyspace getKeyspace()
- Returns:
SetUpKeySpaces
public void SetUpKeySpaces(com.netflix.astyanax.AstyanaxContext<com.netflix.astyanax.Cluster> clusterContext,
boolean dropSchema)
- Parameters:
cluster
- dropIfExists
-
- Throws:
com.netflix.astyanax.connectionpool.exceptions.ConnectionException
Copyright © 2012. All Rights Reserved.