Class PostIndexOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class PostIndexOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The postIndex options.
    • Method Detail

      • db

        public String db()
        Gets the db. Path parameter to specify the database name.
        Returns:
        the db
      • index

        public IndexDefinition index()
        Gets the index. Schema for a `json` or `text` query index definition. Indexes of type `text` have additional configuration properties that do not apply to `json` indexes, these are: * `default_analyzer` - the default text analyzer to use * `default_field` - whether to index the text in all document fields and what analyzer to use for that purpose.
        Returns:
        the index
      • ddoc

        public String ddoc()
        Gets the ddoc. Name of the design document in which the index will be created.
        Returns:
        the ddoc
      • def

        public IndexDefinition def()
        Gets the def. Schema for a `json` or `text` query index definition. Indexes of type `text` have additional configuration properties that do not apply to `json` indexes, these are: * `default_analyzer` - the default text analyzer to use * `default_field` - whether to index the text in all document fields and what analyzer to use for that purpose.
        Returns:
        the def
      • name

        public String name()
        Gets the name. name.
        Returns:
        the name
      • partitioned

        public Boolean partitioned()
        Gets the partitioned. The default value is `true` for databases with `partitioned: true` and `false` otherwise. For databases with `partitioned: false` if this option is specified the value must be `false`.
        Returns:
        the partitioned
      • type

        public String type()
        Gets the type. Schema for the type of an index.
        Returns:
        the type