public class IndexParametersBase
extends java.lang.Object
Constructor and Description |
---|
IndexParametersBase(Parameter[] indexParams, OraclePropertyGraphBase opg)
Creates a new IndexParametersBase object from the given array of parameters and the property graph associated.
|
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize()
Gets the batch size specifying the number of elements required (per directory) before data is flushed into the index.
|
int |
getCommitBatchSize()
Gets the commit batch size specifying the number of documents required before forcing a commit to the index.
|
int |
getNumConnections()
Gets the number of connections to use when re-indexing an index.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParametersMap()
Gets the parameters map associated to this IndexParameters object.
|
long |
getWriteTimeout()
Gets the timeout (in seconds) used to wait for a write lock when writing on the index.
|
public IndexParametersBase(Parameter[] indexParams, OraclePropertyGraphBase opg)
indexParams
- the array of parameters used to create a text index. If NULL, the parameters will be obtained from the default parameters of the property graph instance using m_opg.getDefaultIndexParameters().opg
- an OraclePropertyGraphBase
instance.public final int getBatchSize()
public final int getCommitBatchSize()
public final int getNumConnections()
public java.util.Map<java.lang.String,java.lang.Object> getParametersMap()
public final long getWriteTimeout()