public static class Indexes.IndexImpl.Builder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[][] |
fieldNames
The field names of the index.
|
protected Index.IndexType |
indexType
The type of the index.
|
protected java.lang.String |
name
The name of the index.
|
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Index |
build()
Build a new instance of IndexImpl.
|
Indexes.IndexImpl.Builder |
withFieldNames(java.lang.String[][] fieldNames)
Set the field names of the index.
|
Indexes.IndexImpl.Builder |
withIndexType(Index.IndexType indexType)
Set the type of the index.
|
Indexes.IndexImpl.Builder |
withName(java.lang.String name)
Set the name of the index.
|
protected Index.IndexType indexType
protected java.lang.String name
protected java.lang.String[][] fieldNames
public Indexes.IndexImpl.Builder withIndexType(Index.IndexType indexType)
indexType
- The type of the indexpublic Indexes.IndexImpl.Builder withName(java.lang.String name)
name
- The name of the indexpublic Indexes.IndexImpl.Builder withFieldNames(java.lang.String[][] fieldNames)
fieldNames
- The field names of the indexpublic Index build()