TextSplitMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. TextSplitMode
- com.
- com.
public final class TextSplitMode
extends ExpandableStringEnum<TextSplitMode>
A value indicating which split mode to perform.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Text |
PAGES
Split the text into individual pages. |
|
static final
Text |
SENTENCES
Split the text into individual sentences. |
Constructor Summary
| Constructor | Description |
|---|---|
| TextSplitMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Text |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Text |
fromString(String name)
Creates or finds a Text |
|
static
Collection<Text |
values()
Gets known Text |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PAGES
public static final TextSplitMode PAGES
Split the text into individual pages.
SENTENCES
public static final TextSplitMode SENTENCES
Split the text into individual sentences.
Constructor Details
TextSplitMode
@Deprecated
public TextSplitMode()
Deprecated
Creates a new instance of TextSplitMode value.
Method Details
fromString
public static TextSplitMode fromString(String name)
Creates or finds a TextSplitMode from its string representation.
Parameters:
Returns:
values
public static Collection<TextSplitMode> values()
Gets known TextSplitMode values.
Returns: