Package io.dialob.api.questionnaire
Class QuestionnaireRepository.Indexer
java.lang.Object
org.immutables.mongo.repository.Repositories.Indexer<Questionnaire,QuestionnaireRepository.Indexer>
io.dialob.api.questionnaire.QuestionnaireRepository.Indexer
- Enclosing class:
- QuestionnaireRepository
@NotThreadSafe
public static final class QuestionnaireRepository.Indexer
extends org.immutables.mongo.repository.Repositories.Indexer<Questionnaire,QuestionnaireRepository.Indexer>
An indexer used to create an index on the
"questionnaires" collection if it does not exist by one or more attributes.- See Also:
-
DBCollection.createIndex(DBObject, DBObject)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.immutables.mongo.repository.Repositories.Repository<Questionnaire>Fields inherited from class org.immutables.mongo.repository.Repositories.Indexer
fields -
Method Summary
Modifier and TypeMethodDescriptionSpecify that the next attribute to index will beactiveItem, in the ascending direction.Specify that the next attribute to index will beactiveItem, in the descending direction.Specify that the next attribute to index will beanswers, in the ascending direction.Specify that the next attribute to index will beanswers, in the descending direction.Specify that the next attribute to index will becontext, in the ascending direction.Specify that the next attribute to index will becontext, in the descending direction.Specify that the next attribute to index will beerrors, in the ascending direction.Specify that the next attribute to index will beerrors, in the descending direction.withId()Specify that the next attribute to index will beid, in the ascending direction.Specify that the next attribute to index will beid, in the descending direction.Specify that the next attribute to index will bemetadata, in the ascending direction.Specify that the next attribute to index will bemetadata, in the descending direction.withRev()Specify that the next attribute to index will berev, in the ascending direction.Specify that the next attribute to index will berev, in the descending direction.Specify that the next attribute to index will bevalueSets, in the ascending direction.Specify that the next attribute to index will bevalueSets, in the descending direction.Specify that the next attribute to index will bevariableValues, in the ascending direction.Specify that the next attribute to index will bevariableValues, in the descending direction.Methods inherited from class org.immutables.mongo.repository.Repositories.Indexer
ensure, expireAfterSeconds, named, unique
-
Field Details
-
repository
-
-
Method Details
-
withId
Specify that the next attribute to index will beid, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withIdDesceding
Specify that the next attribute to index will beid, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withRev
Specify that the next attribute to index will berev, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withRevDesceding
Specify that the next attribute to index will berev, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withAnswers
Specify that the next attribute to index will beanswers, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withAnswersDesceding
Specify that the next attribute to index will beanswers, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withContext
Specify that the next attribute to index will becontext, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withContextDesceding
Specify that the next attribute to index will becontext, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withActiveItem
Specify that the next attribute to index will beactiveItem, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withActiveItemDesceding
Specify that the next attribute to index will beactiveItem, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withErrors
Specify that the next attribute to index will beerrors, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withErrorsDesceding
Specify that the next attribute to index will beerrors, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withVariableValues
Specify that the next attribute to index will bevariableValues, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withVariableValuesDesceding
Specify that the next attribute to index will bevariableValues, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withValueSets
Specify that the next attribute to index will bevalueSets, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withValueSetsDesceding
Specify that the next attribute to index will bevalueSets, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withMetadata
Specify that the next attribute to index will bemetadata, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withMetadataDesceding
Specify that the next attribute to index will bemetadata, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-