org.elasticsearch.index.mapper.core
Class NumberFieldMapper.CustomNumericField

java.lang.Object
  extended by org.apache.lucene.document.AbstractField
      extended by org.elasticsearch.index.mapper.core.NumberFieldMapper.CustomNumericField
All Implemented Interfaces:
Serializable, org.apache.lucene.document.Fieldable
Direct Known Subclasses:
ByteFieldMapper.CustomByteNumericField, DoubleFieldMapper.CustomDoubleNumericField, FloatFieldMapper.CustomFloatNumericField, IntegerFieldMapper.CustomIntegerNumericField, LongFieldMapper.CustomLongNumericField, ShortFieldMapper.CustomShortNumericField
Enclosing class:
NumberFieldMapper<T extends Number>

public abstract static class NumberFieldMapper.CustomNumericField
extends org.apache.lucene.document.AbstractField

See Also:
Serialized Form

Field Summary
protected  NumberFieldMapper mapper
           
 
Fields inherited from class org.apache.lucene.document.AbstractField
binaryLength, binaryOffset, boost, fieldsData, indexOptions, isBinary, isIndexed, isStored, isTokenized, lazy, name, omitNorms, storeOffsetWithTermVector, storePositionWithTermVector, storeTermVector, tokenStream
 
Constructor Summary
NumberFieldMapper.CustomNumericField(NumberFieldMapper mapper, byte[] value)
           
 
Method Summary
abstract  String numericAsString()
           
 Reader readerValue()
           
 String stringValue()
           
 
Methods inherited from class org.apache.lucene.document.AbstractField
getBinaryLength, getBinaryOffset, getBinaryValue, getBinaryValue, getBoost, getIndexOptions, getOmitNorms, getOmitTermFreqAndPositions, isBinary, isIndexed, isLazy, isStored, isStoreOffsetWithTermVector, isStorePositionWithTermVector, isTermVectorStored, isTokenized, name, setBoost, setIndexOptions, setOmitNorms, setOmitTermFreqAndPositions, setStoreTermVector, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.lucene.document.Fieldable
tokenStreamValue
 

Field Detail

mapper

protected final NumberFieldMapper mapper
Constructor Detail

NumberFieldMapper.CustomNumericField

public NumberFieldMapper.CustomNumericField(NumberFieldMapper mapper,
                                            byte[] value)
Method Detail

stringValue

public String stringValue()

readerValue

public Reader readerValue()

numericAsString

public abstract String numericAsString()


Copyright © 2009-2012. All Rights Reserved.