public class OakPropertyIndexDefinition extends Object implements IndexDefinition
Constructor and Description |
---|
OakPropertyIndexDefinition(String[] property,
String nodeName)
Creates a Oak PropertyIndex Definition
|
Modifier and Type | Method and Description |
---|---|
boolean |
build(Resource resource)
Creates the IndexDefinition under given resource
|
boolean |
build(Resource resource,
boolean reindex)
Creates the IndexDefinition under given resource and initiates indexing
process
|
void |
setNodeName(String nodeName) |
void |
setProperty(String[] prop) |
public void setNodeName(String nodeName)
public void setProperty(String[] prop)
public boolean build(Resource resource)
build
in interface IndexDefinition
resource
- Resource under which the IndexDefinition is to be
createdpublic boolean build(Resource resource, boolean reindex)
build
in interface IndexDefinition
resource
- Resource under which the IndexDefinition is to be
createdreindex
- Triggers re-indexing process"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"