public static final class SchemaFieldSpec.NumericIndexingSpec extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
NumericIndexingSpec() |
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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Double getMaxValue()
null
for nonepublic SchemaFieldSpec.NumericIndexingSpec setMaxValue(Double maxValue)
maxValue
- maxValue or null
for nonepublic Double getMinValue()
null
for nonepublic SchemaFieldSpec.NumericIndexingSpec setMinValue(Double minValue)
minValue
- minValue or null
for nonepublic SchemaFieldSpec.NumericIndexingSpec set(String fieldName, Object value)
set
in class GenericJson
public SchemaFieldSpec.NumericIndexingSpec clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.