class IndexModelBuilder[Stage <: Stage, Kind <: DataStoreKind] extends AnyRef
A builder able to create instances of IndexModel.
- Stage
The current Stage of the builder.
- Kind
The kind of DataStore whose index is being built.
- Alphabetic
- By Inheritance
- IndexModelBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
build(implicit evidence: <:<[Stage, Complete[Kind]]): IndexModel
Builds an index model, this method is callable only when Stage is a subclass of IndexModelBuilder.Stage.Complete (has more trait mixed but not less).
Builds an index model, this method is callable only when Stage is a subclass of IndexModelBuilder.Stage.Complete (has more trait mixed but not less).
- evidence
The evidence that the current Stage is a subclass of IndexModelBuilder.Stage.Complete
- returns
The built IndexModel
- Annotations
- @silent( "never used" )
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
config(config: Config[Kind]): IndexModelBuilder[Stage with Config[Kind], Kind]
Assigns a config to the index
Assigns a config to the index
- config
The config of the index
- returns
An instance of builder with Config stage completed
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
id(id: String): IndexModelBuilder[Stage with Id, Kind]
Assings an id field to the index
Assings an id field to the index
- returns
An instance of builder with Id stage completed
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
named(name: String): IndexModelBuilder[Stage with Name, Kind]
Assigns a name to the index
Assigns a name to the index
- name
The name of the index
- returns
An instance of builder with Name stage completed
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
options(options: Map[String, String]): IndexModelBuilder[Stage with Options, Kind]
Assings an options field to the index
Assings an options field to the index
- returns
An instance of builder with Options stage completed
-
def
rolling: IndexModelBuilder[Stage with Rolling, Kind]
Mark the index as rolling
Mark the index as rolling
- returns
An instance of builder with Rolling stage completed
-
def
schema(schema: Schema[Kind]): IndexModelBuilder[Stage with Schema[Kind], Kind]
Assigns a schema to the index
Assigns a schema to the index
- schema
The schema of the index
- returns
An instance of builder with Schema stage completed
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()