org.elasticsearch.index.field.data
Class DocFieldData<T extends FieldData>

java.lang.Object
  extended by org.elasticsearch.index.field.data.DocFieldData<T>
Direct Known Subclasses:
GeoPointDocFieldData, NumericDocFieldData, StringDocFieldData

public abstract class DocFieldData<T extends FieldData>
extends Object


Field Summary
protected  int docId
           
protected  T fieldData
           
 
Constructor Summary
protected DocFieldData(T fieldData)
           
 
Method Summary
 String getFieldName()
           
 String getStringValue()
           
 FieldDataType getType()
           
 boolean isEmpty()
           
 boolean isMultiValued()
           
 String stringValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldData

protected final T extends FieldData fieldData

docId

protected int docId
Constructor Detail

DocFieldData

protected DocFieldData(T fieldData)
Method Detail

getFieldName

public String getFieldName()

isEmpty

public boolean isEmpty()

stringValue

public String stringValue()

getStringValue

public String getStringValue()

getType

public FieldDataType getType()

isMultiValued

public boolean isMultiValued()


Copyright © 2009-2012. All Rights Reserved.