Package 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:
HasHandlers
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SummarizeRecordsContext
getOrCreateRef
(JavaScriptObject jsObj) All partial results thus far.The original request.setPartialResults
(SummarizeRecordsPartialResult... partialResults) All partial results thus far.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
-
Constructor Details
-
SummarizeRecordsContext
public SummarizeRecordsContext() -
SummarizeRecordsContext
-
-
Method Details
-
getOrCreateRef
-
setPartialResults
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
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
The original request.- Parameters:
request
- New request value. Default value is *initialized by the implementation*- Returns:
SummarizeRecordsContext
instance, for chaining setter calls
-
getRequest
The original request.- Returns:
- Current request value. Default value is *initialized by the implementation*
-