public abstract static class NumberFieldMapper.CustomNumericField
extends org.apache.lucene.document.Field
Modifier and Type | Field and Description |
---|---|
protected NumberFieldMapper |
mapper |
Constructor and Description |
---|
CustomNumericField(NumberFieldMapper mapper,
Number value,
org.apache.lucene.document.FieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
abstract String |
numericAsString() |
Reader |
readerValue() |
String |
stringValue() |
binaryValue, boost, fieldType, name, numericValue, setBoost, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, tokenStream, tokenStreamValue, toString, translateFieldType
protected final NumberFieldMapper mapper
public CustomNumericField(NumberFieldMapper mapper, Number value, org.apache.lucene.document.FieldType fieldType)
public String stringValue()
stringValue
in interface org.apache.lucene.index.IndexableField
stringValue
in class org.apache.lucene.document.Field
public Reader readerValue()
readerValue
in interface org.apache.lucene.index.IndexableField
readerValue
in class org.apache.lucene.document.Field
public abstract String numericAsString()
Copyright © 2009–2015. All rights reserved.