org.apache.blur.analysis.type
Class NumericFieldTypeDefinition
java.lang.Object
org.apache.blur.analysis.FieldTypeDefinition
org.apache.blur.analysis.type.NumericFieldTypeDefinition
- Direct Known Subclasses:
- DateFieldTypeDefinition, DoubleFieldTypeDefinition, FloatFieldTypeDefinition, IntFieldTypeDefinition, LongFieldTypeDefinition
public abstract class NumericFieldTypeDefinition
- extends FieldTypeDefinition
Methods inherited from class org.apache.blur.analysis.FieldTypeDefinition |
configure, getAlternateFieldNames, getColumnName, getCustomQuery, getFamily, getFieldsForColumn, getFieldsForSubColumn, getFieldType, getName, getProperties, getSortField, getSubColumnName, isFieldLessIndexed, isSortEnable, setColumnName, setFamily, setFieldLessIndexed, setFieldType, setProperties, setSortEnable, setSubColumnName |
NumericFieldTypeDefinition
public NumericFieldTypeDefinition()
getAnalyzerForIndex
public final org.apache.lucene.analysis.Analyzer getAnalyzerForIndex(String fieldName)
- Description copied from class:
FieldTypeDefinition
- Gets the
Analyzer
for indexing this should be the same for the
querying unless you have a good reason.
- Specified by:
getAnalyzerForIndex
in class FieldTypeDefinition
- Parameters:
fieldName
- the field name to get the analyzer, this could be the base field
name or the alternative.
- Returns:
- the
Analyzer
.
getAnalyzerForQuery
public final org.apache.lucene.analysis.Analyzer getAnalyzerForQuery(String fieldName)
- Description copied from class:
FieldTypeDefinition
- Gets the
Analyzer
for querying this should be the same for the
indexing unless you have a good reason.
- Specified by:
getAnalyzerForQuery
in class FieldTypeDefinition
- Parameters:
fieldName
- the field name to get the analyzer, this could be the base field
name or the alternative.
- Returns:
- the
Analyzer
.
checkSupportForFuzzyQuery
public final boolean checkSupportForFuzzyQuery()
- Specified by:
checkSupportForFuzzyQuery
in class FieldTypeDefinition
checkSupportForWildcardQuery
public final boolean checkSupportForWildcardQuery()
- Specified by:
checkSupportForWildcardQuery
in class FieldTypeDefinition
checkSupportForPrefixQuery
public final boolean checkSupportForPrefixQuery()
- Specified by:
checkSupportForPrefixQuery
in class FieldTypeDefinition
checkSupportForRegexQuery
public final boolean checkSupportForRegexQuery()
- Specified by:
checkSupportForRegexQuery
in class FieldTypeDefinition
isNumeric
public final boolean isNumeric()
- Specified by:
isNumeric
in class FieldTypeDefinition
checkSupportForCustomQuery
public final boolean checkSupportForCustomQuery()
- Specified by:
checkSupportForCustomQuery
in class FieldTypeDefinition
checkSupportForSorting
public boolean checkSupportForSorting()
- Specified by:
checkSupportForSorting
in class FieldTypeDefinition
getNewRangeQuery
public abstract org.apache.lucene.search.Query getNewRangeQuery(String field,
String part1,
String part2,
boolean startInclusive,
boolean endInclusive)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.