public class SummarizeRecordsResult extends AsyncOperationResult
id
factoryCreated, factoryProperties
Constructor and Description |
---|
SummarizeRecordsResult() |
SummarizeRecordsResult(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
static SummarizeRecordsResult |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
SummarizeRecordsPartialResult[] |
getPartialResults()
All partial results.
|
int[] |
getRecordNumericalSummaries()
If any batch is non-successful or the
SummarizeRecordsRequest.aiFieldRequest is not numerical ,
null ; otherwise: If the valueClass is ORDINAL, the 0-based index of the category
in the ordered list of AIFieldRequest.categories The
computed numerical value .. |
java.lang.String[] |
getRecordSummaries()
If any batch is non-successful or the
SummarizeRecordsRequest.aiFieldRequest is numerical ,
null ; otherwise, the generated summaries (text) or unordered categories for the corresponding records of the request . |
SummarizeRecordsResult |
setPartialResults(SummarizeRecordsPartialResult... partialResults)
All partial results.
|
SummarizeRecordsResult |
setRecordNumericalSummaries(int... recordNumericalSummaries)
If any batch is non-successful or the
SummarizeRecordsRequest.aiFieldRequest is not numerical ,
null ; otherwise: If the valueClass is ORDINAL, the 0-based index of the category
in the ordered list of AIFieldRequest.categories The
computed numerical value .. |
SummarizeRecordsResult |
setRecordSummaries(java.lang.String... recordSummaries)
If any batch is non-successful or the
SummarizeRecordsRequest.aiFieldRequest is numerical ,
null ; otherwise, the generated summaries (text) or unordered categories for the corresponding records of the request . |
getCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setType
getRef, getRef, internalSetID
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
public SummarizeRecordsResult()
public SummarizeRecordsResult(com.google.gwt.core.client.JavaScriptObject jsObj)
public static SummarizeRecordsResult getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public SummarizeRecordsResult setPartialResults(SummarizeRecordsPartialResult... partialResults)
SummarizeRecordsPartialResult
covering
each record
of the request
. Note: there may be no
SummarizeRecordsPartialResult
for a record if the record summarization operation is canceled or fails
early. The order of SummarizeRecordsPartialResult
objects in the array is unspecified.
This
property may be null
if an error occurs early.
partialResults
- New partialResults value. Default value is *initialized by the implementation*SummarizeRecordsResult
instance, for chaining setter callspublic SummarizeRecordsPartialResult[] getPartialResults()
SummarizeRecordsPartialResult
covering
each record
of the request
. Note: there may be no
SummarizeRecordsPartialResult
for a record if the record summarization operation is canceled or fails
early. The order of SummarizeRecordsPartialResult
objects in the array is unspecified.
This
property may be null
if an error occurs early.
public SummarizeRecordsResult setRecordNumericalSummaries(int... recordNumericalSummaries)
SummarizeRecordsRequest.aiFieldRequest
is not numerical
,
null
; otherwise: valueClass
is ORDINAL, the 0-based index of the category
in the ordered list of AIFieldRequest.categories
records
of the request
.recordNumericalSummaries
- New recordNumericalSummaries value. Default value is *initialized by the implementation*SummarizeRecordsResult
instance, for chaining setter callssetRecordSummaries(java.lang.String...)
public int[] getRecordNumericalSummaries()
SummarizeRecordsRequest.aiFieldRequest
is not numerical
,
null
; otherwise: valueClass
is ORDINAL, the 0-based index of the category
in the ordered list of AIFieldRequest.categories
records
of the request
.getRecordSummaries()
public SummarizeRecordsResult setRecordSummaries(java.lang.String... recordSummaries)
SummarizeRecordsRequest.aiFieldRequest
is numerical
,
null
; otherwise, the generated summaries (text) or unordered categories for the corresponding records
of the request
.recordSummaries
- New recordSummaries value. Default value is *initialized by the implementation*SummarizeRecordsResult
instance, for chaining setter callssetRecordNumericalSummaries(int...)
public java.lang.String[] getRecordSummaries()
SummarizeRecordsRequest.aiFieldRequest
is numerical
,
null
; otherwise, the generated summaries (text) or unordered categories for the corresponding records
of the request
.getRecordNumericalSummaries()