IndexProjectionMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. IndexProjectionMode
- com.
- com.
public final class IndexProjectionMode
extends ExpandableStringEnum<IndexProjectionMode>
Defines behavior of the index projections in relation to the rest of the indexer.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Index |
INCLUDE_INDEXING_PARENT_DOCUMENTS
The source document will be written into the indexer's target index. |
static final
Index |
SKIP_INDEXING_PARENT_DOCUMENTS
The source document will be skipped from writing into the indexer's target index. |
Constructor Summary
Constructor | Description |
---|---|
IndexProjectionMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Index |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Index |
fromString(String name)
Creates or finds a Index |
static
Collection<Index |
values()
Gets known Index |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
INCLUDE_INDEXING_PARENT_DOCUMENTS
public static final IndexProjectionMode INCLUDE_INDEXING_PARENT_DOCUMENTS
The source document will be written into the indexer's target index. This is the default pattern.
SKIP_INDEXING_PARENT_DOCUMENTS
public static final IndexProjectionMode SKIP_INDEXING_PARENT_DOCUMENTS
The source document will be skipped from writing into the indexer's target index.
Constructor Details
IndexProjectionMode
@Deprecated
public IndexProjectionMode()
Deprecated
Creates a new instance of IndexProjectionMode value.
Method Details
fromString
public static IndexProjectionMode fromString(String name)
Creates or finds a IndexProjectionMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known IndexProjectionMode values.
Returns:
Applies to
Azure SDK for Java