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 SummaryFields inherited from class com.smartgwt.client.core.RefDataClassidFields inherited from class com.smartgwt.client.core.DataClassfactoryCreated, factoryProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic SummarizeRecordsResultgetOrCreateRef(JavaScriptObject jsObj) int[]If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest is notnumerical,null; otherwise: If thevalueClassis ORDINAL, the 0-based index of the category in the ordered list ofAIFieldRequest.categoriesThe 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 thevalueClassis ORDINAL, the 0-based index of the category in the ordered list ofAIFieldRequest.categoriesThe 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.AsyncOperationResultgetCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setTypeMethods inherited from class com.smartgwt.client.core.RefDataClassgetRef, getRef, internalSetIDMethods inherited from class com.smartgwt.client.core.DataClassapplyFactoryProperties, 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- 
SummarizeRecordsResultpublic SummarizeRecordsResult()
- 
SummarizeRecordsResult
 
- 
- 
Method Details- 
getOrCreateRef
- 
setRecordNumericalSummariesIf any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest is notnumerical,null; otherwise:- If the
 valueClassis 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:
- SummarizeRecordsResultinstance, for chaining setter calls
- See Also:
 
- If the
 
- 
getRecordNumericalSummariespublic int[] getRecordNumericalSummaries()If any batch is non-successful or the SummarizeRecordsRequest.aiFieldRequest is notnumerical,null; otherwise:- If the
 valueClassis 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
 
- 
setRecordSummariesIf 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:
- SummarizeRecordsResultinstance, for chaining setter calls
- See Also:
 
- 
getRecordSummariesIf 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:
 
 
-