org.elasticsearch.index.mapper.core
Class LongFieldMapper.CustomLongNumericField

java.lang.Object
  extended by org.apache.lucene.document.AbstractField
      extended by org.elasticsearch.index.mapper.core.NumberFieldMapper.CustomNumericField
          extended by org.elasticsearch.index.mapper.core.LongFieldMapper.CustomLongNumericField
All Implemented Interfaces:
Serializable, org.apache.lucene.document.Fieldable
Enclosing class:
LongFieldMapper

public static class LongFieldMapper.CustomLongNumericField
extends NumberFieldMapper.CustomNumericField

See Also:
Serialized Form

Field Summary
 
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
LongFieldMapper.CustomLongNumericField(NumberFieldMapper mapper, long number)
           
 
Method Summary
 String numericAsString()
           
 org.apache.lucene.analysis.TokenStream tokenStreamValue()
           
 
Methods inherited from class org.elasticsearch.index.mapper.core.NumberFieldMapper.CustomNumericField
readerValue, 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
 

Constructor Detail

LongFieldMapper.CustomLongNumericField

public LongFieldMapper.CustomLongNumericField(NumberFieldMapper mapper,
                                              long number)
Method Detail

tokenStreamValue

public org.apache.lucene.analysis.TokenStream tokenStreamValue()

numericAsString

public String numericAsString()
Specified by:
numericAsString in class NumberFieldMapper.CustomNumericField


Copyright © 2009-2012. All Rights Reserved.