azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.search.models.Geo...

186 строки
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.GeoPoint"
fullName: "com.azure.search.models.GeoPoint"
name: "GeoPoint"
nameWithType: "GeoPoint"
summary: "Representation of Geography<wbr>Point as used Azure Cognitive Search."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **GeoPoint**"
methods:
- uid: "com.azure.search.models.GeoPoint.create(double,double)"
fullName: "com.azure.search.models.GeoPoint.create(double latitude, double longitude)"
name: "create(double latitude, double longitude)"
nameWithType: "GeoPoint.create(double latitude, double longitude)"
summary: "Create Geo<wbr>Point object from latitude and longitude"
modifiers:
- "static"
parameters:
- description: "latitude value of the GeographyPoint"
name: "latitude"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- description: "longitude value of the GeographyPoint"
name: "longitude"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static GeoPoint create(double latitude, double longitude)"
desc: "Create GeoPoint object from latitude and longitude"
returns:
description: "Add desc"
type: "<xref href=\"com.azure.search.models.GeoPoint?alt=com.azure.search.models.GeoPoint&text=GeoPoint\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.create(double,double,com.azure.search.models.CoordinateSystem)"
fullName: "com.azure.search.models.GeoPoint.create(double latitude, double longitude, CoordinateSystem coordinateSystem)"
name: "create(double latitude, double longitude, CoordinateSystem coordinateSystem)"
nameWithType: "GeoPoint.create(double latitude, double longitude, CoordinateSystem coordinateSystem)"
summary: "Create Geo<wbr>Point object from latitude, longitude and coordinate system"
modifiers:
- "static"
parameters:
- description: "latitude value of the GeographyPoint"
name: "latitude"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- description: "longitude value of the GeographyPoint"
name: "longitude"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- description: "EPSG:4326 coordination system"
name: "coordinateSystem"
type: "<xref href=\"com.azure.search.models.CoordinateSystem?alt=com.azure.search.models.CoordinateSystem&text=CoordinateSystem\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static GeoPoint create(double latitude, double longitude, CoordinateSystem coordinateSystem)"
desc: "Create GeoPoint object from latitude, longitude and coordinate system"
returns:
description: "Add desc"
type: "<xref href=\"com.azure.search.models.GeoPoint?alt=com.azure.search.models.GeoPoint&text=GeoPoint\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.equals(java.lang.Object)"
fullName: "com.azure.search.models.GeoPoint.equals(Object o)"
name: "equals(Object o)"
nameWithType: "GeoPoint.equals(Object o)"
summary: "Checks equality between two Geo Points"
overridden: "java.lang.Object.equals(java.lang.Object)"
parameters:
- description: "other GeoPoint"
name: "o"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
syntax: "public boolean equals(Object o)"
desc: "Checks equality between two Geo Points"
returns:
description: "true if equal"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.getCoordinateSystem()"
fullName: "com.azure.search.models.GeoPoint.getCoordinateSystem()"
name: "getCoordinateSystem()"
nameWithType: "GeoPoint.getCoordinateSystem()"
summary: "Retrieve Geo<wbr>Point Coordinate<wbr>System"
syntax: "public CoordinateSystem getCoordinateSystem()"
desc: "Retrieve GeoPoint CoordinateSystem"
returns:
description: "CoordinateSystem"
type: "<xref href=\"com.azure.search.models.CoordinateSystem?alt=com.azure.search.models.CoordinateSystem&text=CoordinateSystem\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.getLatitude()"
fullName: "com.azure.search.models.GeoPoint.getLatitude()"
name: "getLatitude()"
nameWithType: "GeoPoint.getLatitude()"
summary: "Return latitude"
syntax: "public double getLatitude()"
desc: "Return latitude"
returns:
description: "value of latitude coordinate"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.getLongitude()"
fullName: "com.azure.search.models.GeoPoint.getLongitude()"
name: "getLongitude()"
nameWithType: "GeoPoint.getLongitude()"
summary: "Return longitude"
syntax: "public double getLongitude()"
desc: "Return longitude"
returns:
description: "value of longitude coordinate"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.getType()"
fullName: "com.azure.search.models.GeoPoint.getType()"
name: "getType()"
nameWithType: "GeoPoint.getType()"
summary: "Retrieve Geo<wbr>Point type"
syntax: "public String getType()"
desc: "Retrieve GeoPoint type"
returns:
description: "String type"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.GeoPoint.hashCode()"
fullName: "com.azure.search.models.GeoPoint.hashCode()"
name: "hashCode()"
nameWithType: "GeoPoint.hashCode()"
summary: "Returns hash code for Geo Point"
overridden: "java.lang.Object.hashCode()"
syntax: "public int hashCode()"
desc: "Returns hash code for Geo Point"
returns:
description: "int representing hash code"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.isValid()"
fullName: "com.azure.search.models.GeoPoint.isValid()"
name: "isValid()"
nameWithType: "GeoPoint.isValid()"
summary: "Ensures that the Geo<wbr>Point values are valid for the Geography Point type in Azure Cognitive Search service."
syntax: "public boolean isValid()"
desc: "Ensures that the GeoPoint values are valid for the Geography Point type in Azure Cognitive Search service."
returns:
description: "true if valid, false if invalid"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.setCoordinateSystem(com.azure.search.models.CoordinateSystem)"
fullName: "com.azure.search.models.GeoPoint.setCoordinateSystem(CoordinateSystem coordinateSystem)"
name: "setCoordinateSystem(CoordinateSystem coordinateSystem)"
nameWithType: "GeoPoint.setCoordinateSystem(CoordinateSystem coordinateSystem)"
summary: "Set Coordinate<wbr>System"
parameters:
- description: "CoordinateSystem"
name: "coordinateSystem"
type: "<xref href=\"com.azure.search.models.CoordinateSystem?alt=com.azure.search.models.CoordinateSystem&text=CoordinateSystem\" data-throw-if-not-resolved=\"False\" />"
syntax: "public GeoPoint setCoordinateSystem(CoordinateSystem coordinateSystem)"
desc: "Set CoordinateSystem"
returns:
description: "GeoPoint updated"
type: "<xref href=\"com.azure.search.models.GeoPoint?alt=com.azure.search.models.GeoPoint&text=GeoPoint\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.setCoordinates(java.util.List<java.lang.Double>)"
fullName: "com.azure.search.models.GeoPoint.setCoordinates(List<Double> coordinates)"
name: "setCoordinates(List<Double> coordinates)"
nameWithType: "GeoPoint.setCoordinates(List<Double> coordinates)"
summary: "Set coordinates"
parameters:
- description: "list of coordinates"
name: "coordinates"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>&gt;"
syntax: "public GeoPoint setCoordinates(List<Double> coordinates)"
desc: "Set coordinates"
returns:
description: "GeoPoint updated"
type: "<xref href=\"com.azure.search.models.GeoPoint?alt=com.azure.search.models.GeoPoint&text=GeoPoint\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.GeoPoint.toString()"
fullName: "com.azure.search.models.GeoPoint.toString()"
name: "toString()"
nameWithType: "GeoPoint.toString()"
summary: "Retrieve Geo<wbr>Point string representation"
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
desc: "Retrieve GeoPoint string representation"
returns:
description: "String"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "Representation of GeographyPoint as used Azure Cognitive Search."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1