Class 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 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 be id, in the ascending direction.
        Returns:
        this indexer for use in a chained invocation
      • withIdDesceding

        public FormRepository.Indexer withIdDesceding()
        Specify that the next attribute to index will be id, in the descending direction.
        Returns:
        this indexer for use in a chained invocation
      • withRev

        public FormRepository.Indexer withRev()
        Specify that the next attribute to index will be rev, in the ascending direction.
        Returns:
        this indexer for use in a chained invocation
      • withRevDesceding

        public FormRepository.Indexer withRevDesceding()
        Specify that the next attribute to index will be rev, in the descending direction.
        Returns:
        this indexer for use in a chained invocation
      • withName

        public FormRepository.Indexer withName()
        Specify that the next attribute to index will be name, in the ascending direction.
        Returns:
        this indexer for use in a chained invocation
      • withNameDesceding

        public FormRepository.Indexer withNameDesceding()
        Specify that the next attribute to index will be name, in the descending direction.
        Returns:
        this indexer for use in a chained invocation
      • withData

        public FormRepository.Indexer withData()
        Specify that the next attribute to index will be data, in the ascending direction.
        Returns:
        this indexer for use in a chained invocation
      • withDataDesceding

        public FormRepository.Indexer withDataDesceding()
        Specify that the next attribute to index will be data, in the descending direction.
        Returns:
        this indexer for use in a chained invocation
      • withMetadata

        public FormRepository.Indexer withMetadata()
        Specify that the next attribute to index will be metadata, in the ascending direction.
        Returns:
        this indexer for use in a chained invocation
      • withMetadataDesceding

        public FormRepository.Indexer withMetadataDesceding()
        Specify that the next attribute to index will be metadata, in the descending direction.
        Returns:
        this indexer for use in a chained invocation
      • withVariables

        public FormRepository.Indexer withVariables()
        Specify that the next attribute to index will be variables, in the ascending direction.
        Returns:
        this indexer for use in a chained invocation
      • withVariablesDesceding

        public FormRepository.Indexer withVariablesDesceding()
        Specify that the next attribute to index will be variables, in the descending direction.
        Returns:
        this indexer for use in a chained invocation
      • withNamespaces

        public FormRepository.Indexer withNamespaces()
        Specify that the next attribute to index will be namespaces, in the ascending direction.
        Returns:
        this indexer for use in a chained invocation
      • withNamespacesDesceding

        public FormRepository.Indexer withNamespacesDesceding()
        Specify that the next attribute to index will be namespaces, in the descending direction.
        Returns:
        this indexer for use in a chained invocation
      • withValueSets

        public FormRepository.Indexer withValueSets()
        Specify that the next attribute to index will be valueSets, in the ascending direction.
        Returns:
        this indexer for use in a chained invocation
      • withValueSetsDesceding

        public FormRepository.Indexer withValueSetsDesceding()
        Specify that the next attribute to index will be valueSets, in the descending direction.
        Returns:
        this indexer for use in a chained invocation
      • withRequiredErrorText

        public FormRepository.Indexer withRequiredErrorText()
        Specify that the next attribute to index will be requiredErrorText, in the ascending direction.
        Returns:
        this indexer for use in a chained invocation
      • withRequiredErrorTextDesceding

        public FormRepository.Indexer withRequiredErrorTextDesceding()
        Specify that the next attribute to index will be requiredErrorText, in the descending direction.
        Returns:
        this indexer for use in a chained invocation