org.modeshape.jcr.query
Class IndexRules.TypedRule
java.lang.Object
org.modeshape.jcr.query.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
isSkipped
public boolean isSkipped()
- Specified by:
isSkipped
in interface IndexRules.Rule
isFullTextSearchable
public boolean isFullTextSearchable()
- Specified by:
isFullTextSearchable
in interface IndexRules.Rule
canBeReference
public boolean canBeReference()
- Specified by:
canBeReference
in interface IndexRules.Rule
getIndexOption
public org.apache.lucene.document.Field.Index getIndexOption()
- Specified by:
getIndexOption
in interface IndexRules.Rule
getStoreOption
public org.apache.lucene.document.Field.Store getStoreOption()
- Specified by:
getStoreOption
in interface IndexRules.Rule
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.