test_class.declarator: builder = new IndexDefinitionBuilder()
test_class.modifier: private
test_class.original_string: private IndexDefinitionBuilder builder = new IndexDefinitionBuilder();
test_class.type: IndexDefinitionBuilder
test_class.var_name: builder
test_class.declarator: nodeBuilder = EMPTY_NODE.builder()
test_class.modifier: private
test_class.original_string: private NodeBuilder nodeBuilder = EMPTY_NODE.builder();
test_class.type: NodeBuilder
test_class.var_name: nodeBuilder
test_class.file: oak-search/src/test/java/org/apache/jackrabbit/oak/plugins/index/search/util/IndexDefinitionBuilderTest.java
test_class.identifier: IndexDefinitionBuilderTest
test_case.body: @Test
      public void mergeExisting() throws Exception{
          nodeBuilder.setProperty("foo", "bar");
          builder = new IndexDefinitionBuilder(nodeBuilder);
  
          NodeState state = builder.build();
          assertEquals("bar", state.getString("foo"));
          assertEquals("async", state.getString("async"));
      }
test_case.class_method_signature: IndexDefinitionBuilderTest.mergeExisting()
test_case.full_signature: @Test public void mergeExisting()
test_case.identifier: mergeExisting
test_case.invocations: setProperty build assertEquals getString assertEquals getString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void mergeExisting()
focal_class.declarator: builder
focal_class.modifier: private final
focal_class.original_string: private final NodeBuilder builder;
focal_class.type: NodeBuilder
focal_class.var_name: builder
focal_class.declarator: tree
focal_class.modifier: private final
focal_class.original_string: private final Tree tree;
focal_class.type: Tree
focal_class.var_name: tree
focal_class.declarator: rules = Maps.newHashMap()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, IndexRule> rules = Maps.newHashMap();
focal_class.type: Map<String, IndexRule>
focal_class.var_name: rules
focal_class.declarator: aggRules = Maps.newHashMap()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, AggregateRule> aggRules = Maps.newHashMap();
focal_class.type: Map<String, AggregateRule>
focal_class.var_name: aggRules
focal_class.declarator: indexRule
focal_class.modifier: private final
focal_class.original_string: private final Tree indexRule;
focal_class.type: Tree
focal_class.var_name: indexRule
focal_class.declarator: autoManageReindexFlag
focal_class.modifier: private final
focal_class.original_string: private final boolean autoManageReindexFlag;
focal_class.type: boolean
focal_class.var_name: autoManageReindexFlag
focal_class.declarator: aggregatesTree
focal_class.modifier: private
focal_class.original_string: private Tree aggregatesTree;
focal_class.type: Tree
focal_class.var_name: aggregatesTree
focal_class.declarator: initial
focal_class.modifier: private final
focal_class.original_string: private final NodeState initial;
focal_class.type: NodeState
focal_class.var_name: initial
focal_class.declarator: reindexRequired
focal_class.modifier: private
focal_class.original_string: private boolean reindexRequired;
focal_class.type: boolean
focal_class.var_name: reindexRequired
focal_class.file: oak-search/src/main/java/org/apache/jackrabbit/oak/plugins/index/search/util/IndexDefinitionBuilder.java
focal_class.identifier: IndexDefinitionBuilder
focal_class.class_method_signature: IndexDefinitionBuilder.IndexDefinitionBuilder()
focal_class.full_signature: public  IndexDefinitionBuilder()
focal_class.identifier: IndexDefinitionBuilder
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  IndexDefinitionBuilder()
focal_class.class_method_signature: IndexDefinitionBuilder.IndexDefinitionBuilder(NodeBuilder nodeBuilder)
focal_class.full_signature: public  IndexDefinitionBuilder(NodeBuilder nodeBuilder)
focal_class.identifier: IndexDefinitionBuilder
focal_class.modifiers: public
focal_class.parameters: (NodeBuilder nodeBuilder)
focal_class.signature:  IndexDefinitionBuilder(NodeBuilder nodeBuilder)
focal_class.class_method_signature: IndexDefinitionBuilder.IndexDefinitionBuilder(NodeBuilder nodeBuilder, boolean autoManageReindexFlag)
focal_class.full_signature: public  IndexDefinitionBuilder(NodeBuilder nodeBuilder, boolean autoManageReindexFlag)
focal_class.identifier: IndexDefinitionBuilder
focal_class.modifiers: public
focal_class.parameters: (NodeBuilder nodeBuilder, boolean autoManageReindexFlag)
focal_class.signature:  IndexDefinitionBuilder(NodeBuilder nodeBuilder, boolean autoManageReindexFlag)
focal_class.class_method_signature: IndexDefinitionBuilder.evaluatePathRestrictions()
focal_class.full_signature: public IndexDefinitionBuilder evaluatePathRestrictions()
focal_class.identifier: evaluatePathRestrictions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder evaluatePathRestrictions()
focal_class.class_method_signature: IndexDefinitionBuilder.includedPaths(String... paths)
focal_class.full_signature: public IndexDefinitionBuilder includedPaths(String... paths)
focal_class.identifier: includedPaths
focal_class.modifiers: public
focal_class.parameters: (String... paths)
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder includedPaths(String... paths)
focal_class.class_method_signature: IndexDefinitionBuilder.excludedPaths(String... paths)
focal_class.full_signature: public IndexDefinitionBuilder excludedPaths(String... paths)
focal_class.identifier: excludedPaths
focal_class.modifiers: public
focal_class.parameters: (String... paths)
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder excludedPaths(String... paths)
focal_class.class_method_signature: IndexDefinitionBuilder.queryPaths(String... paths)
focal_class.full_signature: public IndexDefinitionBuilder queryPaths(String... paths)
focal_class.identifier: queryPaths
focal_class.modifiers: public
focal_class.parameters: (String... paths)
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder queryPaths(String... paths)
focal_class.class_method_signature: IndexDefinitionBuilder.supersedes(String... paths)
focal_class.full_signature: public IndexDefinitionBuilder supersedes(String... paths)
focal_class.identifier: supersedes
focal_class.modifiers: public
focal_class.parameters: (String... paths)
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder supersedes(String... paths)
focal_class.class_method_signature: IndexDefinitionBuilder.noAsync()
focal_class.full_signature: public IndexDefinitionBuilder noAsync()
focal_class.identifier: noAsync
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder noAsync()
focal_class.class_method_signature: IndexDefinitionBuilder.deprecated()
focal_class.full_signature: public IndexDefinitionBuilder deprecated()
focal_class.identifier: deprecated
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder deprecated()
focal_class.class_method_signature: IndexDefinitionBuilder.async(String... asyncVals)
focal_class.full_signature: public IndexDefinitionBuilder async(String... asyncVals)
focal_class.identifier: async
focal_class.modifiers: public
focal_class.parameters: (String... asyncVals)
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder async(String... asyncVals)
focal_class.class_method_signature: IndexDefinitionBuilder.tags(String... tagVals)
focal_class.full_signature: public IndexDefinitionBuilder tags(String... tagVals)
focal_class.identifier: tags
focal_class.modifiers: public
focal_class.parameters: (String... tagVals)
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder tags(String... tagVals)
focal_class.class_method_signature: IndexDefinitionBuilder.codec(String codecName)
focal_class.full_signature: public IndexDefinitionBuilder codec(String codecName)
focal_class.identifier: codec
focal_class.modifiers: public
focal_class.parameters: (String codecName)
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder codec(String codecName)
focal_class.class_method_signature: IndexDefinitionBuilder.mergePolicy(String mergePolicy)
focal_class.full_signature: public IndexDefinitionBuilder mergePolicy(String mergePolicy)
focal_class.identifier: mergePolicy
focal_class.modifiers: public
focal_class.parameters: (String mergePolicy)
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder mergePolicy(String mergePolicy)
focal_class.class_method_signature: IndexDefinitionBuilder.addTags(String... additionalTagVals)
focal_class.full_signature: public IndexDefinitionBuilder addTags(String... additionalTagVals)
focal_class.identifier: addTags
focal_class.modifiers: public
focal_class.parameters: (String... additionalTagVals)
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder addTags(String... additionalTagVals)
focal_class.class_method_signature: IndexDefinitionBuilder.nodeTypeIndex()
focal_class.full_signature: public IndexDefinitionBuilder nodeTypeIndex()
focal_class.identifier: nodeTypeIndex
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: IndexDefinitionBuilder
focal_class.signature: IndexDefinitionBuilder nodeTypeIndex()
focal_class.class_method_signature: IndexDefinitionBuilder.getBuilderTree()
focal_class.full_signature: public Tree getBuilderTree()
focal_class.identifier: getBuilderTree
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Tree
focal_class.signature: Tree getBuilderTree()
focal_class.class_method_signature: IndexDefinitionBuilder.build()
focal_class.full_signature: public NodeState build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: NodeState
focal_class.signature: NodeState build()
focal_class.class_method_signature: IndexDefinitionBuilder.build(Tree tree)
focal_class.full_signature: public Tree build(Tree tree)
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: (Tree tree)
focal_class.return: Tree
focal_class.signature: Tree build(Tree tree)
focal_class.class_method_signature: IndexDefinitionBuilder.build(Node node)
focal_class.full_signature: public Node build(Node node)
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: (Node node)
focal_class.return: Node
focal_class.signature: Node build(Node node)
focal_class.class_method_signature: IndexDefinitionBuilder.isReindexRequired()
focal_class.full_signature: public boolean isReindexRequired()
focal_class.identifier: isReindexRequired
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isReindexRequired()
focal_class.class_method_signature: IndexDefinitionBuilder.setReindexFlagIfRequired()
focal_class.full_signature: private void setReindexFlagIfRequired()
focal_class.identifier: setReindexFlagIfRequired
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setReindexFlagIfRequired()
focal_class.class_method_signature: IndexDefinitionBuilder.setRefreshFlagIfRequired()
focal_class.full_signature: private void setRefreshFlagIfRequired()
focal_class.identifier: setRefreshFlagIfRequired
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setRefreshFlagIfRequired()
focal_class.class_method_signature: IndexDefinitionBuilder.setType()
focal_class.full_signature: private void setType()
focal_class.identifier: setType
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setType()
focal_class.class_method_signature: IndexDefinitionBuilder.getIndexType()
focal_class.full_signature: protected String getIndexType()
focal_class.identifier: getIndexType
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getIndexType()
focal_class.class_method_signature: IndexDefinitionBuilder.indexRule(String type)
focal_class.full_signature: public IndexRule indexRule(String type)
focal_class.identifier: indexRule
focal_class.modifiers: public
focal_class.parameters: (String type)
focal_class.return: IndexRule
focal_class.signature: IndexRule indexRule(String type)
focal_class.class_method_signature: IndexDefinitionBuilder.hasIndexRule(String type)
focal_class.full_signature: public boolean hasIndexRule(String type)
focal_class.identifier: hasIndexRule
focal_class.modifiers: public
focal_class.parameters: (String type)
focal_class.return: boolean
focal_class.signature: boolean hasIndexRule(String type)
focal_class.class_method_signature: IndexDefinitionBuilder.aggregateRule(String type)
focal_class.full_signature: public AggregateRule aggregateRule(String type)
focal_class.identifier: aggregateRule
focal_class.modifiers: public
focal_class.parameters: (String type)
focal_class.return: AggregateRule
focal_class.signature: AggregateRule aggregateRule(String type)
focal_class.class_method_signature: IndexDefinitionBuilder.aggregateRule(String primaryType, String... includes)
focal_class.full_signature: public AggregateRule aggregateRule(String primaryType, String... includes)
focal_class.identifier: aggregateRule
focal_class.modifiers: public
focal_class.parameters: (String primaryType, String... includes)
focal_class.return: AggregateRule
focal_class.signature: AggregateRule aggregateRule(String primaryType, String... includes)
focal_class.class_method_signature: IndexDefinitionBuilder.getOrCreateChild(Tree tree, String name)
focal_class.full_signature: private static Tree getOrCreateChild(Tree tree, String name)
focal_class.identifier: getOrCreateChild
focal_class.modifiers: private static
focal_class.parameters: (Tree tree, String name)
focal_class.return: Tree
focal_class.signature: Tree getOrCreateChild(Tree tree, String name)
focal_class.class_method_signature: IndexDefinitionBuilder.getSafePropName(String relativePropName)
focal_class.full_signature: static String getSafePropName(String relativePropName)
focal_class.identifier: getSafePropName
focal_class.modifiers: static
focal_class.parameters: (String relativePropName)
focal_class.return: String
focal_class.signature: String getSafePropName(String relativePropName)
focal_method.body: public NodeState build() {
          // make sure to check for reindex required before checking for refresh as refresh optimizes a bit using
          // that assumption (we have tests that fail if the order is swapped btw)
          setReindexFlagIfRequired();
          setRefreshFlagIfRequired();
          return builder.getNodeState();
      }
focal_method.class_method_signature: IndexDefinitionBuilder.build()
focal_method.full_signature: public NodeState build()
focal_method.identifier: build
focal_method.invocations: setReindexFlagIfRequired setRefreshFlagIfRequired getNodeState
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: NodeState
focal_method.signature: NodeState build()