public final class PrefixNode
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PrefixNode() |
Modifier and Type | Method and Description |
---|---|
PrefixNode |
clone() |
Boolean |
getDataSourceNode()
Whether this corresponds to a data_source name.
|
Integer |
getDepth()
The depth in the prefix hierarchy.
|
Integer |
getEndIndex()
The index of the end key bucket of the range that this node spans.
|
Integer |
getStartIndex()
The index of the start key bucket of the range that this node spans.
|
String |
getWord()
The string represented by the prefix node.
|
PrefixNode |
set(String fieldName,
Object value) |
PrefixNode |
setDataSourceNode(Boolean dataSourceNode)
Whether this corresponds to a data_source name.
|
PrefixNode |
setDepth(Integer depth)
The depth in the prefix hierarchy.
|
PrefixNode |
setEndIndex(Integer endIndex)
The index of the end key bucket of the range that this node spans.
|
PrefixNode |
setStartIndex(Integer startIndex)
The index of the start key bucket of the range that this node spans.
|
PrefixNode |
setWord(String word)
The string represented by the prefix node.
|
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 Boolean getDataSourceNode()
null
for nonepublic PrefixNode setDataSourceNode(Boolean dataSourceNode)
dataSourceNode
- dataSourceNode or null
for nonepublic Integer getDepth()
null
for nonepublic PrefixNode setDepth(Integer depth)
depth
- depth or null
for nonepublic Integer getEndIndex()
null
for nonepublic PrefixNode setEndIndex(Integer endIndex)
endIndex
- endIndex or null
for nonepublic Integer getStartIndex()
null
for nonepublic PrefixNode setStartIndex(Integer startIndex)
startIndex
- startIndex or null
for nonepublic String getWord()
null
for nonepublic PrefixNode setWord(String word)
word
- word or null
for nonepublic PrefixNode set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PrefixNode clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.