| Package | Description |
|---|---|
| me.prettyprint.cassandra.model |
The model package defines the thrift/avro reflections used by hector to shield the specific types
of the objects.
|
| me.prettyprint.cassandra.service | |
| me.prettyprint.hector.api |
The api package defines the main hector api entry points (aka the v2 API)
|
| me.prettyprint.hector.api.factory |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicKeyspaceDefinition
Created by IntelliJ IDEA.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ThriftKsDef |
| Modifier and Type | Method and Description |
|---|---|
KeyspaceDefinition |
AbstractCluster.describeKeyspace(String keyspace) |
| Modifier and Type | Method and Description |
|---|---|
List<KeyspaceDefinition> |
AbstractCluster.describeKeyspaces() |
static List<KeyspaceDefinition> |
ThriftKsDef.fromThriftList(List<org.apache.cassandra.thrift.KsDef> ks) |
| Modifier and Type | Method and Description |
|---|---|
String |
ThriftCluster.addKeyspace(KeyspaceDefinition ksdef) |
String |
ThriftCluster.addKeyspace(KeyspaceDefinition ksdef,
boolean waitForSchemaAgreement) |
String |
ThriftCluster.updateKeyspace(KeyspaceDefinition ksdef) |
String |
ThriftCluster.updateKeyspace(KeyspaceDefinition ksdef,
boolean waitForSchemaAgreement) |
| Constructor and Description |
|---|
ThriftKsDef(KeyspaceDefinition keyspaceDefinition) |
| Modifier and Type | Method and Description |
|---|---|
KeyspaceDefinition |
Cluster.describeKeyspace(String keyspace) |
| Modifier and Type | Method and Description |
|---|---|
List<KeyspaceDefinition> |
Cluster.describeKeyspaces() |
| Modifier and Type | Method and Description |
|---|---|
String |
Cluster.addKeyspace(KeyspaceDefinition ksdef)
Add a keyspace and does not wait for schema agreement.
|
String |
Cluster.addKeyspace(KeyspaceDefinition ksdef,
boolean waitForSchemaAgreement)
Add a keyspace and wait for schema cluster agreement if
waitForSchemaAgreement
is set to true. |
String |
Cluster.updateKeyspace(KeyspaceDefinition ksdef)
Updates the Keyspace from the cluster without waiting for schema agreement.
|
String |
Cluster.updateKeyspace(KeyspaceDefinition ksdef,
boolean waitForSchemaAgreement)
Updates the Keyspace and waitz for schema cluster agreement if
waitForSchemaAgreement
is set to true. |
| Modifier and Type | Method and Description |
|---|---|
static KeyspaceDefinition |
HFactory.createKeyspaceDefinition(String keyspace)
Use createKeyspaceDefinition to add a new Keyspace to cluster.
|
static KeyspaceDefinition |
HFactory.createKeyspaceDefinition(String keyspaceName,
String strategyClass,
int replicationFactor,
List<ColumnFamilyDefinition> cfDefs)
Use createKeyspaceDefinition to add a new Keyspace to cluster.
|
Copyright © 2014. All Rights Reserved.