public static class AbstractCollectionRegistrar.CollectionToCreate
extends java.lang.Object
| Constructor and Description |
|---|
CollectionToCreate(java.lang.String collectionName,
com.lucidworks.apollo.common.models.Collection.CollectionType collectionType,
java.lang.Integer commitWithin,
java.lang.String searchClusterConfigPrefix,
java.lang.String configPrefix,
java.util.List<java.lang.String> features,
boolean createPipelines,
java.util.function.Supplier<java.lang.Boolean> shouldCreate) |
CollectionToCreate(java.lang.String collectionName,
com.lucidworks.apollo.common.models.Collection.CollectionType collectionType,
java.lang.String searchClusterConfigPrefix,
java.lang.String configPrefix,
java.util.List<java.lang.String> features,
boolean createPipelines,
java.util.function.Supplier<java.lang.Boolean> shouldCreate) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
public CollectionToCreate(java.lang.String collectionName,
com.lucidworks.apollo.common.models.Collection.CollectionType collectionType,
java.lang.String searchClusterConfigPrefix,
java.lang.String configPrefix,
java.util.List<java.lang.String> features,
boolean createPipelines,
java.util.function.Supplier<java.lang.Boolean> shouldCreate)
collectionName - The name of the collection to be createdsearchClusterConfigPrefix - configPrefix - The config prefix that any collection-specific configuration should be underfeatures - The collection features to enable for this collectioncreatePipelines - should we create the default pipelines for this collection?shouldCreate - A predicate indicating whether we should actually create the collection, allows
for disabling at runtime (perhaps via configuration?). Can be null (defaults to
"true").public CollectionToCreate(java.lang.String collectionName,
com.lucidworks.apollo.common.models.Collection.CollectionType collectionType,
java.lang.Integer commitWithin,
java.lang.String searchClusterConfigPrefix,
java.lang.String configPrefix,
java.util.List<java.lang.String> features,
boolean createPipelines,
java.util.function.Supplier<java.lang.Boolean> shouldCreate)