com.smartgwt.client.ai

## Class SummarizeRecordsContext

- java.lang.Object
- - com.smartgwt.client.core.JsObject
  - - com.smartgwt.client.core.DataClass
    - - com.smartgwt.client.core.RefDataClass
      - - com.smartgwt.client.util.AsyncOperationContext
        - - com.smartgwt.client.ai.SummarizeRecordsContext

- All Implemented Interfaces:
    com.google.gwt.event.shared.HasHandlers

      public class SummarizeRecordsContext
      extends AsyncOperationContext

  Context for an ongoing record summarization operation.

- - ### Field Summary

    - ### Fields inherited from class com.smartgwt.client.core.RefDataClass

      `id`

    - ### Fields inherited from class com.smartgwt.client.core.DataClass

      `factoryCreated, factoryProperties`

    - ### Fields inherited from class com.smartgwt.client.core.JsObject

      `jsObj`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SummarizeRecordsContext()`
    `SummarizeRecordsContext(com.google.gwt.core.client.JavaScriptObject jsObj)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SummarizeRecordsContext` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `SummarizeRecordsPartialResult[]` | `getPartialResults()` All partial results thus far.
    `SummarizeRecordsRequest` | `getRequest()` The original request.
    `SummarizeRecordsContext` | `setPartialResults(SummarizeRecordsPartialResult... partialResults)` All partial results thus far.
    `SummarizeRecordsContext` | `setRequest(SummarizeRecordsRequest request)` The original request.

    - ### Methods inherited from class com.smartgwt.client.util.AsyncOperationContext

      `getCancellationController, setCancellationController`

    - ### Methods inherited from class com.smartgwt.client.core.RefDataClass

      `getRef, getRef, internalSetID`

    - ### Methods inherited from class com.smartgwt.client.core.DataClass

      `applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated`

    - ### Methods inherited from class com.smartgwt.client.core.JsObject

      `equals, getJsObj, hashCode, isCreated, setJavaScriptObject, setJsObj`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SummarizeRecordsContext

          public SummarizeRecordsContext()

    - #### SummarizeRecordsContext

          public SummarizeRecordsContext(com.google.gwt.core.client.JavaScriptObject jsObj)

  - ### Method Detail

    - #### getOrCreateRef

          public static SummarizeRecordsContext getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### setPartialResults

          public SummarizeRecordsContext setPartialResults(SummarizeRecordsPartialResult... partialResults)

      All partial results thus far.

      The order of `SummarizeRecordsPartialResult` objects in the array is unspecified.

      Parameters:
        `partialResults` - New partialResults value. Default value is *initialized by the implementation*
      Returns:
        `SummarizeRecordsContext` instance, for chaining setter calls

    - #### getPartialResults

          public SummarizeRecordsPartialResult[] getPartialResults()

      All partial results thus far.

      The order of `SummarizeRecordsPartialResult` objects in the array is unspecified.

      Returns:
        Current partialResults value. Default value is *initialized by the implementation*

    - #### setRequest

          public SummarizeRecordsContext setRequest(SummarizeRecordsRequest request)

      The original request.
      Parameters:
        `request` - New request value. Default value is *initialized by the implementation*
      Returns:
        `SummarizeRecordsContext` instance, for chaining setter calls

    - #### getRequest

          public SummarizeRecordsRequest getRequest()

      The original request.
      Returns:
        Current request value. Default value is *initialized by the implementation*