@Deprecated public class OakPropertyIndexDefinition extends java.lang.Object implements IndexDefinition
Constructor and Description |
---|
OakPropertyIndexDefinition(java.lang.String[] property,
java.lang.String nodeName)
Deprecated.
Creates a Oak PropertyIndex Definition
|
Modifier and Type | Method and Description |
---|---|
boolean |
build(Resource resource)
Deprecated.
Creates the IndexDefinition under given resource
|
boolean |
build(Resource resource,
boolean reindex)
Deprecated.
Creates the IndexDefinition under given resource and initiates indexing
process
|
void |
setNodeName(java.lang.String nodeName)
Deprecated.
|
void |
setProperty(java.lang.String[] prop)
Deprecated.
|
public OakPropertyIndexDefinition(java.lang.String[] property, java.lang.String nodeName)
property
- property to indexnodeName
- PropertyDefinition node namepublic void setNodeName(java.lang.String nodeName)
public void setProperty(java.lang.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 processCopyright © 2010 - 2020 Adobe. All Rights Reserved