@Immutable protected static class IndexRules.NumericTypedRule<T> extends IndexRules.TypedRule implements IndexRules.NumericRule<T>
Modifier and Type | Field and Description |
---|---|
protected T |
maxValue |
protected T |
minValue |
canBeReference, fullTextSearchable, index, store, type
Modifier | Constructor and Description |
---|---|
protected |
IndexRules.NumericTypedRule(IndexRules.FieldType type,
org.apache.lucene.document.Field.Store store,
org.apache.lucene.document.Field.Index index,
T minValue,
T maxValue) |
Modifier and Type | Method and Description |
---|---|
T |
getMaximum() |
T |
getMinimum() |
String |
toString() |
canBeReference, getIndexOption, getStoreOption, getType, isFullTextSearchable, isSkipped
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canBeReference, getIndexOption, getStoreOption, getType, isFullTextSearchable, isSkipped
protected IndexRules.NumericTypedRule(IndexRules.FieldType type, org.apache.lucene.document.Field.Store store, org.apache.lucene.document.Field.Index index, T minValue, T maxValue)
public T getMaximum()
getMaximum
in interface IndexRules.NumericRule<T>
public T getMinimum()
getMinimum
in interface IndexRules.NumericRule<T>
public String toString()
toString
in class IndexRules.TypedRule
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.