|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.lucene.DatastoreField com.esri.gpt.catalog.lucene.LowerCaseField
public class LowerCaseField
A non-tokenized field stored in lower case allowing case insensitive exact or range comparison.
Constructor Summary | |
---|---|
protected |
LowerCaseField(String name)
Constructs with a supplied name. |
Method Summary | |
---|---|
protected Fieldable |
makeFieldable(Object value)
Makes the fieldable to index. |
protected Query |
makeRangeQuery(String literalLowerValue,
String literalUpperValue,
boolean lowerBoundaryIsInclusive,
boolean upperBoundaryIsInclusive)
Makes a range query. |
protected String |
makeValueToQuery(String value,
boolean isLowerBoundary,
boolean isUpperBoundary)
Make the value to query. |
Methods inherited from class com.esri.gpt.catalog.lucene.DatastoreField |
---|
appendForWrite, getIndexingOption, getName, getStorageOption, getTermVectorOption, makeValueToReturn, setIndexingOption, setName, setStorageOption, setTermVectorOption, sortFieldType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LowerCaseField(String name)
name
- the field nameMethod Detail |
---|
protected Fieldable makeFieldable(Object value)
makeFieldable
in class DatastoreField
value
- the value
protected Query makeRangeQuery(String literalLowerValue, String literalUpperValue, boolean lowerBoundaryIsInclusive, boolean upperBoundaryIsInclusive) throws DiscoveryException
makeRangeQuery
in class DatastoreField
literalLowerValue
- the literal lower boundary valueliteralUpperValue
- the literal upper boundary valuelowerBoundaryIsInclusive
- (>= versus >)upperBoundaryIsInclusive
- (<= versus <)
DiscoveryException
- if the supplied value cannot be convertedprotected String makeValueToQuery(String value, boolean isLowerBoundary, boolean isUpperBoundary) throws DiscoveryException
makeValueToQuery
in class DatastoreField
value
- the input query valueisLowerBoundary
- true if this is a lower boundary of a range queryisUpperBoundary
- true if this is a upper boundary of a range query
DiscoveryException
- if the supplied value cannot be converted
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |