Dela via


SearchIndexerDataSourceType Class

public final class SearchIndexerDataSourceType
extends ExpandableStringEnum<SearchIndexerDataSourceType>

Defines the type of a datasource.

Field Summary

Modifier and Type Field and Description
static final SearchIndexerDataSourceType ADLS_GEN2

Indicates an ADLS Gen2 datasource.

static final SearchIndexerDataSourceType AZURE_BLOB

Indicates an Azure Blob datasource.

static final SearchIndexerDataSourceType AZURE_SQL

Indicates an Azure SQL datasource.

static final SearchIndexerDataSourceType AZURE_TABLE

Indicates an Azure Table datasource.

static final SearchIndexerDataSourceType COSMOS_DB

Indicates a CosmosDB datasource.

static final SearchIndexerDataSourceType MY_SQL

Indicates a MySql datasource.

Constructor Summary

Constructor Description
SearchIndexerDataSourceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SearchIndexerDataSourceType value.

Method Summary

Modifier and Type Method and Description
static SearchIndexerDataSourceType fromString(String name)

Creates or finds a SearchIndexerDataSourceType from its string representation.

static Collection<SearchIndexerDataSourceType> values()

Gets known SearchIndexerDataSourceType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ADLS_GEN2

public static final SearchIndexerDataSourceType ADLS_GEN2

Indicates an ADLS Gen2 datasource.

AZURE_BLOB

public static final SearchIndexerDataSourceType AZURE_BLOB

Indicates an Azure Blob datasource.

AZURE_SQL

public static final SearchIndexerDataSourceType AZURE_SQL

Indicates an Azure SQL datasource.

AZURE_TABLE

public static final SearchIndexerDataSourceType AZURE_TABLE

Indicates an Azure Table datasource.

COSMOS_DB

public static final SearchIndexerDataSourceType COSMOS_DB

Indicates a CosmosDB datasource.

MY_SQL

public static final SearchIndexerDataSourceType MY_SQL

Indicates a MySql datasource.

Constructor Details

SearchIndexerDataSourceType

@Deprecated
public SearchIndexerDataSourceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SearchIndexerDataSourceType value.

Method Details

fromString

public static SearchIndexerDataSourceType fromString(String name)

Creates or finds a SearchIndexerDataSourceType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SearchIndexerDataSourceType.

values

public static Collection values()

Gets known SearchIndexerDataSourceType values.

Returns:

known SearchIndexerDataSourceType values.

Applies to