|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexBucketLocator
Interface for locating different buckets for indexing entities. These buckets are not intended for user with time series indexing. Rather this a means of partitioning index puts across multiple rows
Nested Class Summary | |
---|---|
static class |
IndexBucketLocator.IndexType
|
Method Summary | |
---|---|
String |
getBucket(UUID applicationId,
IndexBucketLocator.IndexType type,
UUID entityId,
String... components)
Return the bucket to use for indexing this entity |
List<String> |
getBuckets(UUID applicationId,
IndexBucketLocator.IndexType type,
String... components)
Get all buckets that exist for this application with the given entity type, and property name |
Method Detail |
---|
String getBucket(UUID applicationId, IndexBucketLocator.IndexType type, UUID entityId, String... components)
applicationId
- The application idtype
- The type of the index. This way indexing on the same property
value for different types of indexes does not cause collisions
on partitioning and lookupsentityId
- The entity id to be indexedcomponents
- The strings and uniquely identify the path to this index. I.E
entityType and propName, collection name etc This string must
remain the same for all reads and writes
List<String> getBuckets(UUID applicationId, IndexBucketLocator.IndexType type, String... components)
applicationId
- The application idtype
- The type of indexcomponents
- The strings and uniquely identify the path to this index. I.E
entityType and propName, collection name etc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |