Class QueryType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<QueryType>
com.azure.maps.search.models.QueryType

public final class QueryType extends com.azure.core.util.ExpandableStringEnum<QueryType>
Defines values for QueryType.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final QueryType
    Static value NON_NEAR for QueryType.
    static final QueryType
    Static value NEARBY for QueryType.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static QueryType
    Creates or finds a QueryType from its string representation.
    Gets known QueryType values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • NEARBY

      public static final QueryType NEARBY
      Static value NEARBY for QueryType.
    • GLOBAL

      public static final QueryType GLOBAL
      Static value NON_NEAR for QueryType.
  • Constructor Details

    • QueryType

      public QueryType()
  • Method Details

    • fromString

      public static QueryType fromString(String name)
      Creates or finds a QueryType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding QueryType.
    • values

      public static Collection<QueryType> values()
      Gets known QueryType values.
      Returns:
      known QueryType values.