org.modeshape.search.lucene
Class IndexRules.TypedRule
java.lang.Object
org.modeshape.search.lucene.IndexRules.TypedRule
- All Implemented Interfaces:
- IndexRules.Rule
- Direct Known Subclasses:
- IndexRules.NumericTypedRule
- Enclosing class:
- IndexRules
@Immutable
protected static class IndexRules.TypedRule
- extends Object
- implements IndexRules.Rule
Constructor Summary |
protected |
IndexRules.TypedRule(IndexRules.FieldType type,
org.apache.lucene.document.Field.Store store,
org.apache.lucene.document.Field.Index index,
boolean canBeReference,
boolean fullTextSearchable)
|
canBeReference
protected final boolean canBeReference
fullTextSearchable
protected final boolean fullTextSearchable
type
protected final IndexRules.FieldType type
store
protected final org.apache.lucene.document.Field.Store store
index
protected final org.apache.lucene.document.Field.Index index
IndexRules.TypedRule
protected IndexRules.TypedRule(IndexRules.FieldType type,
org.apache.lucene.document.Field.Store store,
org.apache.lucene.document.Field.Index index,
boolean canBeReference,
boolean fullTextSearchable)
getType
public IndexRules.FieldType getType()
-
- Specified by:
getType
in interface IndexRules.Rule
- See Also:
IndexRules.Rule.getType()
isSkipped
public boolean isSkipped()
-
- Specified by:
isSkipped
in interface IndexRules.Rule
- See Also:
IndexRules.Rule.isSkipped()
isFullTextSearchable
public boolean isFullTextSearchable()
-
- Specified by:
isFullTextSearchable
in interface IndexRules.Rule
- See Also:
IndexRules.Rule.isFullTextSearchable()
canBeReference
public boolean canBeReference()
-
- Specified by:
canBeReference
in interface IndexRules.Rule
- See Also:
IndexRules.Rule.canBeReference()
getIndexOption
public org.apache.lucene.document.Field.Index getIndexOption()
-
- Specified by:
getIndexOption
in interface IndexRules.Rule
- See Also:
IndexRules.Rule.getIndexOption()
getStoreOption
public org.apache.lucene.document.Field.Store getStoreOption()
-
- Specified by:
getStoreOption
in interface IndexRules.Rule
- See Also:
IndexRules.Rule.getStoreOption()
toString
public String toString()
-
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.