|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dna.search.lucene.IndexRules
@Immutable public class IndexRules
The set of rules that dictate how properties should be indexed.
Nested Class Summary | |
---|---|
static class |
IndexRules.Builder
A builder of immutable IndexRules objects. |
static class |
IndexRules.FieldType
|
static interface |
IndexRules.NumericRule<T>
|
static interface |
IndexRules.Rule
A single rule that dictates how a single property should be indexed. |
Field Summary | |
---|---|
static IndexRules.Rule |
SKIP
|
Method Summary | |
---|---|
static IndexRules.Builder |
createBuilder()
Return a new builder that can be used to create IndexRules objects. |
static IndexRules.Builder |
createBuilder(IndexRules initialRules)
Return a new builder that can be used to create IndexRules objects. |
IndexRules.Rule |
getRule(Name name)
Get the rule associated with the given property name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final IndexRules.Rule SKIP
Method Detail |
---|
public IndexRules.Rule getRule(Name name)
name
- the property name, or null if the default rule is to be returned
public static IndexRules.Builder createBuilder()
IndexRules
objects.
public static IndexRules.Builder createBuilder(IndexRules initialRules)
IndexRules
objects.
initialRules
- the rules that the builder should start with
IllegalArgumentException
- if the initial rules reference is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |