| Package | Description |
|---|---|
| org.kitesdk.data.spi |
Provides a service provider interface for implementors of Kite Data APIs.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> PartitionKey |
PartitionKey.partitionKeyForEntity(PartitionStrategy strategy,
E entity,
EntityAccessor<E> accessor)
Construct a partition key for the given entity.
|
static <E> PartitionKey |
PartitionKey.partitionKeyForEntity(PartitionStrategy strategy,
E entity,
EntityAccessor<E> accessor,
PartitionKey reuseKey)
Construct a partition key for the given entity, reusing the supplied key if
not null.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PartitionedDataset.dropPartition(PartitionKey key)
Drop a partition for a
PartitionKey. |
PartitionedDataset<E> |
PartitionedDataset.getPartition(PartitionKey key,
boolean autoCreate)
Get a partition for a
PartitionKey, optionally creating the
partition if it doesn't already exist. |
static <E> PartitionKey |
PartitionKey.partitionKeyForEntity(PartitionStrategy strategy,
E entity,
EntityAccessor<E> accessor,
PartitionKey reuseKey)
Construct a partition key for the given entity, reusing the supplied key if
not null.
|
Copyright © 2013–2015. All rights reserved.