| 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.serializers | |
| 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.ddl |
The api.ddl package defines all Data Definition operations that hector supports which include:
Adding new keyspaces
Adding new column families
Defining indices
Deleting exisiting constructs
A note should be taken that by server design, it is required that all DDL operations are to be
performed in a serialized manner.
Cassandra cannot support two DDL operations issued at the same time. |
| me.prettyprint.hector.api.factory |
| Modifier and Type | Method and Description |
|---|---|
ComparatorType |
BasicColumnFamilyDefinition.getComparatorType() |
ComparatorType |
BasicColumnFamilyDefinition.getSubComparatorType() |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicColumnFamilyDefinition.setComparatorType(ComparatorType comparitorType) |
void |
BasicColumnFamilyDefinition.setSubComparatorType(ComparatorType subComparitorType) |
| Modifier and Type | Method and Description |
|---|---|
ComparatorType |
UUIDSerializer.getComparatorType() |
ComparatorType |
TimeUUIDSerializer.getComparatorType() |
ComparatorType |
StringSerializer.getComparatorType() |
ComparatorType |
LongSerializer.getComparatorType() |
ComparatorType |
DynamicCompositeSerializer.getComparatorType() |
ComparatorType |
CompositeSerializer.getComparatorType() |
ComparatorType |
BigIntegerSerializer.getComparatorType() |
ComparatorType |
BigDecimalSerializer.getComparatorType() |
ComparatorType |
AsciiSerializer.getComparatorType() |
ComparatorType |
AbstractSerializer.getComparatorType() |
| Modifier and Type | Method and Description |
|---|---|
ComparatorType |
ThriftCfDef.getComparatorType() |
ComparatorType |
ThriftCfDef.getSubComparatorType() |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftCfDef.setComparatorType(ComparatorType comparatorType) |
void |
ThriftCfDef.setSubComparatorType(ComparatorType subComparatorType) |
| Constructor and Description |
|---|
ThriftCfDef(String keyspace,
String columnFamilyName,
ComparatorType comparatorType) |
ThriftCfDef(String keyspace,
String columnFamilyName,
ComparatorType comparatorType,
List<ColumnDefinition> columnMetadata) |
| Modifier and Type | Method and Description |
|---|---|
ComparatorType |
Serializer.getComparatorType() |
| Modifier and Type | Method and Description |
|---|---|
static ComparatorType |
ComparatorType.getByClassName(String className) |
ComparatorType |
ColumnFamilyDefinition.getComparatorType() |
ComparatorType |
ColumnFamilyDefinition.getSubComparatorType() |
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnFamilyDefinition.setComparatorType(ComparatorType comparitorType) |
void |
ColumnFamilyDefinition.setSubComparatorType(ComparatorType subComparitorType) |
| Modifier and Type | Method and Description |
|---|---|
static ColumnFamilyDefinition |
HFactory.createColumnFamilyDefinition(String keyspace,
String cfName,
ComparatorType comparatorType)
Create a column family for a given keyspace without comparator type.
|
static ColumnFamilyDefinition |
HFactory.createColumnFamilyDefinition(String keyspace,
String cfName,
ComparatorType comparatorType,
List<ColumnDefinition> columnMetadata) |
Copyright © 2014. All Rights Reserved.