target.apidocs.com.google.api.services.directory.model.SchemaFieldSpec.NumericIndexingSpec.html Maven / Gradle / Ivy
SchemaFieldSpec.NumericIndexingSpec (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class SchemaFieldSpec.NumericIndexingSpec
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.SchemaFieldSpec.NumericIndexingSpec
-
- Enclosing class:
- SchemaFieldSpec
public static final class SchemaFieldSpec.NumericIndexingSpec
extends GenericJson
Indexing spec for a numeric field. By default, only exact match queries will be supported for
numeric fields. Setting the `numericIndexingSpec` allows range queries to be supported.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
NumericIndexingSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SchemaFieldSpec.NumericIndexingSpec
clone()
Double
getMaxValue()
Maximum value of this field.
Double
getMinValue()
Minimum value of this field.
SchemaFieldSpec.NumericIndexingSpec
set(String fieldName,
Object value)
SchemaFieldSpec.NumericIndexingSpec
setMaxValue(Double maxValue)
Maximum value of this field.
SchemaFieldSpec.NumericIndexingSpec
setMinValue(Double minValue)
Minimum value of this field.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getMaxValue
public Double getMaxValue()
Maximum value of this field. This is meant to be indicative rather than enforced. Values
outside this range will still be indexed, but search may not be as performant.
- Returns:
- value or
null
for none
-
setMaxValue
public SchemaFieldSpec.NumericIndexingSpec setMaxValue(Double maxValue)
Maximum value of this field. This is meant to be indicative rather than enforced. Values
outside this range will still be indexed, but search may not be as performant.
- Parameters:
maxValue
- maxValue or null
for none
-
getMinValue
public Double getMinValue()
Minimum value of this field. This is meant to be indicative rather than enforced. Values
outside this range will still be indexed, but search may not be as performant.
- Returns:
- value or
null
for none
-
setMinValue
public SchemaFieldSpec.NumericIndexingSpec setMinValue(Double minValue)
Minimum value of this field. This is meant to be indicative rather than enforced. Values
outside this range will still be indexed, but search may not be as performant.
- Parameters:
minValue
- minValue or null
for none
-
set
public SchemaFieldSpec.NumericIndexingSpec set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public SchemaFieldSpec.NumericIndexingSpec clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.