Class MongoIndexable.DistinctInventoryItem
java.lang.Object
dev.getelements.elements.dao.mongo.MongoIndexable<MongoItem,MongoDistinctInventoryItem>
dev.getelements.elements.dao.mongo.MongoIndexable.DistinctInventoryItem
- All Implemented Interfaces:
Indexable
- Enclosing class:
MongoIndexable<SpecT,IndexedT>
public static class MongoIndexable.DistinctInventoryItem
extends MongoIndexable<MongoItem,MongoDistinctInventoryItem>
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.getelements.elements.dao.mongo.MongoIndexable
MongoIndexable.DistinctInventoryItem, MongoIndexable.Item, MongoIndexable.Metadata -
Field Summary
Fields inherited from class dev.getelements.elements.dao.mongo.MongoIndexable
indexed, metadataSpecExtractor, nameExtractor, spec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidupdatePlanWithMetadataSpecs(IndexPlanner<org.bson.Document> planner) Updates the index plan with metadata specifications.Methods inherited from class dev.getelements.elements.dao.mongo.MongoIndexable
buildIndexes, generate, getCollection, getCollectionName, getDatastore, getMapper, plan, setDatastore, setMapper
-
Constructor Details
-
DistinctInventoryItem
public DistinctInventoryItem()
-
-
Method Details
-
updatePlanWithMetadataSpecs
Description copied from class:MongoIndexableUpdates the index plan with metadata specifications.- Overrides:
updatePlanWithMetadataSpecsin classMongoIndexable<MongoItem,MongoDistinctInventoryItem> - Parameters:
planner- the index planner to update
-