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, translateFieldTypeprotected 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.IndexableFieldstringValue in class org.apache.lucene.document.Fieldpublic Reader readerValue()
readerValue in interface org.apache.lucene.index.IndexableFieldreaderValue in class org.apache.lucene.document.Fieldpublic abstract String numericAsString()
Copyright © 2009–2016. All rights reserved.