| Package | Description |
|---|---|
| org.hibernate.search.elasticsearch.gson.impl |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonAccessor.add(com.google.gson.JsonObject root,
T newValue)
Add the given primitive value to the element this accessor points to for the
given
root. |
Optional<T> |
JsonAccessor.get(com.google.gson.JsonObject root)
Get the current value of the element this accessor points to for the given
root. |
com.google.gson.JsonArray |
JsonArrayAccessorImpl.getOrCreate(com.google.gson.JsonObject root) |
com.google.gson.JsonObject |
JsonObjectAccessorImpl.getOrCreate(com.google.gson.JsonObject root) |
T |
JsonAccessor.getOrCreate(com.google.gson.JsonObject root,
Supplier<? extends T> newValueSupplier)
Get the current value of the element this accessor points to for the given
root,
creating it and setting it if it hasn't been set yet. |
void |
JsonAccessor.set(com.google.gson.JsonObject root,
T newValue)
Set the given value on the element this accessor points to for the given
root. |
Copyright © 2006–2017 Hibernate. All rights reserved.