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
idFields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier 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.AsyncOperationResult
getCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setTypeMethods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetIDMethods 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
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
-
getRecordNumericalSummaries
public 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
-
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:
SummarizeRecordsResultinstance, 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:
-