Class FieldCacheSource
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.lucene.queries.function.valuesource.FieldCacheSource
-
- Direct Known Subclasses:
ByteFieldSource
,BytesRefFieldSource
,DoubleFieldSource
,EnumFieldSource
,FloatFieldSource
,IntFieldSource
,JoinDocFreqValueSource
,LongFieldSource
,ShortFieldSource
public abstract class FieldCacheSource extends ValueSource
A base class for ValueSource implementations that retrieve values for a single field from theFieldCache
.
-
-
Constructor Summary
Constructors Constructor Description FieldCacheSource(java.lang.String field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
description()
description of field, used in explain()boolean
equals(java.lang.Object o)
java.lang.String
getField()
FieldCache
getFieldCache()
int
hashCode()
-
Methods inherited from class org.apache.lucene.queries.function.ValueSource
createWeight, getSortField, getValues, newContext, toString
-
-
-
-
Method Detail
-
getFieldCache
public FieldCache getFieldCache()
-
getField
public java.lang.String getField()
-
description
public java.lang.String description()
Description copied from class:ValueSource
description of field, used in explain()- Specified by:
description
in classValueSource
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in classValueSource
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classValueSource
-
-