Class ResponseContext.SerializationResult

java.lang.Object
org.apache.druid.query.context.ResponseContext.SerializationResult
Enclosing class:
ResponseContext

public static class ResponseContext.SerializationResult extends Object
Serialization result of ResponseContext. Response context might be serialized using max length limit, in this case the context might be reduced by removing max-length fields one by one unless serialization result length is less than the limit. This structure has a reduced serialization result along with full result and boolean property indicating if some fields were removed from the context.
  • Constructor Details

    • SerializationResult

      public SerializationResult(@Nullable String truncatedResult, String fullResult)
  • Method Details

    • getResult

      public String getResult()
      Returns the truncated result if it exists otherwise returns the full result.
    • getFullResult

      public String getFullResult()
    • isTruncated

      public boolean isTruncated()