Class Bindings

  • Direct Known Subclasses:
    SimpleBindings

    public abstract class Bindings
    extends java.lang.Object
    Binds variable names in expressions to actual data.

    These are typically DocValues fields/FieldCache, the document's relevance score, or other ValueSources.

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Bindings()
      Sole constructor.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract DoubleValuesSource getDoubleValuesSource​(java.lang.String name)
      Returns a DoubleValuesSource bound to the variable name
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Bindings

        protected Bindings()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)
    • Method Detail

      • getDoubleValuesSource

        public abstract DoubleValuesSource getDoubleValuesSource​(java.lang.String name)
        Returns a DoubleValuesSource bound to the variable name