Class FunctionValues.ValueFiller

  extended by org.apache.lucene.queries.function.FunctionValues.ValueFiller
Enclosing class:

public abstract static class FunctionValues.ValueFiller
extends Object

Abstraction of the logic required to fill the value of a specified doc into a reusable MutableValue. Implementations of FunctionValues are encouraged to define their own implementations of ValueFiller if their value is not a float.

WARNING: This API is experimental and might change in incompatible ways in the next release.

Constructor Summary
Method Summary
abstract  void fillValue(int doc)
          MutableValue will be reused across calls.
abstract  MutableValue getValue()
          MutableValue will be reused across calls
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FunctionValues.ValueFiller()
Method Detail


public abstract MutableValue getValue()
MutableValue will be reused across calls


public abstract void fillValue(int doc)
MutableValue will be reused across calls. Returns true if the value exists.

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.