Package org.apache.druid.query.context
Class ResponseContext.SerializationResult
java.lang.Object
org.apache.druid.query.context.ResponseContext.SerializationResult
- Enclosing class:
- ResponseContext
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the truncated result if it exists otherwise returns the full result.boolean
-
Constructor Details
-
SerializationResult
-
-
Method Details
-
getResult
Returns the truncated result if it exists otherwise returns the full result. -
getFullResult
-
isTruncated
public boolean isTruncated()
-