azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

126 строки
8.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.SpatialSpec"
fullName: "com.azure.resourcemanager.cosmos.models.SpatialSpec"
name: "SpatialSpec"
nameWithType: "SpatialSpec"
summary: "The Spatial<wbr>Spec model."
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 **SpatialSpec**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.SpatialSpec?alt=com.azure.resourcemanager.cosmos.models.SpatialSpec&text=SpatialSpec\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.SpatialSpec.SpatialSpec()"
fullName: "com.azure.resourcemanager.cosmos.models.SpatialSpec.SpatialSpec()"
name: "SpatialSpec()"
nameWithType: "SpatialSpec.SpatialSpec()"
summary: "Creates an instance of Spatial<wbr>Spec class."
syntax: "public SpatialSpec()"
desc: "Creates an instance of SpatialSpec class."
methods:
- uid: "com.azure.resourcemanager.cosmos.models.SpatialSpec.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.cosmos.models.SpatialSpec.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SpatialSpec.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Spatial<wbr>Spec from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static SpatialSpec fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the SpatialSpec."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of SpatialSpec from the JsonReader."
returns:
description: "An instance of SpatialSpec if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SpatialSpec?alt=com.azure.resourcemanager.cosmos.models.SpatialSpec&text=SpatialSpec\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SpatialSpec.path()"
fullName: "com.azure.resourcemanager.cosmos.models.SpatialSpec.path()"
name: "path()"
nameWithType: "SpatialSpec.path()"
summary: "Get the path property: The path for which the indexing behavior applies to."
syntax: "public String path()"
desc: "Get the path property: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/\\*)."
returns:
description: "the path value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.cosmos.models.SpatialSpec.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.cosmos.models.SpatialSpec.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SpatialSpec.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SpatialSpec.types()"
fullName: "com.azure.resourcemanager.cosmos.models.SpatialSpec.types()"
name: "types()"
nameWithType: "SpatialSpec.types()"
summary: "Get the types property: List of path's spatial type."
syntax: "public List<SpatialType> types()"
desc: "Get the types property: List of path's spatial type."
returns:
description: "the types value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.SpatialType?alt=com.azure.resourcemanager.cosmos.models.SpatialType&text=SpatialType\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.cosmos.models.SpatialSpec.validate()"
fullName: "com.azure.resourcemanager.cosmos.models.SpatialSpec.validate()"
name: "validate()"
nameWithType: "SpatialSpec.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.cosmos.models.SpatialSpec.withPath(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.SpatialSpec.withPath(String path)"
name: "withPath(String path)"
nameWithType: "SpatialSpec.withPath(String path)"
summary: "Set the path property: The path for which the indexing behavior applies to."
parameters:
- description: "the path value to set."
name: "path"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public SpatialSpec withPath(String path)"
desc: "Set the path property: The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/\\*)."
returns:
description: "the SpatialSpec object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SpatialSpec?alt=com.azure.resourcemanager.cosmos.models.SpatialSpec&text=SpatialSpec\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.SpatialSpec.withTypes(java.util.List<com.azure.resourcemanager.cosmos.models.SpatialType>)"
fullName: "com.azure.resourcemanager.cosmos.models.SpatialSpec.withTypes(List<SpatialType> types)"
name: "withTypes(List<SpatialType> types)"
nameWithType: "SpatialSpec.withTypes(List<SpatialType> types)"
summary: "Set the types property: List of path's spatial type."
parameters:
- description: "the types value to set."
name: "types"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.SpatialType?alt=com.azure.resourcemanager.cosmos.models.SpatialType&text=SpatialType\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public SpatialSpec withTypes(List<SpatialType> types)"
desc: "Set the types property: List of path's spatial type."
returns:
description: "the SpatialSpec object itself."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.SpatialSpec?alt=com.azure.resourcemanager.cosmos.models.SpatialSpec&text=SpatialSpec\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The SpatialSpec model."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.SpatialSpec?alt=com.azure.resourcemanager.cosmos.models.SpatialSpec&text=SpatialSpec\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.42.0