Class FieldGenerator.Context

Enclosing interface:
FieldGenerator

public static class FieldGenerator.Context extends InvocationContext<FieldGenerator.Context>
  • Constructor Details

    • Context

      public Context(String destination, com.yahoo.document.DataType targetType)
    • Context

      public Context(String destination, com.yahoo.document.DataType targetType, Map<Object,Object> cache)
      Parameters:
      destination - the name of the recipient of the generated output
      cache - a cache shared between all generate invocations for a single request
  • Method Details

    • getTargetType

      public com.yahoo.document.DataType getTargetType()
      Returns the target type of the generated content.