Class TransformContext


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

      Constructors 
      Constructor Description
      TransformContext​(java.util.Map<java.lang.String,​Value> constants, com.yahoo.tensor.evaluation.TypeContext<Reference> types)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​Value> constants()  
      com.yahoo.tensor.evaluation.TypeContext<Reference> types()
      Returns the types known in this context.
      • Methods inherited from class java.lang.Object

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

      • TransformContext

        public TransformContext​(java.util.Map<java.lang.String,​Value> constants,
                                com.yahoo.tensor.evaluation.TypeContext<Reference> types)
    • Method Detail

      • constants

        public java.util.Map<java.lang.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