Package org.dizitart.no2.index
Class IndexOptions
- java.lang.Object
-
- org.dizitart.no2.index.IndexOptions
-
public class IndexOptions extends Object
Options for configuring an index.- Since:
- 1.0
- Author:
- Anindya Chatterjee
-
-
Constructor Summary
Constructors Constructor Description IndexOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetIndexType()Specifies the type of index to create.inthashCode()static IndexOptionsindexOptions(String indexType)Creates anIndexOptionswith the specifiedindexType.voidsetIndexType(String indexType)Specifies the type of index to create.
-
-
-
Method Detail
-
indexOptions
public static IndexOptions indexOptions(String indexType)
Creates anIndexOptionswith the specifiedindexType. Index creation will be synchronous with this option.- Parameters:
indexType- the type of index to be created.- Returns:
- a new synchronous index creation option.
-
setIndexType
public void setIndexType(String indexType)
Specifies the type of index to create.- Parameters:
indexType- type of index.
-
getIndexType
public String getIndexType()
Specifies the type of index to create.- Returns:
- type of index to create.
-
-