Package org.dizitart.no2.index
Class IndexOptions
java.lang.Object
org.dizitart.no2.index.IndexOptions
Options for configuring an index.
- Since:
- 1.0
- Author:
- Anindya Chatterjee
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies 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.
-
Constructor Details
-
IndexOptions
public IndexOptions()
-
-
Method Details
-
indexOptions
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
Specifies the type of index to create.- Parameters:
indexType- type of index.
-
getIndexType
Specifies the type of index to create.- Returns:
- type of index to create.
-
equals
-
hashCode
public int hashCode()
-