EntityQueryScenario Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<EntityQueryScenario>
      • com.microsoft.azure.cognitiveservices.search.entitysearch.models.EntityQueryScenario

public class EntityQueryScenario

Defines values for EntityQueryScenario.

Field Summary

Modifier and Type Field and Description
final EntityQueryScenario DISAMBIGUATION

Static value Disambiguation for EntityQueryScenario.

final EntityQueryScenario DOMINANT_ENTITY

Static value DominantEntity for EntityQueryScenario.

final EntityQueryScenario DOMINANT_ENTITY_WITH_DISAMBIGUATION

Static value DominantEntityWithDisambiguation for EntityQueryScenario.

final EntityQueryScenario LIST

Static value List for EntityQueryScenario.

final EntityQueryScenario LIST_WITH_PIVOT

Static value ListWithPivot for EntityQueryScenario.

Method Summary

Modifier and Type Method and Description
EntityQueryScenario fromString(String name)

Creates or finds a EntityQueryScenario from its string representation.

Collection<EntityQueryScenario> values()

Field Details

DISAMBIGUATION

public static final EntityQueryScenario DISAMBIGUATION= fromString("Disambiguation")

Static value Disambiguation for EntityQueryScenario.

DOMINANT_ENTITY

public static final EntityQueryScenario DOMINANT_ENTITY= fromString("DominantEntity")

Static value DominantEntity for EntityQueryScenario.

DOMINANT_ENTITY_WITH_DISAMBIGUATION

public static final EntityQueryScenario DOMINANT_ENTITY_WITH_DISAMBIGUATION= fromString("DominantEntityWithDisambiguation")

Static value DominantEntityWithDisambiguation for EntityQueryScenario.

LIST

public static final EntityQueryScenario LIST= fromString("List")

Static value List for EntityQueryScenario.

LIST_WITH_PIVOT

public static final EntityQueryScenario LIST_WITH_PIVOT= fromString("ListWithPivot")

Static value ListWithPivot for EntityQueryScenario.

Method Details

fromString

public static EntityQueryScenario fromString(String name)

Creates or finds a EntityQueryScenario from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding EntityQueryScenario

values

public static Collection values()

Returns:

known EntityQueryScenario values

Applies to