public class AIFieldRequest extends SingleSourceAIRequest
id
factoryCreated, factoryProperties
Constructor and Description |
---|
AIFieldRequest() |
AIFieldRequest(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getCategories()
If the
valueClass is CATEGORICAL or ORDINAL, the list of
available categories. |
java.lang.Integer |
getMaxRecordsPerBatch()
When generating values for a list of records that are split into batches, the maximum number of records per batch.
|
java.lang.Integer |
getMaxValue()
If the
valueClass is INTERVAL or RATIO, the maximum value
that can be generated. |
java.lang.Integer |
getMinValue()
If the
valueClass is INTERVAL or RATIO, the minimum value
that can be generated. |
static AIFieldRequest |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String[] |
getRelevantFieldNames()
The names of fields that are relevant to each
SummarizeRecordsRequest . |
ValueClass |
getValueClass()
The class of value that AI will be asked to generate for the field.
|
AIFieldRequest |
setCategories(java.lang.String... categories)
If the
valueClass is CATEGORICAL or ORDINAL, the list of
available categories. |
AIFieldRequest |
setMaxRecordsPerBatch(java.lang.Integer maxRecordsPerBatch)
When generating values for a list of records that are split into batches, the maximum number of records per batch.
|
AIFieldRequest |
setMaxValue(java.lang.Integer maxValue)
If the
valueClass is INTERVAL or RATIO, the maximum value
that can be generated. |
AIFieldRequest |
setMinValue(java.lang.Integer minValue)
If the
valueClass is INTERVAL or RATIO, the minimum value
that can be generated. |
AIFieldRequest |
setRelevantFieldNames(java.lang.String... relevantFieldNames)
The names of fields that are relevant to each
SummarizeRecordsRequest . |
AIFieldRequest |
setValueClass(ValueClass valueClass)
The class of value that AI will be asked to generate for the field.
|
getAdditionalMessages, getPrompt, getPromptType, setAdditionalMessages, setPrompt, setPromptType
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 AIFieldRequest()
public AIFieldRequest(com.google.gwt.core.client.JavaScriptObject jsObj)
public static AIFieldRequest getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public AIFieldRequest setCategories(java.lang.String... categories)
valueClass
is CATEGORICAL or ORDINAL, the list of
available categories.categories
- New categories value. Default value is nullAIFieldRequest
instance, for chaining setter callspublic java.lang.String[] getCategories()
valueClass
is CATEGORICAL or ORDINAL, the list of
available categories.public AIFieldRequest setMaxRecordsPerBatch(java.lang.Integer maxRecordsPerBatch)
maxRecordsPerBatch
- New maxRecordsPerBatch value. Default value is nullAIFieldRequest
instance, for chaining setter callspublic java.lang.Integer getMaxRecordsPerBatch()
public AIFieldRequest setMaxValue(java.lang.Integer maxValue)
valueClass
is INTERVAL or RATIO, the maximum value
that can be generated. If null
, then there is no maximum.maxValue
- New maxValue value. Default value is nullAIFieldRequest
instance, for chaining setter callspublic java.lang.Integer getMaxValue()
valueClass
is INTERVAL or RATIO, the maximum value
that can be generated. If null
, then there is no maximum.public AIFieldRequest setMinValue(java.lang.Integer minValue)
valueClass
is INTERVAL or RATIO, the minimum value
that can be generated. If null
, then there is no minimum.minValue
- New minValue value. Default value is nullAIFieldRequest
instance, for chaining setter callspublic java.lang.Integer getMinValue()
valueClass
is INTERVAL or RATIO, the minimum value
that can be generated. If null
, then there is no minimum.public AIFieldRequest setRelevantFieldNames(java.lang.String... relevantFieldNames)
SummarizeRecordsRequest
.relevantFieldNames
- New relevantFieldNames value. Default value is nullAIFieldRequest
instance, for chaining setter callsFieldName
public java.lang.String[] getRelevantFieldNames()
SummarizeRecordsRequest
.FieldName
public AIFieldRequest setValueClass(ValueClass valueClass)
valueClass
- New valueClass value. Default value is "general"AIFieldRequest
instance, for chaining setter callspublic ValueClass getValueClass()