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
Fields Modifier and Type Field Description protected org.immutables.mongo.repository.Repositories.Repository<T>repository
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionnaireRepository.IndexerwithActiveItem()Specify that the next attribute to index will beactiveItem, in the ascending direction.QuestionnaireRepository.IndexerwithActiveItemDesceding()Specify that the next attribute to index will beactiveItem, in the descending direction.QuestionnaireRepository.IndexerwithAnswers()Specify that the next attribute to index will beanswers, in the ascending direction.QuestionnaireRepository.IndexerwithAnswersDesceding()Specify that the next attribute to index will beanswers, in the descending direction.QuestionnaireRepository.IndexerwithContext()Specify that the next attribute to index will becontext, in the ascending direction.QuestionnaireRepository.IndexerwithContextDesceding()Specify that the next attribute to index will becontext, in the descending direction.QuestionnaireRepository.IndexerwithErrors()Specify that the next attribute to index will beerrors, in the ascending direction.QuestionnaireRepository.IndexerwithErrorsDesceding()Specify that the next attribute to index will beerrors, in the descending direction.QuestionnaireRepository.IndexerwithId()Specify that the next attribute to index will beid, in the ascending direction.QuestionnaireRepository.IndexerwithIdDesceding()Specify that the next attribute to index will beid, in the descending direction.QuestionnaireRepository.IndexerwithMetadata()Specify that the next attribute to index will bemetadata, in the ascending direction.QuestionnaireRepository.IndexerwithMetadataDesceding()Specify that the next attribute to index will bemetadata, in the descending direction.QuestionnaireRepository.IndexerwithRev()Specify that the next attribute to index will berev, in the ascending direction.QuestionnaireRepository.IndexerwithRevDesceding()Specify that the next attribute to index will berev, in the descending direction.QuestionnaireRepository.IndexerwithValueSets()Specify that the next attribute to index will bevalueSets, in the ascending direction.QuestionnaireRepository.IndexerwithValueSetsDesceding()Specify that the next attribute to index will bevalueSets, in the descending direction.QuestionnaireRepository.IndexerwithVariableValues()Specify that the next attribute to index will bevariableValues, in the ascending direction.QuestionnaireRepository.IndexerwithVariableValuesDesceding()Specify that the next attribute to index will bevariableValues, in the descending direction.
-
-
-
Field Detail
-
repository
protected final org.immutables.mongo.repository.Repositories.Repository<T extends Object> repository
-
-
Method Detail
-
withId
public QuestionnaireRepository.Indexer withId()
Specify that the next attribute to index will beid, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withIdDesceding
public QuestionnaireRepository.Indexer withIdDesceding()
Specify that the next attribute to index will beid, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withRev
public QuestionnaireRepository.Indexer withRev()
Specify that the next attribute to index will berev, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withRevDesceding
public QuestionnaireRepository.Indexer withRevDesceding()
Specify that the next attribute to index will berev, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withAnswers
public QuestionnaireRepository.Indexer withAnswers()
Specify that the next attribute to index will beanswers, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withAnswersDesceding
public QuestionnaireRepository.Indexer withAnswersDesceding()
Specify that the next attribute to index will beanswers, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withContext
public QuestionnaireRepository.Indexer withContext()
Specify that the next attribute to index will becontext, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withContextDesceding
public QuestionnaireRepository.Indexer withContextDesceding()
Specify that the next attribute to index will becontext, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withActiveItem
public QuestionnaireRepository.Indexer withActiveItem()
Specify that the next attribute to index will beactiveItem, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withActiveItemDesceding
public QuestionnaireRepository.Indexer withActiveItemDesceding()
Specify that the next attribute to index will beactiveItem, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withErrors
public QuestionnaireRepository.Indexer withErrors()
Specify that the next attribute to index will beerrors, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withErrorsDesceding
public QuestionnaireRepository.Indexer withErrorsDesceding()
Specify that the next attribute to index will beerrors, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withVariableValues
public QuestionnaireRepository.Indexer withVariableValues()
Specify that the next attribute to index will bevariableValues, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withVariableValuesDesceding
public QuestionnaireRepository.Indexer withVariableValuesDesceding()
Specify that the next attribute to index will bevariableValues, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withValueSets
public QuestionnaireRepository.Indexer withValueSets()
Specify that the next attribute to index will bevalueSets, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withValueSetsDesceding
public QuestionnaireRepository.Indexer withValueSetsDesceding()
Specify that the next attribute to index will bevalueSets, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withMetadata
public QuestionnaireRepository.Indexer withMetadata()
Specify that the next attribute to index will bemetadata, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withMetadataDesceding
public QuestionnaireRepository.Indexer withMetadataDesceding()
Specify that the next attribute to index will bemetadata, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
-