ContentFieldType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. contentunderstanding. models. ContentFieldType
- com.
- com.
public final class ContentFieldType
extends ExpandableStringEnum<ContentFieldType>
Semantic data type of the field value.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Content |
ARRAY
List of subfields of the same type. |
|
static final
Content |
BOOLEAN
Boolean value. |
|
static final
Content |
DATE
Date, normalized to ISO 8601 (YYYY-MM-DD) format. |
|
static final
Content |
INTEGER
Integer as 64-bit signed integer. |
|
static final
Content |
JSON
JSON object. |
|
static final
Content |
NUMBER
Number as double precision floating point. |
|
static final
Content |
OBJECT
Named list of subfields. |
|
static final
Content |
STRING
Plain text. |
|
static final
Content |
TIME
Time, normalized to ISO 8601 (hh:mm:ss) format. |
Constructor Summary
| Constructor | Description |
|---|---|
| ContentFieldType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Content |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Content |
fromString(String name)
Creates or finds a Content |
|
static
Collection<Content |
values()
Gets known Content |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ARRAY
public static final ContentFieldType ARRAY
List of subfields of the same type.
BOOLEAN
public static final ContentFieldType BOOLEAN
Boolean value.
DATE
public static final ContentFieldType DATE
Date, normalized to ISO 8601 (YYYY-MM-DD) format.
INTEGER
public static final ContentFieldType INTEGER
Integer as 64-bit signed integer.
JSON
public static final ContentFieldType JSON
JSON object.
NUMBER
public static final ContentFieldType NUMBER
Number as double precision floating point.
OBJECT
public static final ContentFieldType OBJECT
Named list of subfields.
STRING
public static final ContentFieldType STRING
Plain text.
TIME
public static final ContentFieldType TIME
Time, normalized to ISO 8601 (hh:mm:ss) format.
Constructor Details
ContentFieldType
@Deprecated
public ContentFieldType()
Deprecated
Creates a new instance of ContentFieldType value.
Method Details
fromString
public static ContentFieldType fromString(String name)
Creates or finds a ContentFieldType from its string representation.
Parameters:
Returns:
values
public static Collection<ContentFieldType> values()
Gets known ContentFieldType values.
Returns: