Class TransformContext

java.lang.Object
com.yahoo.searchlib.rankingexpression.transform.TransformContext

public class TransformContext extends Object
Provides a context in which transforms on ranking expressions take place.
Author:
bratseth
  • Constructor Details

    • TransformContext

      public TransformContext(Map<String,Value> constants, com.yahoo.tensor.evaluation.TypeContext<Reference> types)
  • Method Details

    • constants

      public Map<String,Value> constants()
    • types

      public com.yahoo.tensor.evaluation.TypeContext<Reference> types()
      Returns the types known in this context. We may have type information for references for which no value is available