Class SplitSkill
- java.lang.Object
-
- com.azure.search.documents.indexes.models.SearchIndexerSkill
-
- com.azure.search.documents.indexes.models.SplitSkill
-
public final class SplitSkill extends SearchIndexerSkill
A skill to split a string into chunks of text.
-
-
Constructor Summary
Constructors Constructor Description SplitSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)
Creates an instance of SplitSkill class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SplitSkillLanguage
getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language code to use.Integer
getMaximumPageLength()
Get the maximumPageLength property: The desired maximum page length.TextSplitMode
getTextSplitMode()
Get the textSplitMode property: A value indicating which split mode to perform.SplitSkill
setDefaultLanguageCode(SplitSkillLanguage defaultLanguageCode)
Set the defaultLanguageCode property: A value indicating which language code to use.SplitSkill
setMaximumPageLength(Integer maximumPageLength)
Set the maximumPageLength property: The desired maximum page length.SplitSkill
setTextSplitMode(TextSplitMode textSplitMode)
Set the textSplitMode property: A value indicating which split mode to perform.-
Methods inherited from class com.azure.search.documents.indexes.models.SearchIndexerSkill
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setName
-
-
-
-
Constructor Detail
-
SplitSkill
public SplitSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)
Creates an instance of SplitSkill class.- Parameters:
inputs
- the inputs value to set.outputs
- the outputs value to set.
-
-
Method Detail
-
getDefaultLanguageCode
public SplitSkillLanguage getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language code to use. Default is en.- Returns:
- the defaultLanguageCode value.
-
setDefaultLanguageCode
public SplitSkill setDefaultLanguageCode(SplitSkillLanguage defaultLanguageCode)
Set the defaultLanguageCode property: A value indicating which language code to use. Default is en.- Parameters:
defaultLanguageCode
- the defaultLanguageCode value to set.- Returns:
- the SplitSkill object itself.
-
getTextSplitMode
public TextSplitMode getTextSplitMode()
Get the textSplitMode property: A value indicating which split mode to perform.- Returns:
- the textSplitMode value.
-
setTextSplitMode
public SplitSkill setTextSplitMode(TextSplitMode textSplitMode)
Set the textSplitMode property: A value indicating which split mode to perform.- Parameters:
textSplitMode
- the textSplitMode value to set.- Returns:
- the SplitSkill object itself.
-
getMaximumPageLength
public Integer getMaximumPageLength()
Get the maximumPageLength property: The desired maximum page length. Default is 10000.- Returns:
- the maximumPageLength value.
-
setMaximumPageLength
public SplitSkill setMaximumPageLength(Integer maximumPageLength)
Set the maximumPageLength property: The desired maximum page length. Default is 10000.- Parameters:
maximumPageLength
- the maximumPageLength value to set.- Returns:
- the SplitSkill object itself.
-
-