public class EsManagedIndexBuilder extends ManagedIndexBuilder
context, defn, matcher, nodeTypesSupplier, workspaceName| Modifier | Constructor and Description |
|---|---|
protected |
EsManagedIndexBuilder(EsClient client,
ExecutionContext context,
IndexDefinition defn,
NodeTypes.Supplier nodeTypesSupplier,
String workspaceName,
ChangeSetAdapter.NodeTypePredicate matcher) |
build, determineActualPropertyType, isMixinTypesIndex, isNodeDepthIndex, isNodeLocalNameIndex, isNodeNameIndex, isNodePathIndex, isPrimaryTypeIndex, isType, matches, matches, nameprotected EsManagedIndexBuilder(EsClient client, ExecutionContext context, IndexDefinition defn, NodeTypes.Supplier nodeTypesSupplier, String workspaceName, ChangeSetAdapter.NodeTypePredicate matcher)
public static EsManagedIndexBuilder create(EsClient client, ExecutionContext context, IndexDefinition defn, NodeTypes.Supplier nodeTypesSupplier, String workspaceName, ChangeSetAdapter.NodeTypePredicate matcher)
client - interface for elasticsearch cluster.context - the execution context in which the index should operate;
may not be nulldefn - the index definition; may not be nullnodeTypesSupplier - the supplier of the NodeTypes instance;
may not be nullworkspaceName - the name of the workspace for which to build the
index; may not be nullmatcher - the node type matcher used to determine which nodes should
be included in the index; may not be nullprotected static void validate(IndexDefinition defn, Problems problems)
defn - the definition to validate; may not be nullproblems - the component to record any problems, errors, or
warnings; may not be nullprotected ProvidedIndex<?> buildMultiValueIndex(ExecutionContext context, IndexDefinition defn, String workspaceName, NodeTypes.Supplier nodeTypesSupplier, ChangeSetAdapter.NodeTypePredicate matcher)
buildMultiValueIndex in class ManagedIndexBuilderprotected ProvidedIndex<?> buildUniqueValueIndex(ExecutionContext context, IndexDefinition defn, String workspaceName, NodeTypes.Supplier nodeTypesSupplier, ChangeSetAdapter.NodeTypePredicate matcher)
buildUniqueValueIndex in class ManagedIndexBuilderprotected ProvidedIndex<?> buildEnumeratedIndex(ExecutionContext context, IndexDefinition defn, String workspaceName, NodeTypes.Supplier nodeTypesSupplier, ChangeSetAdapter.NodeTypePredicate matcher)
buildEnumeratedIndex in class ManagedIndexBuilderprotected ProvidedIndex<?> buildTextIndex(ExecutionContext context, IndexDefinition defn, String workspaceName, NodeTypes.Supplier nodeTypesSupplier, ChangeSetAdapter.NodeTypePredicate matcher)
buildTextIndex in class ManagedIndexBuilderprotected ProvidedIndex<?> buildNodeTypeIndex(ExecutionContext context, IndexDefinition defn, String workspaceName, NodeTypes.Supplier nodeTypesSupplier, ChangeSetAdapter.NodeTypePredicate matcher)
buildNodeTypeIndex in class ManagedIndexBuilderCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.