Package com.smartgwt.client.ai
Class SummarizeRecordsResult
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.util.AsyncOperationResult
com.smartgwt.client.ai.SummarizeRecordsResult
- All Implemented Interfaces:
HasHandlers
The result of a 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SummarizeRecordsResult
getOrCreateRef
(JavaScriptObject jsObj) int[]
If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest is notnumerical
,null
; otherwise: If thevalueClass
is ORDINAL, the 0-based index of the category in the ordered list ofAIFieldRequest.categories
The computed numerical value ..String[]
If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest isnumerical
,null
; otherwise, the generated summaries (text) or unordered categories for the corresponding records of the request.setRecordNumericalSummaries
(int... recordNumericalSummaries) If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest is notnumerical
,null
; otherwise: If thevalueClass
is ORDINAL, the 0-based index of the category in the ordered list ofAIFieldRequest.categories
The computed numerical value ..setRecordSummaries
(String... recordSummaries) If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest isnumerical
,null
; otherwise, the generated summaries (text) or unordered categories for the corresponding records of the request.Methods inherited from class com.smartgwt.client.util.AsyncOperationResult
getCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setType
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
-
SummarizeRecordsResult
public SummarizeRecordsResult() -
SummarizeRecordsResult
-
-
Method Details
-
getOrCreateRef
-
setRecordNumericalSummaries
If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest is notnumerical
,null
; otherwise:- If the
valueClass
is ORDINAL, the 0-based index of the category in the ordered list ofAIFieldRequest.categories
- The computed numerical value
- Parameters:
recordNumericalSummaries
- New recordNumericalSummaries value. Default value is *initialized by the implementation*- Returns:
SummarizeRecordsResult
instance, for chaining setter calls- See Also:
- If the
-
getRecordNumericalSummaries
public int[] getRecordNumericalSummaries()If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest is notnumerical
,null
; otherwise:- If the
valueClass
is ORDINAL, the 0-based index of the category in the ordered list ofAIFieldRequest.categories
- The computed numerical value
- Returns:
- Current recordNumericalSummaries value. Default value is *initialized by the implementation*
- See Also:
- If the
-
setRecordSummaries
If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest isnumerical
,null
; otherwise, the generated summaries (text) or unordered categories for the corresponding records of the request.- Parameters:
recordSummaries
- New recordSummaries value. Default value is *initialized by the implementation*- Returns:
SummarizeRecordsResult
instance, for chaining setter calls- See Also:
-
getRecordSummaries
If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest isnumerical
,null
; otherwise, the generated summaries (text) or unordered categories for the corresponding records of the request.- Returns:
- Current recordSummaries value. Default value is *initialized by the implementation*
- See Also:
-