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
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 FormRepository.IndexerwithData()Specify that the next attribute to index will bedata, in the ascending direction.FormRepository.IndexerwithDataDesceding()Specify that the next attribute to index will bedata, in the descending direction.FormRepository.IndexerwithId()Specify that the next attribute to index will beid, in the ascending direction.FormRepository.IndexerwithIdDesceding()Specify that the next attribute to index will beid, in the descending direction.FormRepository.IndexerwithMetadata()Specify that the next attribute to index will bemetadata, in the ascending direction.FormRepository.IndexerwithMetadataDesceding()Specify that the next attribute to index will bemetadata, in the descending direction.FormRepository.IndexerwithName()Specify that the next attribute to index will bename, in the ascending direction.FormRepository.IndexerwithNameDesceding()Specify that the next attribute to index will bename, in the descending direction.FormRepository.IndexerwithNamespaces()Specify that the next attribute to index will benamespaces, in the ascending direction.FormRepository.IndexerwithNamespacesDesceding()Specify that the next attribute to index will benamespaces, in the descending direction.FormRepository.IndexerwithRequiredErrorText()Specify that the next attribute to index will berequiredErrorText, in the ascending direction.FormRepository.IndexerwithRequiredErrorTextDesceding()Specify that the next attribute to index will berequiredErrorText, in the descending direction.FormRepository.IndexerwithRev()Specify that the next attribute to index will berev, in the ascending direction.FormRepository.IndexerwithRevDesceding()Specify that the next attribute to index will berev, in the descending direction.FormRepository.IndexerwithValueSets()Specify that the next attribute to index will bevalueSets, in the ascending direction.FormRepository.IndexerwithValueSetsDesceding()Specify that the next attribute to index will bevalueSets, in the descending direction.FormRepository.IndexerwithVariables()Specify that the next attribute to index will bevariables, in the ascending direction.FormRepository.IndexerwithVariablesDesceding()Specify that the next attribute to index will bevariables, in the descending direction.
-
-
-
Field Detail
-
repository
protected final org.immutables.mongo.repository.Repositories.Repository<T extends Object> repository
-
-
Method Detail
-
withId
public FormRepository.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 FormRepository.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 FormRepository.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 FormRepository.Indexer withRevDesceding()
Specify that the next attribute to index will berev, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withName
public FormRepository.Indexer withName()
Specify that the next attribute to index will bename, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withNameDesceding
public FormRepository.Indexer withNameDesceding()
Specify that the next attribute to index will bename, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withData
public FormRepository.Indexer withData()
Specify that the next attribute to index will bedata, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withDataDesceding
public FormRepository.Indexer withDataDesceding()
Specify that the next attribute to index will bedata, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withMetadata
public FormRepository.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 FormRepository.Indexer withMetadataDesceding()
Specify that the next attribute to index will bemetadata, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withVariables
public FormRepository.Indexer withVariables()
Specify that the next attribute to index will bevariables, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withVariablesDesceding
public FormRepository.Indexer withVariablesDesceding()
Specify that the next attribute to index will bevariables, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withNamespaces
public FormRepository.Indexer withNamespaces()
Specify that the next attribute to index will benamespaces, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withNamespacesDesceding
public FormRepository.Indexer withNamespacesDesceding()
Specify that the next attribute to index will benamespaces, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withValueSets
public FormRepository.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 FormRepository.Indexer withValueSetsDesceding()
Specify that the next attribute to index will bevalueSets, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
withRequiredErrorText
public FormRepository.Indexer withRequiredErrorText()
Specify that the next attribute to index will berequiredErrorText, in the ascending direction.- Returns:
thisindexer for use in a chained invocation
-
withRequiredErrorTextDesceding
public FormRepository.Indexer withRequiredErrorTextDesceding()
Specify that the next attribute to index will berequiredErrorText, in the descending direction.- Returns:
thisindexer for use in a chained invocation
-
-