Package org.apache.druid.query.context
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 ofResponseContext
. 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 Summary
Constructors Constructor Description SerializationResult(String truncatedResult, String fullResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFullResult()
String
getResult()
Returns the truncated result if it exists otherwise returns the full result.boolean
isTruncated()
-