Package io.dialob.api.form
Class FormRepository.Indexer
java.lang.Object
org.immutables.mongo.repository.Repositories.Indexer<Form,FormRepository.Indexer>
io.dialob.api.form.FormRepository.Indexer
- Enclosing class:
- FormRepository
@NotThreadSafe
public static final class FormRepository.Indexer
extends org.immutables.mongo.repository.Repositories.Indexer<Form,FormRepository.Indexer>
An indexer used to create an index on the
"forms" 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<Form>Fields inherited from class org.immutables.mongo.repository.Repositories.Indexer
fields -
Method Summary
Modifier and TypeMethodDescriptionwithData()Specify that the next attribute to index will bedata, in the ascending direction.Specify that the next attribute to index will bedata, 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.withName()Specify that the next attribute to index will bename, in the ascending direction.Specify that the next attribute to index will bename, in the descending direction.Specify that the next attribute to index will benamespaces, in the ascending direction.Specify that the next attribute to index will benamespaces, in the descending direction.Specify that the next attribute to index will berequiredErrorText, in the ascending direction.Specify that the next attribute to index will berequiredErrorText, 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 bevariables, in the ascending direction.Specify that the next attribute to index will bevariables, 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
-
withName
Specify that the next attribute to index will bename, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withNameDesceding
Specify that the next attribute to index will bename, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withData
Specify that the next attribute to index will bedata, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withDataDesceding
Specify that the next attribute to index will bedata, 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
-
withVariables
Specify that the next attribute to index will bevariables, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withVariablesDesceding
Specify that the next attribute to index will bevariables, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withNamespaces
Specify that the next attribute to index will benamespaces, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withNamespacesDesceding
Specify that the next attribute to index will benamespaces, 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
-
withRequiredErrorText
Specify that the next attribute to index will berequiredErrorText, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withRequiredErrorTextDesceding
Specify that the next attribute to index will berequiredErrorText, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-