public class PropertyDefinition extends Object
Modifier and Type | Field and Description |
---|---|
String |
name
Property name.
|
boolean |
sync |
boolean |
unique |
boolean |
useInSimilarity |
org.apache.jackrabbit.oak.plugins.index.property.ValuePattern |
valuePattern |
Constructor and Description |
---|
PropertyDefinition(IndexDefinition.IndexingRule idxDefn,
String nodeName,
org.apache.jackrabbit.oak.spi.state.NodeState defn) |
Modifier and Type | Method and Description |
---|---|
boolean |
fulltextEnabled() |
int |
getType()
Returns the property type.
|
boolean |
includePropertyType(int type) |
boolean |
isTypeDefined() |
boolean |
propertyIndexEnabled() |
boolean |
skipTokenization(String propertyName)
If 'analyzed' is enabled then property value would be used to evaluate the
contains clause related to those properties.
|
String |
toString() |
public final String name
public final org.apache.jackrabbit.oak.plugins.index.property.ValuePattern valuePattern
public final boolean sync
public final boolean unique
public boolean useInSimilarity
public PropertyDefinition(IndexDefinition.IndexingRule idxDefn, String nodeName, org.apache.jackrabbit.oak.spi.state.NodeState defn)
public boolean skipTokenization(String propertyName)
propertyName
- name of the property to check. As property definition might
be regEx based this is required to be passed explicitlypublic boolean fulltextEnabled()
public boolean propertyIndexEnabled()
public boolean isTypeDefined()
public int getType()
PropertyType.STRING
public boolean includePropertyType(int type)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.