Class SolrIndexConfigModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.solrfacetsearch.model.config.SolrIndexConfigModel
-
- All Implemented Interfaces:
java.io.Serializable
public class SolrIndexConfigModel extends ItemModel
Generated model class for type SolrIndexConfig first defined at extension solrfacetsearch.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBATCHSIZEGenerated constant - Attribute key ofSolrIndexConfig.batchSizeattribute defined at extensionsolrfacetsearch.static java.lang.StringCOMMITMODEGenerated constant - Attribute key ofSolrIndexConfig.commitModeattribute defined at extensionsolrfacetsearch.static java.lang.StringDISTRIBUTEDINDEXINGGenerated constant - Attribute key ofSolrIndexConfig.distributedIndexingattribute defined at extensionsolrfacetsearch.static java.lang.StringEXPORTPATHGenerated constant - Attribute key ofSolrIndexConfig.exportPathattribute defined at extensionsolrfacetsearch.static java.lang.StringIGNOREERRORSGenerated constant - Attribute key ofSolrIndexConfig.ignoreErrorsattribute defined at extensionsolrfacetsearch.static java.lang.StringINDEXMODEGenerated constant - Attribute key ofSolrIndexConfig.indexModeattribute defined at extensionsolrfacetsearch.static java.lang.StringLEGACYMODEGenerated constant - Attribute key ofSolrIndexConfig.legacyModeattribute defined at extensionsolrfacetsearch.static java.lang.StringMAXBATCHRETRIESGenerated constant - Attribute key ofSolrIndexConfig.maxBatchRetriesattribute defined at extensionsolrfacetsearch.static java.lang.StringMAXRETRIESGenerated constant - Attribute key ofSolrIndexConfig.maxRetriesattribute defined at extensionsolrfacetsearch.static java.lang.StringNAMEGenerated constant - Attribute key ofSolrIndexConfig.nameattribute defined at extensionsolrfacetsearch.static java.lang.StringNODEGROUPGenerated constant - Attribute key ofSolrIndexConfig.nodeGroupattribute defined at extensionsolrfacetsearch.static java.lang.StringNUMBEROFTHREADSGenerated constant - Attribute key ofSolrIndexConfig.numberOfThreadsattribute defined at extensionsolrfacetsearch.static java.lang.StringOPTIMIZEMODEGenerated constant - Attribute key ofSolrIndexConfig.optimizeModeattribute defined at extensionsolrfacetsearch.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SolrIndexConfigModel()Generated constructor - Default constructor for generic creation.SolrIndexConfigModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextSolrIndexConfigModel(java.lang.String _name)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSolrIndexConfigModel(java.lang.String _name, ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetBatchSize()Generated method - Getter of theSolrIndexConfig.batchSizeattribute defined at extensionsolrfacetsearch.SolrCommitModegetCommitMode()Generated method - Getter of theSolrIndexConfig.commitModeattribute defined at extensionsolrfacetsearch.java.lang.StringgetExportPath()Generated method - Getter of theSolrIndexConfig.exportPathattribute defined at extensionsolrfacetsearch.IndexModegetIndexMode()Generated method - Getter of theSolrIndexConfig.indexModeattribute defined at extensionsolrfacetsearch.intgetMaxBatchRetries()Generated method - Getter of theSolrIndexConfig.maxBatchRetriesattribute defined at extensionsolrfacetsearch.intgetMaxRetries()Generated method - Getter of theSolrIndexConfig.maxRetriesattribute defined at extensionsolrfacetsearch.java.lang.StringgetName()Generated method - Getter of theSolrIndexConfig.nameattribute defined at extensionsolrfacetsearch.java.lang.StringgetNodeGroup()Generated method - Getter of theSolrIndexConfig.nodeGroupattribute defined at extensionsolrfacetsearch.intgetNumberOfThreads()Generated method - Getter of theSolrIndexConfig.numberOfThreadsattribute defined at extensionsolrfacetsearch.SolrOptimizeModegetOptimizeMode()Generated method - Getter of theSolrIndexConfig.optimizeModeattribute defined at extensionsolrfacetsearch.booleanisDistributedIndexing()Generated method - Getter of theSolrIndexConfig.distributedIndexingattribute defined at extensionsolrfacetsearch.booleanisIgnoreErrors()Generated method - Getter of theSolrIndexConfig.ignoreErrorsattribute defined at extensionsolrfacetsearch.booleanisLegacyMode()Deprecated.voidsetBatchSize(int value)Generated method - Setter ofSolrIndexConfig.batchSizeattribute defined at extensionsolrfacetsearch.voidsetCommitMode(SolrCommitMode value)Generated method - Setter ofSolrIndexConfig.commitModeattribute defined at extensionsolrfacetsearch.voidsetDistributedIndexing(boolean value)Generated method - Setter ofSolrIndexConfig.distributedIndexingattribute defined at extensionsolrfacetsearch.voidsetExportPath(java.lang.String value)Generated method - Setter ofSolrIndexConfig.exportPathattribute defined at extensionsolrfacetsearch.voidsetIgnoreErrors(boolean value)Generated method - Setter ofSolrIndexConfig.ignoreErrorsattribute defined at extensionsolrfacetsearch.voidsetIndexMode(IndexMode value)Generated method - Setter ofSolrIndexConfig.indexModeattribute defined at extensionsolrfacetsearch.voidsetLegacyMode(boolean value)Deprecated.voidsetMaxBatchRetries(int value)Generated method - Setter ofSolrIndexConfig.maxBatchRetriesattribute defined at extensionsolrfacetsearch.voidsetMaxRetries(int value)Generated method - Setter ofSolrIndexConfig.maxRetriesattribute defined at extensionsolrfacetsearch.voidsetName(java.lang.String value)Generated method - Initial setter ofSolrIndexConfig.nameattribute defined at extensionsolrfacetsearch.voidsetNodeGroup(java.lang.String value)Generated method - Setter ofSolrIndexConfig.nodeGroupattribute defined at extensionsolrfacetsearch.voidsetNumberOfThreads(int value)Generated method - Setter ofSolrIndexConfig.numberOfThreadsattribute defined at extensionsolrfacetsearch.voidsetOptimizeMode(SolrOptimizeMode value)Generated method - Setter ofSolrIndexConfig.optimizeModeattribute defined at extensionsolrfacetsearch.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofSolrIndexConfig.nameattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
BATCHSIZE
public static final java.lang.String BATCHSIZE
Generated constant - Attribute key ofSolrIndexConfig.batchSizeattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
EXPORTPATH
public static final java.lang.String EXPORTPATH
Generated constant - Attribute key ofSolrIndexConfig.exportPathattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
NUMBEROFTHREADS
public static final java.lang.String NUMBEROFTHREADS
Generated constant - Attribute key ofSolrIndexConfig.numberOfThreadsattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
INDEXMODE
public static final java.lang.String INDEXMODE
Generated constant - Attribute key ofSolrIndexConfig.indexModeattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
COMMITMODE
public static final java.lang.String COMMITMODE
Generated constant - Attribute key ofSolrIndexConfig.commitModeattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
OPTIMIZEMODE
public static final java.lang.String OPTIMIZEMODE
Generated constant - Attribute key ofSolrIndexConfig.optimizeModeattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
IGNOREERRORS
public static final java.lang.String IGNOREERRORS
Generated constant - Attribute key ofSolrIndexConfig.ignoreErrorsattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
LEGACYMODE
public static final java.lang.String LEGACYMODE
Generated constant - Attribute key ofSolrIndexConfig.legacyModeattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
MAXRETRIES
public static final java.lang.String MAXRETRIES
Generated constant - Attribute key ofSolrIndexConfig.maxRetriesattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
MAXBATCHRETRIES
public static final java.lang.String MAXBATCHRETRIES
Generated constant - Attribute key ofSolrIndexConfig.maxBatchRetriesattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
DISTRIBUTEDINDEXING
public static final java.lang.String DISTRIBUTEDINDEXING
Generated constant - Attribute key ofSolrIndexConfig.distributedIndexingattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
NODEGROUP
public static final java.lang.String NODEGROUP
Generated constant - Attribute key ofSolrIndexConfig.nodeGroupattribute defined at extensionsolrfacetsearch.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SolrIndexConfigModel
public SolrIndexConfigModel()
Generated constructor - Default constructor for generic creation.
-
SolrIndexConfigModel
public SolrIndexConfigModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SolrIndexConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public SolrIndexConfigModel(java.lang.String _name)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_name- initial attribute declared by typeSolrIndexConfigat extensionsolrfacetsearch
-
SolrIndexConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public SolrIndexConfigModel(java.lang.String _name, ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_name- initial attribute declared by typeSolrIndexConfigat extensionsolrfacetsearch_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getBatchSize
@Accessor(qualifier="batchSize", type=GETTER) public int getBatchSize()
Generated method - Getter of theSolrIndexConfig.batchSizeattribute defined at extensionsolrfacetsearch.- Returns:
- the batchSize
-
getCommitMode
@Accessor(qualifier="commitMode", type=GETTER) public SolrCommitMode getCommitMode()
Generated method - Getter of theSolrIndexConfig.commitModeattribute defined at extensionsolrfacetsearch.- Returns:
- the commitMode
-
getExportPath
@Accessor(qualifier="exportPath", type=GETTER) public java.lang.String getExportPath()
Generated method - Getter of theSolrIndexConfig.exportPathattribute defined at extensionsolrfacetsearch.- Returns:
- the exportPath
-
getIndexMode
@Accessor(qualifier="indexMode", type=GETTER) public IndexMode getIndexMode()
Generated method - Getter of theSolrIndexConfig.indexModeattribute defined at extensionsolrfacetsearch.- Returns:
- the indexMode
-
getMaxBatchRetries
@Accessor(qualifier="maxBatchRetries", type=GETTER) public int getMaxBatchRetries()
Generated method - Getter of theSolrIndexConfig.maxBatchRetriesattribute defined at extensionsolrfacetsearch.- Returns:
- the maxBatchRetries
-
getMaxRetries
@Accessor(qualifier="maxRetries", type=GETTER) public int getMaxRetries()
Generated method - Getter of theSolrIndexConfig.maxRetriesattribute defined at extensionsolrfacetsearch.- Returns:
- the maxRetries
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theSolrIndexConfig.nameattribute defined at extensionsolrfacetsearch.- Returns:
- the name - unique identifier of indexer configuration
-
getNodeGroup
@Accessor(qualifier="nodeGroup", type=GETTER) public java.lang.String getNodeGroup()
Generated method - Getter of theSolrIndexConfig.nodeGroupattribute defined at extensionsolrfacetsearch.- Returns:
- the nodeGroup - allows to control on which node group of a cluster process will be executed in case of distributed indexing
-
getNumberOfThreads
@Accessor(qualifier="numberOfThreads", type=GETTER) public int getNumberOfThreads()
Generated method - Getter of theSolrIndexConfig.numberOfThreadsattribute defined at extensionsolrfacetsearch.- Returns:
- the numberOfThreads
-
getOptimizeMode
@Accessor(qualifier="optimizeMode", type=GETTER) public SolrOptimizeMode getOptimizeMode()
Generated method - Getter of theSolrIndexConfig.optimizeModeattribute defined at extensionsolrfacetsearch.- Returns:
- the optimizeMode
-
isDistributedIndexing
@Accessor(qualifier="distributedIndexing", type=GETTER) public boolean isDistributedIndexing()
Generated method - Getter of theSolrIndexConfig.distributedIndexingattribute defined at extensionsolrfacetsearch.- Returns:
- the distributedIndexing
-
isIgnoreErrors
@Accessor(qualifier="ignoreErrors", type=GETTER) public boolean isIgnoreErrors()
Generated method - Getter of theSolrIndexConfig.ignoreErrorsattribute defined at extensionsolrfacetsearch.- Returns:
- the ignoreErrors
-
isLegacyMode
@Deprecated @Accessor(qualifier="legacyMode", type=GETTER) public boolean isLegacyMode()
Deprecated.Generated method - Getter of theSolrIndexConfig.legacyModeattribute defined at extensionsolrfacetsearch.- Returns:
- the legacyMode
-
setBatchSize
@Accessor(qualifier="batchSize", type=SETTER) public void setBatchSize(int value)
Generated method - Setter ofSolrIndexConfig.batchSizeattribute defined at extensionsolrfacetsearch.- Parameters:
value- the batchSize
-
setCommitMode
@Accessor(qualifier="commitMode", type=SETTER) public void setCommitMode(SolrCommitMode value)
Generated method - Setter ofSolrIndexConfig.commitModeattribute defined at extensionsolrfacetsearch.- Parameters:
value- the commitMode
-
setDistributedIndexing
@Accessor(qualifier="distributedIndexing", type=SETTER) public void setDistributedIndexing(boolean value)
Generated method - Setter ofSolrIndexConfig.distributedIndexingattribute defined at extensionsolrfacetsearch.- Parameters:
value- the distributedIndexing
-
setExportPath
@Accessor(qualifier="exportPath", type=SETTER) public void setExportPath(java.lang.String value)
Generated method - Setter ofSolrIndexConfig.exportPathattribute defined at extensionsolrfacetsearch.- Parameters:
value- the exportPath
-
setIgnoreErrors
@Accessor(qualifier="ignoreErrors", type=SETTER) public void setIgnoreErrors(boolean value)
Generated method - Setter ofSolrIndexConfig.ignoreErrorsattribute defined at extensionsolrfacetsearch.- Parameters:
value- the ignoreErrors
-
setIndexMode
@Accessor(qualifier="indexMode", type=SETTER) public void setIndexMode(IndexMode value)
Generated method - Setter ofSolrIndexConfig.indexModeattribute defined at extensionsolrfacetsearch.- Parameters:
value- the indexMode
-
setLegacyMode
@Deprecated @Accessor(qualifier="legacyMode", type=SETTER) public void setLegacyMode(boolean value)
Deprecated.Generated method - Setter ofSolrIndexConfig.legacyModeattribute defined at extensionsolrfacetsearch.- Parameters:
value- the legacyMode
-
setMaxBatchRetries
@Accessor(qualifier="maxBatchRetries", type=SETTER) public void setMaxBatchRetries(int value)
Generated method - Setter ofSolrIndexConfig.maxBatchRetriesattribute defined at extensionsolrfacetsearch.- Parameters:
value- the maxBatchRetries
-
setMaxRetries
@Accessor(qualifier="maxRetries", type=SETTER) public void setMaxRetries(int value)
Generated method - Setter ofSolrIndexConfig.maxRetriesattribute defined at extensionsolrfacetsearch.- Parameters:
value- the maxRetries
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Initial setter ofSolrIndexConfig.nameattribute defined at extensionsolrfacetsearch. Can only be used at creation of model - before first save.- Parameters:
value- the name - unique identifier of indexer configuration
-
setNodeGroup
@Accessor(qualifier="nodeGroup", type=SETTER) public void setNodeGroup(java.lang.String value)
Generated method - Setter ofSolrIndexConfig.nodeGroupattribute defined at extensionsolrfacetsearch.- Parameters:
value- the nodeGroup - allows to control on which node group of a cluster process will be executed in case of distributed indexing
-
setNumberOfThreads
@Accessor(qualifier="numberOfThreads", type=SETTER) public void setNumberOfThreads(int value)
Generated method - Setter ofSolrIndexConfig.numberOfThreadsattribute defined at extensionsolrfacetsearch.- Parameters:
value- the numberOfThreads
-
setOptimizeMode
@Accessor(qualifier="optimizeMode", type=SETTER) public void setOptimizeMode(SolrOptimizeMode value)
Generated method - Setter ofSolrIndexConfig.optimizeModeattribute defined at extensionsolrfacetsearch.- Parameters:
value- the optimizeMode
-
-