| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | |
| private final Object | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public static NaturalIdCacheKey | from(Object naturalIdValues, EntityPersister persister, String entityName, SharedSessionContractImplementor session)
|
| public static NaturalIdCacheKey | |
| public String | |
| public Object | |
| public String | |
| public int | |
| public String |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| naturalIdValues | back to summary |
|---|---|
| private final Object naturalIdValues | |
| tenantId | back to summary |
|---|---|
| private final String tenantId | |
| NaturalIdCacheKey | back to summary |
|---|---|
| public NaturalIdCacheKey(Object naturalIdValues, String entityName, String tenantId, int hashCode) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| from | back to summary |
|---|---|
| public static NaturalIdCacheKey from(Object naturalIdValues, EntityPersister persister, String entityName, SharedSessionContractImplementor session) | |
| from | back to summary |
|---|---|
| public static NaturalIdCacheKey from(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) | |
| getEntityName | back to summary |
|---|---|
public String getEntityName()
| |
| getNaturalIdValues | back to summary |
|---|---|
public Object getNaturalIdValues()
| |
| getTenantId | back to summary |
|---|---|
public String getTenantId()
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private int | |
| private int | |
| private final Object[] | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public NaturalIdCacheKey | build()
Implements org. |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| hashCode | back to summary |
|---|---|
| private int hashCode | |
| naturalIdValueIndex | back to summary |
|---|---|
| private int naturalIdValueIndex | |
| naturalIdValues | back to summary |
|---|---|
| private final Object[] naturalIdValues | |
| tenantIdentifier | back to summary |
|---|---|
| private final String tenantIdentifier | |
| NaturalIdCacheKeyBuilder | back to summary |
|---|---|
| public NaturalIdCacheKeyBuilder(String entityName, String tenantIdentifier, int naturalIdValueCount) | |
| addHashCode | back to summary |
|---|---|
| public void addHashCode(int hashCode) Implements org.
| |
| addValue | back to summary |
|---|---|
| public void addValue(Object value) Implements org.
| |
| build | back to summary |
|---|---|
| public NaturalIdCacheKey build() Implements org. Doc from org. creates an Object to be used as a key into the query results cache.
| |