Class SchemaInfo.Session

java.lang.Object
com.yahoo.search.schema.SchemaInfo.Session
Enclosing class:
SchemaInfo

public static class SchemaInfo.Session extends Object
The schema information resolved to be relevant to this session.
  • Method Details

    • rankProfileInput

      public com.yahoo.tensor.TensorType rankProfileInput(String rankFeature, String rankProfile)
      Returns the type of the given rank feature name in the given profile, if it can be uniquely determined.
      Parameters:
      rankFeature - the rank feature name, a string on the form "query(name)"
      rankProfile - the name of the rank profile in which to locate the input declaration
      Returns:
      the type of the declared input, or null if it is not declared or the rank profile is not found
      Throws:
      IllegalArgumentException - if the feature is declared in this rank profile in multiple schemas of this session with conflicting types